[tor-commits] [snowflake-mobile/master] Re-arranged Views in main fragment

cohosh at torproject.org cohosh at torproject.org
Mon Aug 10 16:49:27 UTC 2020


commit 15c7703ad0671a6c0d0bb96fa2c6839c8f622edc
Author: Hashik Donthineni <HashikDonthineni at gmail.com>
Date:   Thu Aug 6 19:29:03 2020 +0530

    Re-arranged Views in main fragment
---
 app/src/main/res/layout/fragment_main.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app/src/main/res/layout/fragment_main.xml b/app/src/main/res/layout/fragment_main.xml
index 161ecd0..2c7cc48 100644
--- a/app/src/main/res/layout/fragment_main.xml
+++ b/app/src/main/res/layout/fragment_main.xml
@@ -24,7 +24,8 @@
         android:id="@+id/snowflake_logo"
         android:layout_width="200dp"
         android:layout_height="200dp"
-        android:layout_centerInParent="true"
+        android:layout_centerHorizontal="true"
+        android:layout_marginTop="150dp"
         android:src="@drawable/ic_status_on" />
 
     <TextView
@@ -33,6 +34,7 @@
         android:layout_height="wrap_content"
         android:layout_below="@id/snowflake_logo"
         android:layout_centerHorizontal="true"
+        android:layout_marginTop="10dp"
         android:fontFamily="@font/source_code_pro"
         android:gravity="center"
         android:paddingLeft="50dp"





More information about the tor-commits mailing list