diff options
author | Daisuke Miyakawa <dmiyakawa@google.com> | 2011-08-29 14:44:39 -0700 |
---|---|---|
committer | Daisuke Miyakawa <dmiyakawa@google.com> | 2011-08-30 14:04:18 -0700 |
commit | 64ef8131aab057fa37fa5f6d63b7296d2fda7fb6 (patch) | |
tree | c93d6c23ddb5305864cd96e41fa24c4cab957bb4 /res/drawable-xhdpi | |
parent | bd702127c2287b905a3568a179aa07ab4b8580fa (diff) | |
download | packages_apps_Contacts-64ef8131aab057fa37fa5f6d63b7296d2fda7fb6.tar.gz packages_apps_Contacts-64ef8131aab057fa37fa5f6d63b7296d2fda7fb6.tar.bz2 packages_apps_Contacts-64ef8131aab057fa37fa5f6d63b7296d2fda7fb6.zip |
Show correct activated/selected effect for lists
- copy system assets for activated/selected states to the project
-- rename existing list_pressed_holo_light to
action_bar_item_pressed_holo_light since the name is not
appropriate and used by system assets.
- use white color for activated/selected texts
- make ContactListItemView show "pressed" effect correctly
-- "activated" background should not be shown when the item
is not activated. If it shows it, "pressed" effect is hidden
by the wrong background.
-- The background itself is needed to not highlight section
headers.
-- manually call setActivated() toward children. Without it,
they look "black" on the first app boot.
- remove an animation parameter for ContactListItemView's
"activated" background. The animation makes the whole item
flicker.
Bug: 5191524
Bug: 5199800
Bug: 5136917
Change-Id: I7c08d8f533f0dd5318c614e3df14bb39207485e9
Diffstat (limited to 'res/drawable-xhdpi')
-rw-r--r-- | res/drawable-xhdpi/action_bar_item_pressed_holo_light.9.png | bin | 0 -> 163 bytes |
-rw-r--r-- | res/drawable-xhdpi/list_activated_holo.9.png | bin | 2478 -> 158 bytes |
-rw-r--r-- | res/drawable-xhdpi/list_focused_holo.9.png | bin | 424 -> 163 bytes |
-rw-r--r-- | res/drawable-xhdpi/list_pressed_holo_light.9.png | bin | 163 -> 163 bytes |
4 files changed, 0 insertions, 0 deletions
diff --git a/res/drawable-xhdpi/action_bar_item_pressed_holo_light.9.png b/res/drawable-xhdpi/action_bar_item_pressed_holo_light.9.png Binary files differnew file mode 100644 index 000000000..8ff9dca60 --- /dev/null +++ b/res/drawable-xhdpi/action_bar_item_pressed_holo_light.9.png diff --git a/res/drawable-xhdpi/list_activated_holo.9.png b/res/drawable-xhdpi/list_activated_holo.9.png Binary files differindex 2eb7c7ebc..eda10e612 100644 --- a/res/drawable-xhdpi/list_activated_holo.9.png +++ b/res/drawable-xhdpi/list_activated_holo.9.png diff --git a/res/drawable-xhdpi/list_focused_holo.9.png b/res/drawable-xhdpi/list_focused_holo.9.png Binary files differindex 9c90c2bdf..690cb1eb6 100644 --- a/res/drawable-xhdpi/list_focused_holo.9.png +++ b/res/drawable-xhdpi/list_focused_holo.9.png diff --git a/res/drawable-xhdpi/list_pressed_holo_light.9.png b/res/drawable-xhdpi/list_pressed_holo_light.9.png Binary files differindex 8ff9dca60..e4b33935a 100644 --- a/res/drawable-xhdpi/list_pressed_holo_light.9.png +++ b/res/drawable-xhdpi/list_pressed_holo_light.9.png |