From fd6c969c8cb814a49582b94be9483ae45ba5b66c Mon Sep 17 00:00:00 2001 From: Joe Onorato Date: Mon, 5 Apr 2010 16:16:15 -0500 Subject: [PATCH] Redo the look of the recent apps switcher Change-Id: I913c3f68f487e7ccf20a014c26ab85119e991484 --- core/res/res/color/secondary_text_nofocus.xml | 20 ++++++++++++++ .../recent_dialog_background.9.png | Bin 0 -> 352 bytes .../recent_dialog_background.9.png | Bin 0 -> 314 bytes .../res/drawable/btn_application_selector.xml | 26 ------------------ core/res/res/layout/recent_apps_dialog.xml | 24 +++++++++++----- core/res/res/layout/recent_apps_icon.xml | 11 ++++---- core/res/res/values/styles.xml | 4 +-- core/res/res/values/themes.xml | 4 +++ 8 files changed, 49 insertions(+), 40 deletions(-) create mode 100644 core/res/res/color/secondary_text_nofocus.xml create mode 100644 core/res/res/drawable-hdpi/recent_dialog_background.9.png create mode 100644 core/res/res/drawable-mdpi/recent_dialog_background.9.png delete mode 100644 core/res/res/drawable/btn_application_selector.xml diff --git a/core/res/res/color/secondary_text_nofocus.xml b/core/res/res/color/secondary_text_nofocus.xml new file mode 100644 index 0000000000000..b6cbfb559a167 --- /dev/null +++ b/core/res/res/color/secondary_text_nofocus.xml @@ -0,0 +1,20 @@ + + + + + + + diff --git a/core/res/res/drawable-hdpi/recent_dialog_background.9.png b/core/res/res/drawable-hdpi/recent_dialog_background.9.png new file mode 100644 index 0000000000000000000000000000000000000000..bebcc40cab7580f4ebb31f964faa9b35b8588b0e GIT binary patch literal 352 zcmeAS@N?(olHy`uVBq!ia0vp^%nS^SlQ`IbEVb0?w?K-e*vT`50|;t3QaXTq&H|6f zVg?3oArNM~bhqvgP*9}AHKN41C^fMpGe1uuBr`Xa!9?F!-_XD-L1;Fyx1l&avCS(I9yUzA;};2dniw(0T$pt@b2E{-7)t#4=C=4vqzaQ6T6KmXpF z(^_0&ZE@Sye)Vjc?0jpcnBZ-OZM}6&4ZIGM_%_;?FANIwk=8jk$8mRw;)|F4e$!*` z34DICpt&KTDf7b7wfPHjgt++}^0lxpR>#zy2{^z=H;d4A9@DOh@t#d7uyfxQ=gsN25o`9J5cq~zZQmcQ@s r9n?FqtNQOHtqW2|cK&V6XwYZha6v?L(KKtIFBm*s{an^LB{Ts5tmKD_ literal 0 HcmV?d00001 diff --git a/core/res/res/drawable-mdpi/recent_dialog_background.9.png b/core/res/res/drawable-mdpi/recent_dialog_background.9.png new file mode 100644 index 0000000000000000000000000000000000000000..18ed3ff749ecf3bdde23cde713c1e38968acbf1f GIT binary patch literal 314 zcmeAS@N?(olHy`uVBq!ia0vp^%nS^SY#eMr)`Cg;JAf2Rv6E*A2N2Y7q;vrJoCO|{ z#S9GGLLkg|>2BR0prA~NYeY$Kep*R+Vo@rCV@iHfs)Ac)QEGX9QFgI{bFc~9rppU} z>O?^5oQqNuOEUBG6hbm{QyEP3P4x{8lDU-3fbvs3T^vI^I-gEG$alzq$9ewg|Njlo z#3bBGoa!`X;z7TuqSyUig&j3($XzVXkig&}rCqUpw}auWlPte{^Esn72<1Faxx_vz zjp-fxf3x$hj?aF5pW*dM{Mk)vg!6Rgvgl_1@wXySWt$V(pY+l{v zM>R=PZ#{|fiRSxgwM_TqS^0#w#q+%7cRWvLdB@<-+CBBRcUdSq(0vS^u6{1-oD!M< D?KN_W literal 0 HcmV?d00001 diff --git a/core/res/res/drawable/btn_application_selector.xml b/core/res/res/drawable/btn_application_selector.xml deleted file mode 100644 index 5575b85975328..0000000000000 --- a/core/res/res/drawable/btn_application_selector.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - diff --git a/core/res/res/layout/recent_apps_dialog.xml b/core/res/res/layout/recent_apps_dialog.xml index 4e416e13a9d85..6bacc5869cdfa 100644 --- a/core/res/res/layout/recent_apps_dialog.xml +++ b/core/res/res/layout/recent_apps_dialog.xml @@ -17,17 +17,19 @@ */ --> - + + @@ -59,7 +65,7 @@ @@ -75,5 +81,9 @@ layout="@android:layout/recent_apps_icon" android:id="@+id/button6" /> + + - \ No newline at end of file + diff --git a/core/res/res/layout/recent_apps_icon.xml b/core/res/res/layout/recent_apps_icon.xml index d32643cb15ddf..f73aec35580e6 100644 --- a/core/res/res/layout/recent_apps_icon.xml +++ b/core/res/res/layout/recent_apps_icon.xml @@ -22,11 +22,12 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/label" style="?android:attr/buttonStyle" - android:background="@drawable/btn_application_selector" - android:layout_width="87dip" - android:layout_height="88dip" - android:layout_margin="3dip" - android:textColor="@color/primary_text_dark_focused" + android:background="#00000000" + android:layout_width="80dip" + android:layout_height="wrap_content" + android:layout_marginTop="3dip" + android:layout_marginBottom="3dip" + android:textColor="@color/bright_foreground_dark" android:paddingTop="5dip" android:paddingBottom="2dip" diff --git a/core/res/res/values/styles.xml b/core/res/res/values/styles.xml index 128766975fd0c..b5fff968f9d1e 100644 --- a/core/res/res/values/styles.xml +++ b/core/res/res/values/styles.xml @@ -181,8 +181,8 @@ diff --git a/core/res/res/values/themes.xml b/core/res/res/values/themes.xml index 6dae8b80269c9..d585d9e11f636 100644 --- a/core/res/res/values/themes.xml +++ b/core/res/res/values/themes.xml @@ -516,6 +516,10 @@