[tor-commits] [orbot/master] more tweaks to new layout

n8fr8 at torproject.org n8fr8 at torproject.org
Fri Apr 3 17:04:04 UTC 2015


commit cf50ec14335c64c7ad035a45122805c3e08007e1
Author: Nathan Freitas <nathan at freitas.net>
Date:   Sun Feb 1 23:35:57 2015 -0500

    more tweaks to new layout
---
 res/layout/layout_main.xml |   18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/res/layout/layout_main.xml b/res/layout/layout_main.xml
index 965e599..ecf32fe 100644
--- a/res/layout/layout_main.xml
+++ b/res/layout/layout_main.xml
@@ -3,12 +3,14 @@
 <LinearLayout android:gravity="center_vertical|center_horizontal"
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical" android:layout_width="match_parent"
-      android:layout_height="match_parent">
+      android:layout_height="match_parent"
+      android:backgroundTint="@color/panel_background"
+      >
 
     <LinearLayout android:gravity="center_vertical|center_horizontal"
      android:orientation="vertical" android:layout_width="match_parent"
       android:layout_height="wrap_content"
-      android:background="#686868"
+      android:background="@color/panel_background"
       >
     		
     <!-- 
@@ -107,20 +109,26 @@
      android:orientation="horizontal" android:layout_width="match_parent"
       android:layout_height="wrap_content"
       android:padding="5dp"
-      android:background="#686868"
+            android:background="@color/panel_background"
+
       >
 
 		<Button
 		    android:id="@+id/btnBrowser"
 		    android:layout_width="wrap_content"
 		    android:layout_height="wrap_content"
-		    android:text="Open Browser" />
+		    android:text="Open Browser"
+		    android:enabled="false"
+		     />
 
 		<Button
 		    android:id="@+id/btnVPN"
 		    android:layout_width="wrap_content"
 		    android:layout_height="wrap_content"
-		    android:text="Start VPN" />
+		    android:text="Start VPN" 
+		    android:enabled="false"
+		    
+		    />
 		 
 	    </LinearLayout>
 	





More information about the tor-commits mailing list