commit | a11aeeb36560959db321f9757d4c5eccfdfa7f63 | [log] [tgz] |
---|---|---|
author | Justin Ho <justinho@google.com> | Fri Sep 16 12:59:05 2011 -0700 |
committer | Justin Ho <justinho@google.com> | Fri Sep 16 14:11:07 2011 -0700 |
tree | 9ded1a43c77cf22ff67c62c0757d8789eb51134e | |
parent | cb995121ee4bb4da236e8181fbfbd33bc2f9173a [diff] |
Adding selected state for scrubber control Change-Id: I63147c80f7849d28ffe15d97e0b7e3f5c7bea5e1
diff --git a/core/res/res/drawable-hdpi/scrubber_control_disabled_holo.png b/core/res/res/drawable-hdpi/scrubber_control_disabled_holo.png index a231195..e0f55bf 100644 --- a/core/res/res/drawable-hdpi/scrubber_control_disabled_holo.png +++ b/core/res/res/drawable-hdpi/scrubber_control_disabled_holo.png Binary files differ
diff --git a/core/res/res/drawable-hdpi/scrubber_control_focused_holo.png b/core/res/res/drawable-hdpi/scrubber_control_focused_holo.png new file mode 100644 index 0000000..7b264f1 --- /dev/null +++ b/core/res/res/drawable-hdpi/scrubber_control_focused_holo.png Binary files differ
diff --git a/core/res/res/drawable-hdpi/scrubber_control_holo.png b/core/res/res/drawable-hdpi/scrubber_control_holo.png deleted file mode 100644 index fae05e5..0000000 --- a/core/res/res/drawable-hdpi/scrubber_control_holo.png +++ /dev/null Binary files differ
diff --git a/core/res/res/drawable-hdpi/scrubber_control_normal_holo.png b/core/res/res/drawable-hdpi/scrubber_control_normal_holo.png new file mode 100644 index 0000000..c3a5f7d --- /dev/null +++ b/core/res/res/drawable-hdpi/scrubber_control_normal_holo.png Binary files differ
diff --git a/core/res/res/drawable-hdpi/scrubber_control_pressed_holo.png b/core/res/res/drawable-hdpi/scrubber_control_pressed_holo.png index ff4d710..6fa4e00 100644 --- a/core/res/res/drawable-hdpi/scrubber_control_pressed_holo.png +++ b/core/res/res/drawable-hdpi/scrubber_control_pressed_holo.png Binary files differ
diff --git a/core/res/res/drawable-mdpi/scrubber_control_disabled_holo.png b/core/res/res/drawable-mdpi/scrubber_control_disabled_holo.png index 9d7b77c..a035f6f 100644 --- a/core/res/res/drawable-mdpi/scrubber_control_disabled_holo.png +++ b/core/res/res/drawable-mdpi/scrubber_control_disabled_holo.png Binary files differ
diff --git a/core/res/res/drawable-mdpi/scrubber_control_focused_holo.png b/core/res/res/drawable-mdpi/scrubber_control_focused_holo.png new file mode 100644 index 0000000..5c9720f --- /dev/null +++ b/core/res/res/drawable-mdpi/scrubber_control_focused_holo.png Binary files differ
diff --git a/core/res/res/drawable-mdpi/scrubber_control_holo.png b/core/res/res/drawable-mdpi/scrubber_control_holo.png deleted file mode 100644 index 832fa07..0000000 --- a/core/res/res/drawable-mdpi/scrubber_control_holo.png +++ /dev/null Binary files differ
diff --git a/core/res/res/drawable-mdpi/scrubber_control_normal_holo.png b/core/res/res/drawable-mdpi/scrubber_control_normal_holo.png new file mode 100644 index 0000000..2497716 --- /dev/null +++ b/core/res/res/drawable-mdpi/scrubber_control_normal_holo.png Binary files differ
diff --git a/core/res/res/drawable-mdpi/scrubber_control_pressed_holo.png b/core/res/res/drawable-mdpi/scrubber_control_pressed_holo.png index 4a518f2..5fc3ca2 100644 --- a/core/res/res/drawable-mdpi/scrubber_control_pressed_holo.png +++ b/core/res/res/drawable-mdpi/scrubber_control_pressed_holo.png Binary files differ
diff --git a/core/res/res/drawable-xhdpi/scrubber_control_disabled_holo.png b/core/res/res/drawable-xhdpi/scrubber_control_disabled_holo.png index 0b0bf24..d70151a 100644 --- a/core/res/res/drawable-xhdpi/scrubber_control_disabled_holo.png +++ b/core/res/res/drawable-xhdpi/scrubber_control_disabled_holo.png Binary files differ
diff --git a/core/res/res/drawable-xhdpi/scrubber_control_focused_holo.png b/core/res/res/drawable-xhdpi/scrubber_control_focused_holo.png new file mode 100644 index 0000000..017688f --- /dev/null +++ b/core/res/res/drawable-xhdpi/scrubber_control_focused_holo.png Binary files differ
diff --git a/core/res/res/drawable-xhdpi/scrubber_control_holo.png b/core/res/res/drawable-xhdpi/scrubber_control_holo.png deleted file mode 100644 index 45060cb..0000000 --- a/core/res/res/drawable-xhdpi/scrubber_control_holo.png +++ /dev/null Binary files differ
diff --git a/core/res/res/drawable-xhdpi/scrubber_control_normal_holo.png b/core/res/res/drawable-xhdpi/scrubber_control_normal_holo.png new file mode 100644 index 0000000..727fcf1 --- /dev/null +++ b/core/res/res/drawable-xhdpi/scrubber_control_normal_holo.png Binary files differ
diff --git a/core/res/res/drawable-xhdpi/scrubber_control_pressed_holo.png b/core/res/res/drawable-xhdpi/scrubber_control_pressed_holo.png index d1fe115..6d03e42 100644 --- a/core/res/res/drawable-xhdpi/scrubber_control_pressed_holo.png +++ b/core/res/res/drawable-xhdpi/scrubber_control_pressed_holo.png Binary files differ
diff --git a/core/res/res/drawable/scrubber_control_selector_holo.xml b/core/res/res/drawable/scrubber_control_selector_holo.xml index d146eee..0734da6 100644 --- a/core/res/res/drawable/scrubber_control_selector_holo.xml +++ b/core/res/res/drawable/scrubber_control_selector_holo.xml
@@ -15,7 +15,8 @@ --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_pressed="true" android:state_enabled="true" android:drawable="@android:drawable/scrubber_control_pressed_holo" /> - <item android:state_enabled="true" android:drawable="@android:drawable/scrubber_control_holo" /> - <item android:drawable="@android:drawable/scrubber_control_disabled_holo" /> + <item android:state_enabled="false" android:drawable="@android:drawable/scrubber_control_disabled_holo" /> + <item android:state_pressed="true" android:drawable="@android:drawable/scrubber_control_pressed_holo" /> + <item android:state_selected="true" android:drawable="@android:drawable/scrubber_control_selected_holo" /> + <item android:drawable="@android:drawable/scrubber_control_normal_holo" /> </selector>