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: Corrected whitespaces. Created Oct. 9, 2014, 11:39 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..9486eb34167b03477c4f198cbae77128c357afcd 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" >
-
- <TextView
- android:id="@+id/message_text"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" >
<LinearLayout
- android:layout_width="fill_parent"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:gravity="center"
- android:orientation="horizontal"
- android:paddingBottom="16dip">
+ android:orientation="vertical"
+ android:paddingTop="8dip"
+ android:paddingLeft="16dip"
+ android:paddingRight="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" />
+ <TextView
+ android:id="@+id/message_text"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" />
- <Button
- android:id="@+id/opensettings"
- android:layout_width="wrap_content"
+ <LinearLayout
+ android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:onClick="onSettings"
- android:text="@string/opensettings" />
+ 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>
+</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