[tor-commits] [orbot/master] moved layout for high-res screens

n8fr8 at torproject.org n8fr8 at torproject.org
Thu Jan 12 20:49:44 UTC 2012


commit 369b043408c5f5fdf283defeb5d6e34950262b0a
Author: Nathan Freitas <nathan at freitas.net>
Date:   Mon Jan 9 01:38:56 2012 -0500

    moved layout for high-res screens
---
 res/layout-sw720dp/layout_main.xml |   55 ------------------------------------
 res/layout-xlarge/layout_main.xml  |   55 ++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+), 55 deletions(-)

diff --git a/res/layout-sw720dp/layout_main.xml b/res/layout-sw720dp/layout_main.xml
deleted file mode 100644
index ac19112..0000000
--- a/res/layout-sw720dp/layout_main.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-    android:layout_width="fill_parent"
-    android:layout_height="fill_parent"
-    android:background="@drawable/bgtitanium" android:orientation="vertical">
-    
-    	<RelativeLayout android:id="@+id/layoutHeaderMain"
-		android:layout_width="fill_parent"
-		android:layout_height="30dp"
-		android:layout_gravity="center_horizontal"
-		android:background="#A0909090">
-        <ImageView android:id="@+id/radioModeImage"
- 		    android:layout_width="wrap_content"
-		    android:layout_height="wrap_content"
-			android:layout_marginTop="3px"
-			android:layout_marginRight="3px"
-			android:gravity="right"
-			android:layout_toRightOf="@+id/radioModeLabel"
-			android:layout_alignParentRight="true"
-			android:layout_alignParentTop="true"
-			android:src="@drawable/tor25"
-			/>
-		<TextView android:id="@+id/radioModeText"
- 		    android:layout_width="wrap_content"
-		    android:layout_height="wrap_content"           
-            android:text="powered by The Tor Project  "
-			android:layout_marginTop="8px"
-			android:layout_marginRight="0px"
-			android:gravity="right"
-			android:layout_toLeftOf="@+id/radioModeImage"
-            android:textColor="#cccccc" />
-	</RelativeLayout>
-        
-			<ImageView
-			android:id="@+id/imgStatus"
-			 android:layout_width="fill_parent"
-			 android:layout_margin="15dip"
- 			android:layout_height="400dp"
-			android:layout_gravity="center_horizontal"
-			android:src="@drawable/toroff" android:layout_weight="1"/>
-	
-        <TextView android:id="@+id/lblStatus"
-			android:text="@string/press_to_start"
-			android:layout_gravity="center_horizontal"
-			android:textStyle="bold"
-			android:layout_width="wrap_content"
-			 			android:layout_height="wrap_content"
-			
-			android:textColor="#ffffff"
-			 />
-
-
-       
-</LinearLayout>
-
diff --git a/res/layout-xlarge/layout_main.xml b/res/layout-xlarge/layout_main.xml
new file mode 100644
index 0000000..ac19112
--- /dev/null
+++ b/res/layout-xlarge/layout_main.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    android:layout_width="fill_parent"
+    android:layout_height="fill_parent"
+    android:background="@drawable/bgtitanium" android:orientation="vertical">
+    
+    	<RelativeLayout android:id="@+id/layoutHeaderMain"
+		android:layout_width="fill_parent"
+		android:layout_height="30dp"
+		android:layout_gravity="center_horizontal"
+		android:background="#A0909090">
+        <ImageView android:id="@+id/radioModeImage"
+ 		    android:layout_width="wrap_content"
+		    android:layout_height="wrap_content"
+			android:layout_marginTop="3px"
+			android:layout_marginRight="3px"
+			android:gravity="right"
+			android:layout_toRightOf="@+id/radioModeLabel"
+			android:layout_alignParentRight="true"
+			android:layout_alignParentTop="true"
+			android:src="@drawable/tor25"
+			/>
+		<TextView android:id="@+id/radioModeText"
+ 		    android:layout_width="wrap_content"
+		    android:layout_height="wrap_content"           
+            android:text="powered by The Tor Project  "
+			android:layout_marginTop="8px"
+			android:layout_marginRight="0px"
+			android:gravity="right"
+			android:layout_toLeftOf="@+id/radioModeImage"
+            android:textColor="#cccccc" />
+	</RelativeLayout>
+        
+			<ImageView
+			android:id="@+id/imgStatus"
+			 android:layout_width="fill_parent"
+			 android:layout_margin="15dip"
+ 			android:layout_height="400dp"
+			android:layout_gravity="center_horizontal"
+			android:src="@drawable/toroff" android:layout_weight="1"/>
+	
+        <TextView android:id="@+id/lblStatus"
+			android:text="@string/press_to_start"
+			android:layout_gravity="center_horizontal"
+			android:textStyle="bold"
+			android:layout_width="wrap_content"
+			 			android:layout_height="wrap_content"
+			
+			android:textColor="#ffffff"
+			 />
+
+
+       
+</LinearLayout>
+





More information about the tor-commits mailing list