Merge "Make EditTextPreference scrollable. Bug #2549257" into froyo

This commit is contained in:
Romain Guy
2010-03-29 11:24:31 -07:00
committed by Android (Google) Code Review

View File

@@ -15,17 +15,24 @@
-->
<!-- Layout used as the dialog's content View for EditTextPreference. -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+android:id/edittext_container"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="5dip"
android:orientation="vertical">
<TextView android:id="@+android:id/message"
style="?android:attr/textAppearanceSmall"
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:overscrollMode="ifContentScrolls">
<LinearLayout
android:id="@+android:id/edittext_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="?android:attr/textColorSecondary" />
</LinearLayout>
android:padding="5dip"
android:orientation="vertical">
<TextView android:id="@+android:id/message"
style="?android:attr/textAppearanceSmall"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="?android:attr/textColorSecondary" />
</LinearLayout>
</ScrollView>