Hi.
I've made a tester to reproduce the issue:
this is my layout:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="@drawable/flow_background">
<ImageView android:layout_width="fill_parent"
android:layout_height="wrap_content" android:src="@drawable/
header"
android:scaleType="fitXY" />
<TextView android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingRight="5dp"
style="@style/info_screens_title_text"
android:id="@+id/title"/>
<View android:layout_width="fill_parent"
android:layout_height="@dimen/
seperator_height"
android:background="@color/seperator_color" />
<ScrollView android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_weight="1.0" >
<LinearLayout android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:id="@+id/root">
</LinearLayout>
</ScrollView>
<View android:layout_width="fill_parent"
android:layout_height="@dimen/
seperator_height"
android:background="@color/seperator_color" />
<include layout="@layout/lower_button_compound"
android:id="@+id/booking_next_button" />
</LinearLayout>
under the scroll view root element (the LinearLayout) i add TextView
(sub title) and Linear Layout that contains 12 children all of which
are FrameLayout which is inflated from this xml:
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/
android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
style="@style/round_rect_line_style" >
<TextView android:layout_width="wrap_content"
android:layout_height="fill_parent"
style="@style/text_style_in_coupound.left"
android:id="@+id/tv_lbl"/>
<EditText android:layout_width="wrap_content"
android:layout_height="fill_parent"
style="@style/text_style_in_coupound.right.edit_text"
android:id="@+id/edit_val"
android:imeOptions="actionNext"
android:maxLength="16"/>
</FrameLayout>
i programatically inflate the previous layout and add it line after
line to create a single compound surrounded by round rectangle.
if i try to open the keyboard on item 6 when the screen is NOT
scrolled at all i get no panning on my layout! the virtual keyboard
opens up and my screen remains as is :-( as far as i know the screen
should pan to my field.
I checked with both resize and pan options of the windows options and
in both the field is totaly ignored, the screen remain as is.
Any idea of why this happens ? is it the scrollView ? i can't
rememmber reading about scrollView issues with IME...
Any help would be appreciated!
--
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