Update image buttons and remove CustomButton class
[pub/Android/ownCloud.git] / res / layout / main.xml
index ca77ad9..a55cf59 100644 (file)
@@ -1,27 +1,41 @@
-<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-       android:layout_width="fill_parent" android:background="#F7F7F7"
-       android:orientation="vertical" android:layout_height="fill_parent">
-       <LinearLayout android:layout_width="fill_parent"
-               android:id="@+id/linearLayout7" android:orientation="vertical"
-               android:background="#1D2D44" android:gravity="top"
-               android:layout_gravity="center_vertical" android:layout_height="wrap_content" android:paddingTop="2pt" android:paddingBottom="2pt">
-               <ImageView android:layout_height="wrap_content"
-                       android:src="@drawable/owncloud_logo_small_white"
-                       android:layout_width="wrap_content" android:layout_gravity="center_vertical|center_horizontal"
-                       android:id="@+id/main_header_small"></ImageView>
-       </LinearLayout>
-       <LinearLayout android:layout_height="wrap_content"
-               android:id="@+id/linearLayout1" android:layout_width="fill_parent"
-               android:layout_gravity="center_horizontal" android:gravity="center_horizontal">
-               <TextView android:layout_width="wrap_content"
-                       android:layout_height="wrap_content" android:id="@+id/directory_name"
-                       android:layout_gravity="center" android:gravity="center"></TextView>
-       </LinearLayout>
-       <FrameLayout android:layout_height="fill_parent"
-    android:layout_width="fill_parent" android:id="@+id/frameLayout1">
-    <ListView android:id="@android:id/list" android:layout_width="fill_parent"
-      android:layout_height="fill_parent" android:divider="@drawable/uploader_list_separator"
-      android:dividerHeight="1dip" android:fadingEdge="none"></ListView>
-  </FrameLayout>
-</LinearLayout>
+<?xml version="1.0" encoding="utf-8"?>\r
+<!-- \r
+  ownCloud Android client application\r
+\r
+  Copyright (C) 2012  Bartek Przybylski\r
+  Copyright (C) 2012-2013 ownCloud Inc.\r
+\r
+  This program is free software: you can redistribute it and/or modify\r
+  it under the terms of the GNU General Public License version 2,\r
+  as published by the Free Software Foundation.\r
+\r
+  This program is distributed in the hope that it will be useful,\r
+  but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
+  GNU General Public License for more details.\r
+\r
+  You should have received a copy of the GNU General Public License\r
+  along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
+ -->\r
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"\r
+    android:layout_width="fill_parent"\r
+    android:layout_height="fill_parent"\r
+    android:orientation="vertical" >\r
+    \r
+    <GridView\r
+        android:id="@+id/homeScreenGrid"\r
+        android:layout_width="fill_parent"\r
+        android:layout_height="fill_parent"\r
+        android:layout_gravity="center_horizontal"\r
+        android:columnWidth="90dp"\r
+        android:gravity="center"\r
+        android:horizontalSpacing="20dp"\r
+        android:verticalSpacing="20dp"\r
+        android:layout_marginTop="20dp"\r
+        android:numColumns="2"\r
+        android:stretchMode="columnWidth" >\r
+    </GridView>\r
+\r
+    \r
+\r
+</LinearLayout>
\ No newline at end of file