summaryrefslogtreecommitdiffstats
path: root/core/res/res/color
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2015-02-23 12:49:47 -0800
committerAlan Viverette <alanv@google.com>2015-02-23 12:49:47 -0800
commit6a8253fdc9f4574c28b4beeeed90580ffc93734a (patch)
tree6919966e21d2af7e3821632e147e8f243d484c9b /core/res/res/color
parentb3f3762ee0f57c94ea25bc1cc9d4baf0ee2a2976 (diff)
downloadframeworks_base-6a8253fdc9f4574c28b4beeeed90580ffc93734a.zip
frameworks_base-6a8253fdc9f4574c28b4beeeed90580ffc93734a.tar.gz
frameworks_base-6a8253fdc9f4574c28b4beeeed90580ffc93734a.tar.bz2
Update progress bar and seek bar backgrounds, fix seek bar thumb
Ensures LayerDrawable copies out the correct layer properties during "tileification". This really needs to be deprecated or replaced in a future CL, though, because it is potentially lossy (e.g. for RippleDrawable, which is an instanceof LayerDrawable). Bug: 19448441 Change-Id: I483e9c34fd781e280c13eb5951f96bc71a252819
Diffstat (limited to 'core/res/res/color')
-rw-r--r--core/res/res/color/white_disabled_material.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/core/res/res/color/white_disabled_material.xml b/core/res/res/color/white_disabled_material.xml
new file mode 100644
index 0000000..c61f900
--- /dev/null
+++ b/core/res/res/color/white_disabled_material.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 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:color="@color/white"
+ android:alpha="?attr/disabledAlpha" />
+</selector>