From dcbcc86353e9ed52daac87f292aece667cd0ac71 Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Tue, 12 Aug 2014 15:58:36 -0700 Subject: Updating the UI for focused state of an icon/folder. issue: 16352129 Change-Id: If2e154dba06a0648f933f9aea38898642db9fd85 --- res/drawable-hdpi/focused_bg.9.png | Bin 188 -> 0 bytes res/drawable-mdpi/focused_bg.9.png | Bin 180 -> 0 bytes res/drawable-xhdpi/focused_bg.9.png | Bin 194 -> 0 bytes res/drawable-xxhdpi/focused_bg.9.png | Bin 2884 -> 0 bytes res/drawable/focusable_view_bg.xml | 13 ++++++++++--- res/layout-land/launcher.xml | 5 +++++ res/layout-port/launcher.xml | 5 +++++ res/layout-sw720dp/launcher.xml | 5 +++++ res/layout/all_apps_button.xml | 3 +-- res/layout/application.xml | 3 +-- res/layout/apps_customize_application.xml | 3 +-- res/layout/folder_application.xml | 3 +-- res/layout/folder_icon.xml | 3 +-- res/values/colors.xml | 1 + 14 files changed, 31 insertions(+), 13 deletions(-) delete mode 100644 res/drawable-hdpi/focused_bg.9.png delete mode 100644 res/drawable-mdpi/focused_bg.9.png delete mode 100644 res/drawable-xhdpi/focused_bg.9.png delete mode 100644 res/drawable-xxhdpi/focused_bg.9.png (limited to 'res') diff --git a/res/drawable-hdpi/focused_bg.9.png b/res/drawable-hdpi/focused_bg.9.png deleted file mode 100644 index 2925ae858..000000000 Binary files a/res/drawable-hdpi/focused_bg.9.png and /dev/null differ diff --git a/res/drawable-mdpi/focused_bg.9.png b/res/drawable-mdpi/focused_bg.9.png deleted file mode 100644 index 89c29ac51..000000000 Binary files a/res/drawable-mdpi/focused_bg.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/focused_bg.9.png b/res/drawable-xhdpi/focused_bg.9.png deleted file mode 100644 index 197a26988..000000000 Binary files a/res/drawable-xhdpi/focused_bg.9.png and /dev/null differ diff --git a/res/drawable-xxhdpi/focused_bg.9.png b/res/drawable-xxhdpi/focused_bg.9.png deleted file mode 100644 index 84d3062f1..000000000 Binary files a/res/drawable-xxhdpi/focused_bg.9.png and /dev/null differ diff --git a/res/drawable/focusable_view_bg.xml b/res/drawable/focusable_view_bg.xml index 66661e28b..e156513ef 100644 --- a/res/drawable/focusable_view_bg.xml +++ b/res/drawable/focusable_view_bg.xml @@ -1,5 +1,6 @@ - - - + + + + + + + + \ No newline at end of file diff --git a/res/layout-land/launcher.xml b/res/layout-land/launcher.xml index 779160925..0af9e59aa 100644 --- a/res/layout-land/launcher.xml +++ b/res/layout-land/launcher.xml @@ -30,6 +30,11 @@ android:layout_height="match_parent" android:fitsSystemWindows="true"> + + + + + + + android:focusable="true" /> diff --git a/res/layout/application.xml b/res/layout/application.xml index e4909ddad..c21dea070 100644 --- a/res/layout/application.xml +++ b/res/layout/application.xml @@ -16,5 +16,4 @@ + android:focusable="true" /> diff --git a/res/layout/apps_customize_application.xml b/res/layout/apps_customize_application.xml index b48b9b7ac..17f4a8e15 100644 --- a/res/layout/apps_customize_application.xml +++ b/res/layout/apps_customize_application.xml @@ -20,5 +20,4 @@ style="@style/WorkspaceIcon.AppsCustomize" android:id="@+id/application_icon" - android:focusable="true" - android:background="@drawable/focusable_view_bg" /> + android:focusable="true" /> diff --git a/res/layout/folder_application.xml b/res/layout/folder_application.xml index 37dd79d37..b48b61331 100644 --- a/res/layout/folder_application.xml +++ b/res/layout/folder_application.xml @@ -16,5 +16,4 @@ + android:focusable="true" /> diff --git a/res/layout/folder_icon.xml b/res/layout/folder_icon.xml index 5147f9960..fd45d7685 100644 --- a/res/layout/folder_icon.xml +++ b/res/layout/folder_icon.xml @@ -19,8 +19,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" - android:focusable="true" - android:background="@drawable/focusable_view_bg"> + android:focusable="true" > #DA0099CC #20000000 + #80c6c5c5 #FCCC -- cgit v1.2.3