diff options
author | James Lemieux <jplemieux@google.com> | 2014-08-18 18:05:04 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-08-16 03:56:00 +0000 |
commit | 47da4ce65aebb78dde6c3ce273e95b547360bec2 (patch) | |
tree | ff0897160ff894a7d7ec0763ed7dca7d46f9c5ee /res/drawable/conversation_item_background_selector.xml | |
parent | 1b7a74b590c952132883f5176f20d82d92f2e3f7 (diff) | |
parent | cace3194e9b7b0e2b6554bda2fa8b2f98da04175 (diff) | |
download | android_packages_apps_UnifiedEmail-47da4ce65aebb78dde6c3ce273e95b547360bec2.tar.gz android_packages_apps_UnifiedEmail-47da4ce65aebb78dde6c3ce273e95b547360bec2.tar.bz2 android_packages_apps_UnifiedEmail-47da4ce65aebb78dde6c3ce273e95b547360bec2.zip |
Merge "Implement inset dividers in Thread List" into ub-gmail-ur14-dev
Diffstat (limited to 'res/drawable/conversation_item_background_selector.xml')
-rw-r--r-- | res/drawable/conversation_item_background_selector.xml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/res/drawable/conversation_item_background_selector.xml b/res/drawable/conversation_item_background_selector.xml new file mode 100644 index 000000000..2765ae535 --- /dev/null +++ b/res/drawable/conversation_item_background_selector.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2011 Google Inc. + Licensed to 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_pressed="true" + android:drawable="@color/conversation_item_blue_background" /> + <item android:state_selected="true" + android:drawable="@color/conversation_item_blue_background" /> + <item android:state_activated="true" + android:drawable="@color/conversation_item_blue_background" /> + <item android:state_focused="true" + android:drawable="@android:color/white" /> + <item android:drawable="@android:color/white" /> +</selector> |