diff options
author | Michael Jurka <mikejurka@google.com> | 2011-10-17 05:34:29 -0700 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2011-10-17 06:20:49 -0700 |
commit | 92c88eb91dbfe6e96342c8e1dbfe3a59d9a3ffde (patch) | |
tree | 2db803b2df873aa043b38c45b67f8fb7e54a1bcd /packages/SystemUI/res | |
parent | 3406886939b0f28c426acefbe9dc77292210d8b4 (diff) | |
download | frameworks_base-92c88eb91dbfe6e96342c8e1dbfe3a59d9a3ffde.zip frameworks_base-92c88eb91dbfe6e96342c8e1dbfe3a59d9a3ffde.tar.gz frameworks_base-92c88eb91dbfe6e96342c8e1dbfe3a59d9a3ffde.tar.bz2 |
Visual changes to recent apps
- changing background to be gradient
- adding shadow to app thumbnails
Change-Id: I0ea7e4900f99adf17c74b885c66a7118bc831595
Diffstat (limited to 'packages/SystemUI/res')
-rw-r--r-- | packages/SystemUI/res/drawable-hdpi/recents_thumbnail_bg.9.png | bin | 0 -> 462 bytes | |||
-rw-r--r-- | packages/SystemUI/res/drawable-mdpi/recents_thumbnail_bg.9.png | bin | 0 -> 354 bytes | |||
-rw-r--r-- | packages/SystemUI/res/drawable-xhdpi/recents_thumbnail_bg.9.png | bin | 0 -> 636 bytes | |||
-rw-r--r-- | packages/SystemUI/res/drawable/recents_thumbnail_bg.xml | 19 | ||||
-rw-r--r-- | packages/SystemUI/res/drawable/recents_thumbnail_fg.xml | 1 | ||||
-rw-r--r-- | packages/SystemUI/res/drawable/status_bar_recents_background.xml | 25 | ||||
-rw-r--r-- | packages/SystemUI/res/values-land/config.xml | 27 | ||||
-rw-r--r-- | packages/SystemUI/res/values-port/config.xml | 27 | ||||
-rw-r--r-- | packages/SystemUI/res/values/colors.xml | 2 |
9 files changed, 81 insertions, 20 deletions
diff --git a/packages/SystemUI/res/drawable-hdpi/recents_thumbnail_bg.9.png b/packages/SystemUI/res/drawable-hdpi/recents_thumbnail_bg.9.png Binary files differnew file mode 100644 index 0000000..d000f7e --- /dev/null +++ b/packages/SystemUI/res/drawable-hdpi/recents_thumbnail_bg.9.png diff --git a/packages/SystemUI/res/drawable-mdpi/recents_thumbnail_bg.9.png b/packages/SystemUI/res/drawable-mdpi/recents_thumbnail_bg.9.png Binary files differnew file mode 100644 index 0000000..f19dc93 --- /dev/null +++ b/packages/SystemUI/res/drawable-mdpi/recents_thumbnail_bg.9.png diff --git a/packages/SystemUI/res/drawable-xhdpi/recents_thumbnail_bg.9.png b/packages/SystemUI/res/drawable-xhdpi/recents_thumbnail_bg.9.png Binary files differnew file mode 100644 index 0000000..80fc849 --- /dev/null +++ b/packages/SystemUI/res/drawable-xhdpi/recents_thumbnail_bg.9.png diff --git a/packages/SystemUI/res/drawable/recents_thumbnail_bg.xml b/packages/SystemUI/res/drawable/recents_thumbnail_bg.xml deleted file mode 100644 index 320ed40..0000000 --- a/packages/SystemUI/res/drawable/recents_thumbnail_bg.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2011 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:drawable="@drawable/recents_thumbnail_bg_dragging" android:state_activated="true" /> - <item android:drawable="@*android:color/transparent"/> -</selector> diff --git a/packages/SystemUI/res/drawable/recents_thumbnail_fg.xml b/packages/SystemUI/res/drawable/recents_thumbnail_fg.xml index d683af9..7033077 100644 --- a/packages/SystemUI/res/drawable/recents_thumbnail_fg.xml +++ b/packages/SystemUI/res/drawable/recents_thumbnail_fg.xml @@ -16,5 +16,6 @@ <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@drawable/recents_thumbnail_bg_press" android:state_selected="true" /> <item android:drawable="@drawable/recents_thumbnail_bg_press" android:state_pressed="true" /> + <item android:drawable="@drawable/recents_thumbnail_bg_dragging" android:state_activated="true" /> <item android:drawable="@*android:color/transparent"/> </selector> diff --git a/packages/SystemUI/res/drawable/status_bar_recents_background.xml b/packages/SystemUI/res/drawable/status_bar_recents_background.xml new file mode 100644 index 0000000..8b22bf1 --- /dev/null +++ b/packages/SystemUI/res/drawable/status_bar_recents_background.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* + * Copyright 2011, The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +--> +<shape xmlns:android="http://schemas.android.com/apk/res/android"> + <gradient name="status_bar_recents_background" + android:startColor="#cc000000" + android:endColor="#66000000" + android:angle="@integer/status_bar_recents_bg_gradient_degrees" + /> +</shape> diff --git a/packages/SystemUI/res/values-land/config.xml b/packages/SystemUI/res/values-land/config.xml new file mode 100644 index 0000000..bbae18d --- /dev/null +++ b/packages/SystemUI/res/values-land/config.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2011, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> + +<!-- These resources are around just to allow their values to be customized + for different hardware and product builds. --> +<resources> + <!-- Whether we're using the tablet-optimized recents interface (we use this + value at runtime for some things) --> + <integer name="status_bar_recents_bg_gradient_degrees">90</integer> +</resources> + diff --git a/packages/SystemUI/res/values-port/config.xml b/packages/SystemUI/res/values-port/config.xml new file mode 100644 index 0000000..bbae18d --- /dev/null +++ b/packages/SystemUI/res/values-port/config.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2011, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> + +<!-- These resources are around just to allow their values to be customized + for different hardware and product builds. --> +<resources> + <!-- Whether we're using the tablet-optimized recents interface (we use this + value at runtime for some things) --> + <integer name="status_bar_recents_bg_gradient_degrees">90</integer> +</resources> + diff --git a/packages/SystemUI/res/values/colors.xml b/packages/SystemUI/res/values/colors.xml index c88d651..3141020 100644 --- a/packages/SystemUI/res/values/colors.xml +++ b/packages/SystemUI/res/values/colors.xml @@ -22,7 +22,7 @@ <drawable name="notification_item_background_color_pressed">#ff257390</drawable> <drawable name="ticker_background_color">#ff1d1d1d</drawable> <drawable name="status_bar_background">#ff000000</drawable> - <drawable name="status_bar_recents_background">#b3000000</drawable> + <drawable name="status_bar_recents_background_solid">#b3000000</drawable> <drawable name="status_bar_recents_app_thumbnail_background">#88000000</drawable> <color name="status_bar_recents_app_label_color">#ffffffff</color> <drawable name="status_bar_notification_row_background_color">#ff090909</drawable> |