From ffd1eaea0b78df32f0bf7d4e4c691dd3dd57290e Mon Sep 17 00:00:00 2001 From: Luis Vidal Date: Wed, 23 Dec 2015 22:17:38 -0600 Subject: Show lock screen wallpapers & live lock screens in the same selector Change-Id: I86e016d139da4adcec3191d982968b7a37f48c19 --- res/drawable/ribbon_live_lock_screen.xml | 33 +++++++++++++++++ res/layout/fragment_pager_list.xml | 3 -- res/layout/live_lock_component_selection_item.xml | 35 ------------------ res/layout/live_lock_screen_card.xml | 43 ----------------------- res/layout/wallpaper_component_selection_item.xml | 9 ++++- res/values/dimens.xml | 3 -- res/values/ids.xml | 1 + res/values/integers.xml | 1 - 8 files changed, 42 insertions(+), 86 deletions(-) create mode 100644 res/drawable/ribbon_live_lock_screen.xml delete mode 100644 res/layout/live_lock_component_selection_item.xml delete mode 100644 res/layout/live_lock_screen_card.xml (limited to 'res') diff --git a/res/drawable/ribbon_live_lock_screen.xml b/res/drawable/ribbon_live_lock_screen.xml new file mode 100644 index 0000000..175e123 --- /dev/null +++ b/res/drawable/ribbon_live_lock_screen.xml @@ -0,0 +1,33 @@ + + + + + + + diff --git a/res/layout/fragment_pager_list.xml b/res/layout/fragment_pager_list.xml index 9a635b4..ff76c80 100644 --- a/res/layout/fragment_pager_list.xml +++ b/res/layout/fragment_pager_list.xml @@ -174,9 +174,6 @@ /> - - diff --git a/res/layout/live_lock_component_selection_item.xml b/res/layout/live_lock_component_selection_item.xml deleted file mode 100644 index d9414ba..0000000 --- a/res/layout/live_lock_component_selection_item.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/res/layout/live_lock_screen_card.xml b/res/layout/live_lock_screen_card.xml deleted file mode 100644 index 33cd847..0000000 --- a/res/layout/live_lock_screen_card.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - diff --git a/res/layout/wallpaper_component_selection_item.xml b/res/layout/wallpaper_component_selection_item.xml index 3fa99a9..365221e 100644 --- a/res/layout/wallpaper_component_selection_item.xml +++ b/res/layout/wallpaper_component_selection_item.xml @@ -18,11 +18,18 @@ android:id="@+id/icon" android:layout_width="match_parent" android:layout_height="match_parent" - android:scaleType="fitCenter"/> + android:scaleType="centerCrop"/> + 80dp 112dp 203dp - 203dp 120dp 48dp @dimen/component_selection_content_width 80dp 142dp - 80dp - 142dp 12dp 4dp diff --git a/res/values/ids.xml b/res/values/ids.xml index e191df6..0e6acd1 100644 --- a/res/values/ids.xml +++ b/res/values/ids.xml @@ -4,4 +4,5 @@ + \ No newline at end of file diff --git a/res/values/integers.xml b/res/values/integers.xml index 30146dd..b2d17f3 100644 --- a/res/values/integers.xml +++ b/res/values/integers.xml @@ -5,5 +5,4 @@ 4 3 - 3 \ No newline at end of file -- cgit v1.1