diff options
| author | 2013-09-11 13:06:23 -0700 | |
|---|---|---|
| committer | 2013-09-11 13:06:23 -0700 | |
| commit | ab7cbcef49a1425544ec0333381413cf9a24a17b (patch) | |
| tree | c98810a6c1ee48c7d054eebc0f410c9e9585b47a | |
| parent | ecf612a15c6201d7a4c55f0fcceb077f3e9ad84e (diff) | |
Change selection highlight for intent disambig dialog
Use standard selection/activation highlights
Bug: 10529505
Change-Id: I81bc0a1a799f93dd6595d38c1a42d6d316e0d61a
| -rw-r--r-- | core/res/res/drawable-hdpi/activity_picker_bg_activated.9.png | bin | 326 -> 0 bytes | |||
| -rw-r--r-- | core/res/res/drawable-hdpi/activity_picker_bg_focused.9.png | bin | 263 -> 0 bytes | |||
| -rw-r--r-- | core/res/res/drawable-mdpi/activity_picker_bg_activated.9.png | bin | 284 -> 0 bytes | |||
| -rw-r--r-- | core/res/res/drawable-mdpi/activity_picker_bg_focused.9.png | bin | 242 -> 0 bytes | |||
| -rw-r--r-- | core/res/res/drawable-xhdpi/activity_picker_bg_activated.9.png | bin | 413 -> 0 bytes | |||
| -rw-r--r-- | core/res/res/drawable-xhdpi/activity_picker_bg_focused.9.png | bin | 324 -> 0 bytes | |||
| -rw-r--r-- | core/res/res/drawable-xxhdpi/activity_picker_bg_activated.9.png | bin | 1343 -> 0 bytes | |||
| -rw-r--r-- | core/res/res/drawable-xxhdpi/activity_picker_bg_focused.9.png | bin | 1269 -> 0 bytes | |||
| -rw-r--r-- | core/res/res/drawable/activity_picker_bg.xml | 30 | ||||
| -rw-r--r-- | core/res/res/layout/resolve_list_item.xml | 2 |
10 files changed, 1 insertions, 31 deletions
diff --git a/core/res/res/drawable-hdpi/activity_picker_bg_activated.9.png b/core/res/res/drawable-hdpi/activity_picker_bg_activated.9.png Binary files differdeleted file mode 100644 index e591a7b009ad..000000000000 --- a/core/res/res/drawable-hdpi/activity_picker_bg_activated.9.png +++ /dev/null diff --git a/core/res/res/drawable-hdpi/activity_picker_bg_focused.9.png b/core/res/res/drawable-hdpi/activity_picker_bg_focused.9.png Binary files differdeleted file mode 100644 index ea27290d76dd..000000000000 --- a/core/res/res/drawable-hdpi/activity_picker_bg_focused.9.png +++ /dev/null diff --git a/core/res/res/drawable-mdpi/activity_picker_bg_activated.9.png b/core/res/res/drawable-mdpi/activity_picker_bg_activated.9.png Binary files differdeleted file mode 100644 index 7dfea4c00546..000000000000 --- a/core/res/res/drawable-mdpi/activity_picker_bg_activated.9.png +++ /dev/null diff --git a/core/res/res/drawable-mdpi/activity_picker_bg_focused.9.png b/core/res/res/drawable-mdpi/activity_picker_bg_focused.9.png Binary files differdeleted file mode 100644 index 99b027946926..000000000000 --- a/core/res/res/drawable-mdpi/activity_picker_bg_focused.9.png +++ /dev/null diff --git a/core/res/res/drawable-xhdpi/activity_picker_bg_activated.9.png b/core/res/res/drawable-xhdpi/activity_picker_bg_activated.9.png Binary files differdeleted file mode 100644 index f01a79e3bf44..000000000000 --- a/core/res/res/drawable-xhdpi/activity_picker_bg_activated.9.png +++ /dev/null diff --git a/core/res/res/drawable-xhdpi/activity_picker_bg_focused.9.png b/core/res/res/drawable-xhdpi/activity_picker_bg_focused.9.png Binary files differdeleted file mode 100644 index 7bea197d0c51..000000000000 --- a/core/res/res/drawable-xhdpi/activity_picker_bg_focused.9.png +++ /dev/null diff --git a/core/res/res/drawable-xxhdpi/activity_picker_bg_activated.9.png b/core/res/res/drawable-xxhdpi/activity_picker_bg_activated.9.png Binary files differdeleted file mode 100644 index 47bc2b59f141..000000000000 --- a/core/res/res/drawable-xxhdpi/activity_picker_bg_activated.9.png +++ /dev/null diff --git a/core/res/res/drawable-xxhdpi/activity_picker_bg_focused.9.png b/core/res/res/drawable-xxhdpi/activity_picker_bg_focused.9.png Binary files differdeleted file mode 100644 index 3bd381d9e293..000000000000 --- a/core/res/res/drawable-xxhdpi/activity_picker_bg_focused.9.png +++ /dev/null diff --git a/core/res/res/drawable/activity_picker_bg.xml b/core/res/res/drawable/activity_picker_bg.xml deleted file mode 100644 index a471c949a4f6..000000000000 --- a/core/res/res/drawable/activity_picker_bg.xml +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2012 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:state_window_focused="false" android:drawable="@color/transparent" /> - - <!-- Even though these two point to the same resource, have two states so the drawable will invalidate itself when coming out of pressed state. --> - <item android:state_focused="true" android:state_enabled="false" android:state_pressed="true" android:drawable="@drawable/list_selector_disabled_holo_light" /> - <item android:state_focused="true" android:state_enabled="false" android:drawable="@drawable/list_selector_disabled_holo_light" /> - <item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/list_selector_background_transition_holo_light" /> - <item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/list_selector_background_transition_holo_light" /> - <item android:state_focused="true" android:drawable="@drawable/activity_picker_bg_focused" /> - <item android:state_activated="true" android:drawable="@drawable/activity_picker_bg_activated" /> - <item android:drawable="@color/transparent" /> - -</selector> diff --git a/core/res/res/layout/resolve_list_item.xml b/core/res/res/layout/resolve_list_item.xml index 28c5b74e6f96..281541b4ceb6 100644 --- a/core/res/res/layout/resolve_list_item.xml +++ b/core/res/res/layout/resolve_list_item.xml @@ -21,7 +21,7 @@ android:orientation="horizontal" android:layout_height="wrap_content" android:layout_width="match_parent" - android:background="@android:drawable/activity_picker_bg"> + android:background="?attr/activatedBackgroundIndicator"> <!-- Activity icon when presenting dialog Size will be filled in by ResolverActivity --> |