[tor-commits] [orbot/master] put short status display back on main screen

n8fr8 at torproject.org n8fr8 at torproject.org
Thu Mar 2 04:10:20 UTC 2017


commit d09c2b59b4337eb799365423a8321a1222ccfb1d
Author: Nathan Freitas <nathan at freitas.net>
Date:   Wed Nov 16 07:52:06 2016 -0500

    put short status display back on main screen
---
 app/src/main/res/layout/layout_main.xml          | 15 ++++++++++++++-
 app/src/main/res/layout/layout_orbot_control.xml | 12 +-----------
 2 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/app/src/main/res/layout/layout_main.xml b/app/src/main/res/layout/layout_main.xml
index ab566ec..5edfc32 100644
--- a/app/src/main/res/layout/layout_main.xml
+++ b/app/src/main/res/layout/layout_main.xml
@@ -78,7 +78,20 @@
     </LinearLayout>
 
 
-
+	<TextView
+		android:id="@+id/lblStatus"
+		android:layout_width="match_parent"
+		android:layout_height="wrap_content"
+		android:textSize="14sp"
+		android:fontFamily="sans-serif-light"
+		android:text=""
+		android:lines="1"
+		android:maxLines="1"
+		android:layout_margin="12dp"
+		android:layout_alignParentBottom="true"
+		android:gravity="center"
+		android:ellipsize="end"
+		/>
 
 	    </RelativeLayout>
 
diff --git a/app/src/main/res/layout/layout_orbot_control.xml b/app/src/main/res/layout/layout_orbot_control.xml
index 870eda4..f7d15d8 100644
--- a/app/src/main/res/layout/layout_orbot_control.xml
+++ b/app/src/main/res/layout/layout_orbot_control.xml
@@ -107,17 +107,7 @@
                 />
         </RelativeLayout>
 
-        <TextView
-            android:id="@+id/lblStatus"
-            android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:textSize="14sp"
-            android:fontFamily="sans-serif-light"
-            android:text=""
-            android:lines="2"
-            android:maxLines="2"
-            android:layout_margin="12dp"
-            />
+
 
     </LinearLayout>
 





More information about the tor-commits mailing list