From 543450448695fb4159c3f063dfbcf76d65b2210e Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Thu, 18 Sep 2014 21:36:43 +0200 Subject: [PATCH] - renamed ImageViews - switch to 80x80px filetype icon --- res/layout-land/account_setup.xml | 2 +- res/layout/account_setup.xml | 2 +- res/layout/grid_image.xml | 95 ++-------- res/layout/grid_item.xml | 107 +++-------- res/layout/list_item.xml | 6 +- res/layout/uploader_list_item_layout.xml | 2 +- .../owncloud/android/ui/SquareLinearLayout.java | 25 +++ .../android/ui/adapter/FileListListAdapter.java | 203 ++++++++++++--------- .../android/ui/adapter/LocalFileListAdapter.java | 13 +- 9 files changed, 193 insertions(+), 262 deletions(-) create mode 100644 src/com/owncloud/android/ui/SquareLinearLayout.java diff --git a/res/layout-land/account_setup.xml b/res/layout-land/account_setup.xml index 88b1ab3c..68625efe 100644 --- a/res/layout-land/account_setup.xml +++ b/res/layout-land/account_setup.xml @@ -32,7 +32,7 @@ android:orientation="horizontal" > - - - - - - - - + android:layout_width="match_parent" + android:layout_height="wrap_content" > - + - - - - - \ No newline at end of file diff --git a/res/layout/grid_item.xml b/res/layout/grid_item.xml index 9d7d7192..4f1106aa 100644 --- a/res/layout/grid_item.xml +++ b/res/layout/grid_item.xml @@ -18,7 +18,7 @@ along with this program. If not, see . --> - - + + + + + + + - - - - - - - - - - - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/res/layout/list_item.xml b/res/layout/list_item.xml index a4113de7..ebb56666 100644 --- a/res/layout/list_item.xml +++ b/res/layout/list_item.xml @@ -31,7 +31,7 @@ android:focusableInTouchMode="false"> + android:id="@+id/thumbnail" />