[tor-commits] [orbot/master] add version display to sidebar

n8fr8 at torproject.org n8fr8 at torproject.org
Wed Mar 22 17:28:35 UTC 2017


commit 301ef3948ef33bb41efd6464ce0f76dbd5a4bbbd
Author: Nathan Freitas <nathan at freitas.net>
Date:   Wed Mar 22 12:46:48 2017 -0400

    add version display to sidebar
---
 app/src/main/res/layout/layout_orbot_control.xml | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/app/src/main/res/layout/layout_orbot_control.xml b/app/src/main/res/layout/layout_orbot_control.xml
index f7d15d8..bfe50cd 100644
--- a/app/src/main/res/layout/layout_orbot_control.xml
+++ b/app/src/main/res/layout/layout_orbot_control.xml
@@ -107,7 +107,24 @@
                 />
         </RelativeLayout>
 
-
+        <RelativeLayout
+            android:layout_width="fill_parent"
+            android:layout_height="wrap_content"
+            android:paddingLeft="3sp"
+            android:paddingRight="3sp"
+            android:paddingBottom="3sp"
+            android:layout_margin="12dp"
+            >
+        <TextView
+            android:id="@+id/torInfo"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_alignParentLeft="true"
+            android:text=""
+            android:textSize="15sp"
+            android:gravity="center_vertical"
+            android:fontFamily="sans-serif-light" />
+            </RelativeLayout>
 
     </LinearLayout>
 





More information about the tor-commits mailing list