diff options
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/filtershow_scrubber.xml | 22 | ||||
-rw-r--r-- | res/drawable/filtershow_slider.xml | 28 |
2 files changed, 50 insertions, 0 deletions
diff --git a/res/drawable/filtershow_scrubber.xml b/res/drawable/filtershow_scrubber.xml new file mode 100644 index 000000000..744d1dad2 --- /dev/null +++ b/res/drawable/filtershow_scrubber.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2013 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_enabled="false" android:drawable="@drawable/filtershow_scrubber_control_disabled" /> + <item android:state_pressed="true" android:drawable="@drawable/filtershow_scrubber_control_pressed" /> + <item android:state_selected="true" android:drawable="@drawable/filtershow_scrubber_control_focused" /> + <item android:drawable="@drawable/filtershow_scrubber_control_normal" /> +</selector>
\ No newline at end of file diff --git a/res/drawable/filtershow_slider.xml b/res/drawable/filtershow_slider.xml new file mode 100644 index 000000000..23457a6ef --- /dev/null +++ b/res/drawable/filtershow_slider.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2013 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="@drawable/filtershow_scrubber_track" /> + <item android:id="@android:id/secondaryProgress"> + <scale android:scaleWidth="100%" + android:drawable="@drawable/filtershow_scrubber_secondary" /> + </item> + <item android:id="@android:id/progress"> + <scale android:scaleWidth="100%" + android:drawable="@drawable/filtershow_scrubber_primary" /> + </item> +</layer-list>
\ No newline at end of file |