Hello All,
I have an application which has the main layout(main.xml)  as given
below.

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:id="@+id/main"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
   >
<TextView android:layout_alignParentTop="true" android:id="@+id/
txtView1"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:text="@string/hello"
    />
<TextView android:layout_width="fill_parent"  android:gravity="bottom"
android:id="@+id/txtView2"
        android:layout_alignParentBottom="true"
    android:layout_height="wrap_content"
    android:text="Is this appearing @ bottom?"/>

  <LinearLayout android:layout_width="wrap_content"
android:layout_height="wrap_content"    android:layout_below="@id/
txtView1"
        android:layout_alignParentBottom="true"
android:orientation="vertical">
        <TextView android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="Check this m i hanging one two three four five six
"/>

        <TextView android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="Check this m i hanging2 seven eight nine ten"/>

        <TextView android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="Check this m i hanging3 one two three four five six
"/>

        <TextView android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="Check this m i hanging4 seven eight nine ten"/>

        <TextView android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="Check this m i hanging5 one two three four five six
"/>

        <TextView android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="Check this m i hanging6 seven eight nine ten"/>
        <TextView android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="7 Seven"/>

        <TextView android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="8 Eight"/>

  </LinearLayout>

</RelativeLayout>

i have an Activity which uses the above layout to set its content
View. This Activity is configured in the Manifest file to have
android:windowSoftInputMode="adjustResize". Now when i am in Portrait
mode the softkeyboard pops-up and the text "Is this appearing @
bottom?" (ie) the textView (android:id="@+id/txtView2") appears just
above the softkeyboard with the other text overwritten over it as they
fall from top to bottom.

Now when i flip the phone to landscape mode this behaviour is changed
and it behaves as defined in property "adjustUnspecified" . Is this a
bug? How can i have "adjustResize" behaviour in landscape mode? What
is the workaround in this scenario?

I have already read the post
http://groups.google.com/group/android-developers/browse_thread/thread/da0d2eff53a7b55/e018c53962cacd7b?lnk=gst&q=adjustResize+in+landscape#e018c53962cacd7b
and the screen doesn't move to full-screen as i have only a Text View.
(I have a specific requirement to have it that way). FYI i use the
default IME and using Android 2.1 on a HTC phone with no external
keyboard.

Regards
V. Ramkumar.


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to