commit a118a65776d94a58eb3dcfffedffe3c057e961c5
Author: Nathan Freitas <[email protected]>
Date:   Sun Nov 13 10:39:08 2011 -0500

    small layout tweaks for tablets
---
 res/layout-land/layout_main.xml    |   13 ++++----
 res/layout-sw720dp/layout_main.xml |   55 ++++++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+), 7 deletions(-)

diff --git a/res/layout-land/layout_main.xml b/res/layout-land/layout_main.xml
index 881191b..125f13c 100644
--- a/res/layout-land/layout_main.xml
+++ b/res/layout-land/layout_main.xml
@@ -1,9 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android";
-    android:orientation="vertical"
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
-    android:background="@drawable/bgtitanium">
+    android:background="@drawable/bgtitanium" android:orientation="vertical">
     
        <RelativeLayout android:id="@+id/layoutHeaderMain"
                android:layout_width="fill_parent"
@@ -36,17 +35,17 @@
                        android:id="@+id/imgStatus"
                         android:layout_width="fill_parent"
                         android:layout_margin="5dip"
-                       android:layout_height="fill_parent"
-                       android:layout_gravity="center_horizontal"
-                       android:src="@drawable/toroff"/>
+                       android:layout_height="wrap_content"
+                       android:layout_gravity="center_horizontal"
+                       android:src="@drawable/toroff" 
android:layout_weight=".5"/>
        
-               
         <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="50dip"
+                                               
android:layout_height="wrap_content"
+                       
                        android:textColor="#ffffff"
                         />
 
diff --git a/res/layout-sw720dp/layout_main.xml 
b/res/layout-sw720dp/layout_main.xml
new file mode 100644
index 0000000..ac19112
--- /dev/null
+++ b/res/layout-sw720dp/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>
+



_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to