diff options
author | Winson Chung <winsonc@google.com> | 2010-11-29 17:15:47 -0800 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2010-12-01 21:55:26 -0800 |
commit | 656d11c882296d732e6bdab30ec26f84b99eba19 (patch) | |
tree | 71307ef1efb0655cbb1c3b3973cafbbe5e6e478c /res | |
parent | f28958bc003177cc98ed9bde62f412811784ec14 (diff) | |
download | android_packages_apps_Trebuchet-656d11c882296d732e6bdab30ec26f84b99eba19.tar.gz android_packages_apps_Trebuchet-656d11c882296d732e6bdab30ec26f84b99eba19.tar.bz2 android_packages_apps_Trebuchet-656d11c882296d732e6bdab30ec26f84b99eba19.zip |
Adding background protection to icons and apps button.
Change-Id: I650f9135c0ce5bc2a6f7c5f878d470d6a85e9f7e
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable/shortcut_selector.xml | 4 | ||||
-rw-r--r-- | res/layout-xlarge-land/application.xml | 2 | ||||
-rw-r--r-- | res/layout-xlarge-land/launcher.xml | 8 | ||||
-rw-r--r-- | res/layout-xlarge-port/launcher.xml | 6 | ||||
-rw-r--r-- | res/values-xlarge/config.xml | 4 | ||||
-rw-r--r-- | res/values-xlarge/styles.xml | 5 | ||||
-rw-r--r-- | res/values/colors.xml | 2 | ||||
-rw-r--r-- | res/values/styles.xml | 2 |
8 files changed, 23 insertions, 10 deletions
diff --git a/res/drawable/shortcut_selector.xml b/res/drawable/shortcut_selector.xml index 884bccffe..8059f0086 100644 --- a/res/drawable/shortcut_selector.xml +++ b/res/drawable/shortcut_selector.xml @@ -19,7 +19,7 @@ --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_pressed="true" android:drawable="@drawable/pressed_application_background" /> <item android:state_window_focused="true" android:state_focused="true" android:drawable="@drawable/focused_application_background" /> - <item android:state_window_focused="false" android:state_focused="true" android:drawable="@android:color/transparent" /> + <item android:state_pressed="true" android:drawable="@drawable/pressed_application_background" /> + <item android:drawable="@android:color/transparent" /> </selector> diff --git a/res/layout-xlarge-land/application.xml b/res/layout-xlarge-land/application.xml index ed8fa8ccc..2598e5a03 100644 --- a/res/layout-xlarge-land/application.xml +++ b/res/layout-xlarge-land/application.xml @@ -15,4 +15,4 @@ --> <com.android.launcher2.BubbleTextView xmlns:android="http://schemas.android.com/apk/res/android" - style="@style/WorkspaceIcon.Landscape" />
\ No newline at end of file + style="@style/WorkspaceIcon.Landscape" /> diff --git a/res/layout-xlarge-land/launcher.xml b/res/layout-xlarge-land/launcher.xml index 0fc954b18..7b66d7c22 100644 --- a/res/layout-xlarge-land/launcher.xml +++ b/res/layout-xlarge-land/launcher.xml @@ -125,7 +125,13 @@ android:layout_toLeftOf="@id/configure_button" android:layout_marginLeft="@dimen/toolbar_button_spacing" android:layout_marginRight="@dimen/toolbar_button_spacing" - android:textSize="18dp" + android:textColor="#CCFFFFFF" + android:textSize="18sp" + + android:shadowColor="#A0000000" + android:shadowDx="0.0" + android:shadowDy="0.0" + android:shadowRadius="2.0" android:onClick="onClickAllAppsButton" android:focusable="true" diff --git a/res/layout-xlarge-port/launcher.xml b/res/layout-xlarge-port/launcher.xml index 088f08166..c5691b8cb 100644 --- a/res/layout-xlarge-port/launcher.xml +++ b/res/layout-xlarge-port/launcher.xml @@ -125,8 +125,14 @@ android:layout_toLeftOf="@id/configure_button" android:layout_marginLeft="@dimen/toolbar_button_spacing" android:layout_marginRight="@dimen/toolbar_button_spacing" + android:textColor="#CCFFFFFF" android:textSize="18dp" + android:shadowColor="#A0000000" + android:shadowDx="0.0" + android:shadowDy="0.0" + android:shadowRadius="2.0" + android:onClick="onClickAllAppsButton" android:focusable="true" android:clickable="true" /> diff --git a/res/values-xlarge/config.xml b/res/values-xlarge/config.xml index 365475328..55a96f6e9 100644 --- a/res/values-xlarge/config.xml +++ b/res/values-xlarge/config.xml @@ -26,8 +26,8 @@ <!-- Duration in milliseconds toolbar fade in and fade out animations. NOTE: Fade in and fade out time should together be less the transition animations between all apps, customize, & the workspace. --> - <integer name="config_toolbarButtonFadeInTime">350</integer> - <integer name="config_toolbarButtonFadeOutTime">350</integer> + <integer name="config_toolbarButtonFadeInTime">100</integer> + <integer name="config_toolbarButtonFadeOutTime">100</integer> <!-- When dragging items on the workspace, how much bigger (in pixels) the dragged view should be, as compared to the original view. If 0, it will not be scaled at all. diff --git a/res/values-xlarge/styles.xml b/res/values-xlarge/styles.xml index 5198d3048..7208d979f 100644 --- a/res/values-xlarge/styles.xml +++ b/res/values-xlarge/styles.xml @@ -31,12 +31,13 @@ </style> <style name="WorkspaceIcon.Portrait"> - <item name="android:drawablePadding">0dip</item> + <item name="android:drawablePadding">2dip</item> <item name="android:paddingTop">0dip</item> + <item name="android:includeFontPadding">false</item> </style> <style name="WorkspaceIcon.Landscape"> - <item name="android:drawablePadding">0dip</item> + <item name="android:drawablePadding">2dip</item> <item name="android:paddingTop">0dip</item> <item name="android:includeFontPadding">false</item> </style> diff --git a/res/values/colors.xml b/res/values/colors.xml index 3e964c4ca..57f8bfc22 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -20,7 +20,7 @@ <resources> <color name="window_background">#FF191919</color> <color name="grid_dark_background">#EB191919</color> - <color name="bubble_dark_background">#B2191919</color> + <color name="bubble_dark_background">#20000000</color> <color name="delete_color_filter">#A5FF0000</color> <color name="appwidget_error_color">#FCCC</color> diff --git a/res/values/styles.xml b/res/values/styles.xml index c867d3854..330529970 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -38,7 +38,7 @@ <item name="android:textSize">13dip</item> <item name="android:singleLine">true</item> <item name="android:ellipsize">marquee</item> - <item name="android:shadowColor">#FF000000</item> + <item name="android:shadowColor">#B0000000</item> <item name="android:shadowRadius">2.0</item> <item name="android:textColor">#FFF</item> <item name="android:gravity">center_horizontal</item> |