[tor-commits] [orbot/master] make browser and VPN buttons enabed by default

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


commit 46aa51f4f884ad766b1b555dde2cee01188886aa
Author: Nathan Freitas <nathan at freitas.net>
Date:   Mon Feb 2 16:19:12 2015 -0500

    make browser and VPN buttons enabed by default
---
 res/layout/layout_main.xml |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/res/layout/layout_main.xml b/res/layout/layout_main.xml
index 31ac710..ae04937 100644
--- a/res/layout/layout_main.xml
+++ b/res/layout/layout_main.xml
@@ -143,13 +143,14 @@
 			android:textColor="@android:color/white"
 			android:layout_width="wrap_content"
 			android:layout_height="wrap_content"
-			android:textSize="20sp"
+			android:textSize="14sp"
 			android:gravity="center_vertical"
 			android:fontFamily="sans-serif-light"
-			android:text="                         "
+			android:text="status"
 			android:background="#aa333333"
-					android:layout_gravity="center_horizontal|center_vertical"
-			android:layout_marginBottom="30dp"
+					android:layout_gravity="center_horizontal|bottom"
+			android:layout_margin="10dp"
+			
 			 />
 		
        </FrameLayout>
@@ -167,7 +168,6 @@
 			    android:layout_width="wrap_content"
 			    android:layout_height="wrap_content"
 			    android:text="Open Browser"
-			    android:enabled="false"
 			     />
 	
 			<Button
@@ -175,7 +175,6 @@
 			    android:layout_width="wrap_content"
 			    android:layout_height="wrap_content"
 			    android:text="Start VPN" 
-			    android:enabled="false"
 			    
 			    />
 			 





More information about the tor-commits mailing list