A button in the master clear information screen was partly hidden.

The master reset button was partially hidden in landscape mode.
This change nests the current layout in a ScrollView making the
layout scrollable.

Change-Id: I2f7b8a222e3a25930b134314640b1c765b964254
This commit is contained in:
Henrik Tuszynski
2010-05-12 08:44:09 +02:00
committed by Johan Redestig
parent a7ece710fe
commit de6007cbf8

View File

@@ -17,23 +17,27 @@
** limitations under the License. ** limitations under the License.
*/ */
--> -->
<LinearLayout <LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/info_layout"> style="@style/info_layout">
<TextView <ScrollView
android:layout_width="wrap_content" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="0dip"
android:textSize="18sp" android:layout_weight="1">
android:text="@string/master_clear_desc" /> <TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="18sp"
android:text="@string/master_clear_desc" />
</ScrollView>
<Button
android:id="@+id/initiate_master_clear"
android:layout_gravity="center_horizontal"
android:layout_marginTop="20dip"
android:layout_width="150dip"
android:layout_height="wrap_content"
android:text="@string/master_clear_button_text"
android:gravity="center" />
<Button android:id="@+id/initiate_master_clear"
android:layout_gravity="center_horizontal"
android:layout_marginTop="40dip"
android:layout_width="150dip"
android:layout_height="wrap_content"
android:text="@string/master_clear_button_text"
android:gravity="center" />
</LinearLayout> </LinearLayout>