[tor-commits] [orbot/master] tweaked layout for smaller screens

n8fr8 at torproject.org n8fr8 at torproject.org
Thu Jun 28 05:18:41 UTC 2012


commit fea2a586e87ab0fecc4e87330d59f1c1024e6d2c
Author: n8fr8 <nathan at freitas.net>
Date:   Thu Jun 28 00:46:54 2012 -0400

    tweaked layout for smaller screens
---
 res/layout/layout_main.xml |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/res/layout/layout_main.xml b/res/layout/layout_main.xml
index b4d06d3..36ba9a7 100644
--- a/res/layout/layout_main.xml
+++ b/res/layout/layout_main.xml
@@ -40,10 +40,10 @@
     	
        <ImageView
 		android:id="@+id/imgStatus"
-				    android:layout_marginTop="55dip"
-
 		android:layout_width="fill_parent"
-		android:layout_height="fill_parent"
+		android:layout_height="0dp"
+		android:layout_marginTop="40dp"
+		android:layout_weight="1"
 		android:src="@drawable/toroff"
 		android:layout_gravity="center_horizontal" />
 		
@@ -52,7 +52,8 @@
 		android:gravity="center_horizontal"
 		android:textStyle="bold"
 		android:layout_width="fill_parent"
-		android:layout_height="60dip"
+		android:layout_height="wrap_content"
+		
 		android:textColor="#ffffff"
 		android:layout_below="@id/imgStatus"
 		 />



More information about the tor-commits mailing list