Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: res/layout/proxyconfiguration.xml

Issue 5315949582352384: Issue 721 - Button disappears when switching to landscape mode (Closed)
Patch Set: Created Oct. 9, 2014, 10:13 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: res/layout/proxyconfiguration.xml
diff --git a/res/layout/proxyconfiguration.xml b/res/layout/proxyconfiguration.xml
index e345ff98543e8037697cf872ac850c26fad9e482..59d54179e05610d49f314d42a34784ee314565ed 100644
--- a/res/layout/proxyconfiguration.xml
+++ b/res/layout/proxyconfiguration.xml
@@ -1,38 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:paddingTop="8dip"
- android:paddingLeft="16dip"
- android:paddingRight="16dip" >
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" >
- <TextView
- android:id="@+id/message_text"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingTop="8dip"
+ android:paddingLeft="16dip"
+ android:paddingRight="16dip" >
+
+ <TextView
+ android:id="@+id/message_text"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" />
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:orientation="horizontal"
+ android:paddingBottom="16dip">
+
+ <Button
+ android:id="@+id/gotit"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:onClick="onGotit"
+ android:paddingRight="8dip"
+ android:text="@string/gotit" />
+
+ <Button
+ android:id="@+id/opensettings"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:onClick="onSettings"
+ android:text="@string/opensettings" />
+ </LinearLayout>
+
+ </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:orientation="horizontal"
- android:paddingBottom="16dip">
-
- <Button
- android:id="@+id/gotit"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:onClick="onGotit"
- android:paddingRight="8dip"
- android:text="@string/gotit" />
-
- <Button
- android:id="@+id/opensettings"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:onClick="onSettings"
- android:text="@string/opensettings" />
- </LinearLayout>
-
-</LinearLayout>
+</ScrollView>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld