[tor-commits] [orbot/master] centered app selection GridView in VPN UI

n8fr8 at torproject.org n8fr8 at torproject.org
Sat May 12 04:50:44 UTC 2018


commit e3f9397aceb8ed74b0b29af40682b7433ca32969
Author: lexi <bird.s.lex at gmail.com>
Date:   Mon Feb 26 13:45:46 2018 -0500

    centered app selection GridView in VPN UI
---
 app/src/main/res/layout/layout_apps.xml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/app/src/main/res/layout/layout_apps.xml b/app/src/main/res/layout/layout_apps.xml
index ac967fe3..b04887e1 100644
--- a/app/src/main/res/layout/layout_apps.xml
+++ b/app/src/main/res/layout/layout_apps.xml
@@ -1,17 +1,17 @@
 <?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    xmlns:android="http://schemas.android.com/apk/res/android"
     android:duplicateParentState="true">
 
-     <GridView
+    <GridView
         android:id="@+id/applistview"
         android:layout_width="match_parent"
         android:layout_height="match_parent"
-        android:numColumns="4"
-        android:layout_alignParentTop="true" >
+        android:layout_alignParentTop="true"
+        android:gravity="center"
+        android:numColumns="4">
 
     </GridView>
 
-</RelativeLayout>
\ No newline at end of file
+</FrameLayout>
\ No newline at end of file





More information about the tor-commits mailing list