diff options
author | Joe Onorato <joeo@google.com> | 2010-12-08 15:38:07 -0800 |
---|---|---|
committer | Joe Onorato <joeo@google.com> | 2010-12-08 15:48:07 -0800 |
commit | 4b0912d4903d81e7ce8a45dd694b1ae01fe438c1 (patch) | |
tree | 67a2d8b67de0fb1e46f36dba846fdd5e9ec50ddb /packages/SystemUI/res/drawable | |
parent | aa072634630c9515e44890dc302307fa969bbb85 (diff) | |
download | frameworks_base-4b0912d4903d81e7ce8a45dd694b1ae01fe438c1.zip frameworks_base-4b0912d4903d81e7ce8a45dd694b1ae01fe438c1.tar.gz frameworks_base-4b0912d4903d81e7ce8a45dd694b1ae01fe438c1.tar.bz2 |
Make the ToggleSlider in the status bar settings panel show the right track when it's disabled.
Change-Id: Iead2a7f93dd312254d715f010ccca50cdcda5d00
Diffstat (limited to 'packages/SystemUI/res/drawable')
-rw-r--r-- | packages/SystemUI/res/drawable/status_bar_settings_slider_disabled.xml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/SystemUI/res/drawable/status_bar_settings_slider_disabled.xml b/packages/SystemUI/res/drawable/status_bar_settings_slider_disabled.xml new file mode 100644 index 0000000..17d48b7 --- /dev/null +++ b/packages/SystemUI/res/drawable/status_bar_settings_slider_disabled.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 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. +--> + +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:id="@android:id/background" + android:drawable="@*android:drawable/scrubber_track_holo_dark" /> + <item android:id="@android:id/secondaryProgress"> + <scale android:scaleWidth="100%" + android:drawable="@*android:drawable/scrubber_track_holo_dark" /> + </item> + <item android:id="@android:id/progress"> + <scale android:scaleWidth="100%" + android:drawable="@*android:drawable/scrubber_track_holo_dark" /> + </item> +</layer-list> + |