]> Pileus Git - ~andy/freeotp/blobdiff - res/layout/main.xml
Tablet UI rewrite
[~andy/freeotp] / res / layout / main.xml
index 5f20ec399a6bc6ecdaf692990d1cde67d199f1dc..a1770ae309df4af2be0fcd0e7299e4345b3169eb 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- 
+<!--
    - FreeOTP
    -
    - Authors: Nathaniel McCallum <npmccallum@redhat.com>
         android:text="@string/no_keys"
         />
 
-    <ListView
-        android:id="@android:id/list"
-        android:layout_width="match_parent"
+       <GridView
+           android:id="@+id/grid"
+           android:layout_width="match_parent"
         android:layout_height="0dp"
         android:layout_weight="1"
-        android:drawSelectorOnTop="false"
-        />
+           android:columnWidth="250dp"
+           android:gravity="center"
+           android:horizontalSpacing="8dp"
+           android:numColumns="auto_fit"
+           android:padding="8dp"
+           android:stretchMode="columnWidth"
+           android:verticalSpacing="8dp"
+           android:background="#E5E5E5"
+           />
 </LinearLayout>
\ No newline at end of file