From cf5ed38aa2476051908030fc210faede5d60567a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 15 Oct 2012 13:27:34 +0400 Subject: use shadow on thumbnails --- res/drawable/border.xml | 24 +++++++++++---- res/layout-sw600dp/comics_grid_row.xml | 15 ++++----- res/layout-sw600dp/comics_list_row.xml | 56 ---------------------------------- res/layout/comics_grid_row.xml | 17 ++++++----- res/layout/comics_list_row.xml | 1 + 5 files changed, 36 insertions(+), 77 deletions(-) delete mode 100644 res/layout-sw600dp/comics_list_row.xml (limited to 'res') diff --git a/res/drawable/border.xml b/res/drawable/border.xml index 458a70d..8f6ad03 100644 --- a/res/drawable/border.xml +++ b/res/drawable/border.xml @@ -1,7 +1,19 @@ - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout-sw600dp/comics_grid_row.xml b/res/layout-sw600dp/comics_grid_row.xml index 8a7f909..0b1a666 100644 --- a/res/layout-sw600dp/comics_grid_row.xml +++ b/res/layout-sw600dp/comics_grid_row.xml @@ -12,6 +12,7 @@ android:id="@+id/thumbnail" android:layout_width="160dp" android:layout_height="160dp" + android:padding="8dp" android:layout_gravity="center_horizontal" android:layout_weight="0" android:background="@drawable/border" @@ -32,6 +33,13 @@ android:layout_height="wrap_content" android:layout_weight="1" android:text="Comic_1980.cbz" /> + + - - \ No newline at end of file diff --git a/res/layout-sw600dp/comics_list_row.xml b/res/layout-sw600dp/comics_list_row.xml deleted file mode 100644 index 029a972..0000000 --- a/res/layout-sw600dp/comics_list_row.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/res/layout/comics_grid_row.xml b/res/layout/comics_grid_row.xml index d5a54f2..748d123 100644 --- a/res/layout/comics_grid_row.xml +++ b/res/layout/comics_grid_row.xml @@ -7,9 +7,10 @@ android:gravity="center_vertical" android:orientation="vertical" android:padding="4dp" > - + + + - - \ No newline at end of file diff --git a/res/layout/comics_list_row.xml b/res/layout/comics_list_row.xml index dd4f09e..1b83d27 100644 --- a/res/layout/comics_list_row.xml +++ b/res/layout/comics_list_row.xml @@ -9,6 +9,7 @@