diff --git a/orig/close_normal.svgz b/orig/close.svgz similarity index 100% rename from orig/close_normal.svgz rename to orig/close.svgz diff --git a/orig/close_focused.svgz b/orig/close_focused.svgz deleted file mode 100644 index e58ec3d5..00000000 Binary files a/orig/close_focused.svgz and /dev/null differ diff --git a/orig/next_normal.svgz b/orig/next.svgz similarity index 100% rename from orig/next_normal.svgz rename to orig/next.svgz diff --git a/orig/next_focused.svgz b/orig/next_focused.svgz deleted file mode 100644 index c4d38332..00000000 Binary files a/orig/next_focused.svgz and /dev/null differ diff --git a/orig/pause_normal.svgz b/orig/pause.svgz similarity index 100% rename from orig/pause_normal.svgz rename to orig/pause.svgz diff --git a/orig/pause_focused.svgz b/orig/pause_focused.svgz deleted file mode 100644 index 8011dd6b..00000000 Binary files a/orig/pause_focused.svgz and /dev/null differ diff --git a/orig/play_normal.svgz b/orig/play.svgz similarity index 100% rename from orig/play_normal.svgz rename to orig/play.svgz diff --git a/orig/play_focused.svgz b/orig/play_focused.svgz deleted file mode 100644 index ca1d6985..00000000 Binary files a/orig/play_focused.svgz and /dev/null differ diff --git a/orig/previous_normal.svgz b/orig/previous.svgz similarity index 100% rename from orig/previous_normal.svgz rename to orig/previous.svgz diff --git a/orig/previous_focused.svgz b/orig/previous_focused.svgz deleted file mode 100644 index b87370b0..00000000 Binary files a/orig/previous_focused.svgz and /dev/null differ diff --git a/res/drawable-hdpi/close_normal.png b/res/drawable-hdpi/close.png similarity index 100% rename from res/drawable-hdpi/close_normal.png rename to res/drawable-hdpi/close.png diff --git a/res/drawable-hdpi/close_focused.png b/res/drawable-hdpi/close_focused.png deleted file mode 100644 index a9dd0572..00000000 Binary files a/res/drawable-hdpi/close_focused.png and /dev/null differ diff --git a/res/drawable-hdpi/list_focused_holo.9.png b/res/drawable-hdpi/list_focused_holo.9.png new file mode 100644 index 00000000..55527084 Binary files /dev/null and b/res/drawable-hdpi/list_focused_holo.9.png differ diff --git a/res/drawable-hdpi/list_longpressed_holo.9.png b/res/drawable-hdpi/list_longpressed_holo.9.png new file mode 100644 index 00000000..4ea7afa0 Binary files /dev/null and b/res/drawable-hdpi/list_longpressed_holo.9.png differ diff --git a/res/drawable-hdpi/list_pressed_holo_dark.9.png b/res/drawable-hdpi/list_pressed_holo_dark.9.png new file mode 100644 index 00000000..5654cd69 Binary files /dev/null and b/res/drawable-hdpi/list_pressed_holo_dark.9.png differ diff --git a/res/drawable-hdpi/list_selector_disabled_holo_dark.9.png b/res/drawable-hdpi/list_selector_disabled_holo_dark.9.png new file mode 100644 index 00000000..f6fd30dc Binary files /dev/null and b/res/drawable-hdpi/list_selector_disabled_holo_dark.9.png differ diff --git a/res/drawable-hdpi/next_normal.png b/res/drawable-hdpi/next.png similarity index 100% rename from res/drawable-hdpi/next_normal.png rename to res/drawable-hdpi/next.png diff --git a/res/drawable-hdpi/next_focused.png b/res/drawable-hdpi/next_focused.png deleted file mode 100644 index 4d760528..00000000 Binary files a/res/drawable-hdpi/next_focused.png and /dev/null differ diff --git a/res/drawable-hdpi/pause_normal.png b/res/drawable-hdpi/pause.png similarity index 100% rename from res/drawable-hdpi/pause_normal.png rename to res/drawable-hdpi/pause.png diff --git a/res/drawable-hdpi/pause_focused.png b/res/drawable-hdpi/pause_focused.png deleted file mode 100644 index a455f612..00000000 Binary files a/res/drawable-hdpi/pause_focused.png and /dev/null differ diff --git a/res/drawable-hdpi/play_normal.png b/res/drawable-hdpi/play.png similarity index 100% rename from res/drawable-hdpi/play_normal.png rename to res/drawable-hdpi/play.png diff --git a/res/drawable-hdpi/play_focused.png b/res/drawable-hdpi/play_focused.png deleted file mode 100644 index 6f016459..00000000 Binary files a/res/drawable-hdpi/play_focused.png and /dev/null differ diff --git a/res/drawable-hdpi/previous_normal.png b/res/drawable-hdpi/previous.png similarity index 100% rename from res/drawable-hdpi/previous_normal.png rename to res/drawable-hdpi/previous.png diff --git a/res/drawable-hdpi/previous_focused.png b/res/drawable-hdpi/previous_focused.png deleted file mode 100644 index 612af76c..00000000 Binary files a/res/drawable-hdpi/previous_focused.png and /dev/null differ diff --git a/res/drawable-mdpi/close_normal.png b/res/drawable-mdpi/close.png similarity index 100% rename from res/drawable-mdpi/close_normal.png rename to res/drawable-mdpi/close.png diff --git a/res/drawable-mdpi/close_focused.png b/res/drawable-mdpi/close_focused.png deleted file mode 100644 index d9d65289..00000000 Binary files a/res/drawable-mdpi/close_focused.png and /dev/null differ diff --git a/res/drawable-mdpi/list_focused_holo.9.png b/res/drawable-mdpi/list_focused_holo.9.png new file mode 100644 index 00000000..00f05d8c Binary files /dev/null and b/res/drawable-mdpi/list_focused_holo.9.png differ diff --git a/res/drawable-mdpi/list_longpressed_holo.9.png b/res/drawable-mdpi/list_longpressed_holo.9.png new file mode 100644 index 00000000..3bf8e036 Binary files /dev/null and b/res/drawable-mdpi/list_longpressed_holo.9.png differ diff --git a/res/drawable-mdpi/list_pressed_holo_dark.9.png b/res/drawable-mdpi/list_pressed_holo_dark.9.png new file mode 100644 index 00000000..6e77525d Binary files /dev/null and b/res/drawable-mdpi/list_pressed_holo_dark.9.png differ diff --git a/res/drawable-mdpi/list_selector_disabled_holo_dark.9.png b/res/drawable-mdpi/list_selector_disabled_holo_dark.9.png new file mode 100644 index 00000000..92da2f0d Binary files /dev/null and b/res/drawable-mdpi/list_selector_disabled_holo_dark.9.png differ diff --git a/res/drawable-mdpi/next_normal.png b/res/drawable-mdpi/next.png similarity index 100% rename from res/drawable-mdpi/next_normal.png rename to res/drawable-mdpi/next.png diff --git a/res/drawable-mdpi/next_focused.png b/res/drawable-mdpi/next_focused.png deleted file mode 100644 index 808b3c4d..00000000 Binary files a/res/drawable-mdpi/next_focused.png and /dev/null differ diff --git a/res/drawable-mdpi/pause_normal.png b/res/drawable-mdpi/pause.png similarity index 100% rename from res/drawable-mdpi/pause_normal.png rename to res/drawable-mdpi/pause.png diff --git a/res/drawable-mdpi/pause_focused.png b/res/drawable-mdpi/pause_focused.png deleted file mode 100644 index a3607884..00000000 Binary files a/res/drawable-mdpi/pause_focused.png and /dev/null differ diff --git a/res/drawable-mdpi/play_normal.png b/res/drawable-mdpi/play.png similarity index 100% rename from res/drawable-mdpi/play_normal.png rename to res/drawable-mdpi/play.png diff --git a/res/drawable-mdpi/play_focused.png b/res/drawable-mdpi/play_focused.png deleted file mode 100644 index 5c2b54b4..00000000 Binary files a/res/drawable-mdpi/play_focused.png and /dev/null differ diff --git a/res/drawable-mdpi/previous_normal.png b/res/drawable-mdpi/previous.png similarity index 100% rename from res/drawable-mdpi/previous_normal.png rename to res/drawable-mdpi/previous.png diff --git a/res/drawable-mdpi/previous_focused.png b/res/drawable-mdpi/previous_focused.png deleted file mode 100644 index e5e6aae6..00000000 Binary files a/res/drawable-mdpi/previous_focused.png and /dev/null differ diff --git a/res/drawable-xhdpi/close_normal.png b/res/drawable-xhdpi/close.png similarity index 100% rename from res/drawable-xhdpi/close_normal.png rename to res/drawable-xhdpi/close.png diff --git a/res/drawable-xhdpi/close_focused.png b/res/drawable-xhdpi/close_focused.png deleted file mode 100644 index 225d75d2..00000000 Binary files a/res/drawable-xhdpi/close_focused.png and /dev/null differ diff --git a/res/drawable-xhdpi/list_focused_holo.9.png b/res/drawable-xhdpi/list_focused_holo.9.png new file mode 100644 index 00000000..b545f8e5 Binary files /dev/null and b/res/drawable-xhdpi/list_focused_holo.9.png differ diff --git a/res/drawable-xhdpi/list_longpressed_holo.9.png b/res/drawable-xhdpi/list_longpressed_holo.9.png new file mode 100644 index 00000000..eda10e61 Binary files /dev/null and b/res/drawable-xhdpi/list_longpressed_holo.9.png differ diff --git a/res/drawable-xhdpi/list_pressed_holo_dark.9.png b/res/drawable-xhdpi/list_pressed_holo_dark.9.png new file mode 100644 index 00000000..e4b33935 Binary files /dev/null and b/res/drawable-xhdpi/list_pressed_holo_dark.9.png differ diff --git a/res/drawable-xhdpi/list_selector_disabled_holo_dark.9.png b/res/drawable-xhdpi/list_selector_disabled_holo_dark.9.png new file mode 100644 index 00000000..88726b69 Binary files /dev/null and b/res/drawable-xhdpi/list_selector_disabled_holo_dark.9.png differ diff --git a/res/drawable-xhdpi/next_normal.png b/res/drawable-xhdpi/next.png similarity index 100% rename from res/drawable-xhdpi/next_normal.png rename to res/drawable-xhdpi/next.png diff --git a/res/drawable-xhdpi/next_focused.png b/res/drawable-xhdpi/next_focused.png deleted file mode 100644 index 55a2f1b6..00000000 Binary files a/res/drawable-xhdpi/next_focused.png and /dev/null differ diff --git a/res/drawable-xhdpi/pause_normal.png b/res/drawable-xhdpi/pause.png similarity index 100% rename from res/drawable-xhdpi/pause_normal.png rename to res/drawable-xhdpi/pause.png diff --git a/res/drawable-xhdpi/pause_focused.png b/res/drawable-xhdpi/pause_focused.png deleted file mode 100644 index 907d147c..00000000 Binary files a/res/drawable-xhdpi/pause_focused.png and /dev/null differ diff --git a/res/drawable-xhdpi/play_normal.png b/res/drawable-xhdpi/play.png similarity index 100% rename from res/drawable-xhdpi/play_normal.png rename to res/drawable-xhdpi/play.png diff --git a/res/drawable-xhdpi/play_focused.png b/res/drawable-xhdpi/play_focused.png deleted file mode 100644 index b00a8c80..00000000 Binary files a/res/drawable-xhdpi/play_focused.png and /dev/null differ diff --git a/res/drawable-xhdpi/previous_normal.png b/res/drawable-xhdpi/previous.png similarity index 100% rename from res/drawable-xhdpi/previous_normal.png rename to res/drawable-xhdpi/previous.png diff --git a/res/drawable-xhdpi/previous_focused.png b/res/drawable-xhdpi/previous_focused.png deleted file mode 100644 index 93eeefa5..00000000 Binary files a/res/drawable-xhdpi/previous_focused.png and /dev/null differ diff --git a/res/drawable/close.xml b/res/drawable/close.xml deleted file mode 100644 index 0385473c..00000000 --- a/res/drawable/close.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/res/drawable/hidden_next.xml b/res/drawable/hidden_next.xml index 7f7b2744..f87bd7f9 100644 --- a/res/drawable/hidden_next.xml +++ b/res/drawable/hidden_next.xml @@ -1,6 +1,6 @@ - - + + diff --git a/res/drawable/hidden_pause.xml b/res/drawable/hidden_pause.xml index 6e1f6959..3ae9dd3b 100644 --- a/res/drawable/hidden_pause.xml +++ b/res/drawable/hidden_pause.xml @@ -1,6 +1,6 @@ - - + + diff --git a/res/drawable/hidden_play.xml b/res/drawable/hidden_play.xml index 755d4dc1..1e6e07d6 100644 --- a/res/drawable/hidden_play.xml +++ b/res/drawable/hidden_play.xml @@ -1,6 +1,6 @@ - - + + diff --git a/res/drawable/list_selector_background_transition_holo_dark.xml b/res/drawable/list_selector_background_transition_holo_dark.xml new file mode 100644 index 00000000..c1ab1cdd --- /dev/null +++ b/res/drawable/list_selector_background_transition_holo_dark.xml @@ -0,0 +1,19 @@ + + + + + + diff --git a/res/drawable/next.xml b/res/drawable/next.xml deleted file mode 100644 index 052ddfff..00000000 --- a/res/drawable/next.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/res/drawable/pause.xml b/res/drawable/pause.xml deleted file mode 100644 index bc7b5c1d..00000000 --- a/res/drawable/pause.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/res/drawable/play.xml b/res/drawable/play.xml deleted file mode 100644 index 14308a1d..00000000 --- a/res/drawable/play.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/res/drawable/previous.xml b/res/drawable/previous.xml deleted file mode 100644 index f8703de8..00000000 --- a/res/drawable/previous.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/res/drawable/selectable_item_bg.xml b/res/drawable/selectable_item_bg.xml new file mode 100644 index 00000000..c58bb7ff --- /dev/null +++ b/res/drawable/selectable_item_bg.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + diff --git a/res/layout-v11/notification.xml b/res/layout-v11/notification.xml index f5bca63c..394e3233 100644 --- a/res/layout-v11/notification.xml +++ b/res/layout-v11/notification.xml @@ -64,7 +64,7 @@ THE SOFTWARE. android:layout_gravity="center" android:background="?android:attr/selectableItemBackground" android:scaleType="fitCenter" - android:src="@drawable/play_normal" + android:src="@drawable/play" android:contentDescription="@string/play_pause" /> + + + + + + + + \ No newline at end of file diff --git a/res/layout/four_long_widget.xml b/res/layout/four_long_widget.xml index 2699ae6e..98f714d2 100644 --- a/res/layout/four_long_widget.xml +++ b/res/layout/four_long_widget.xml @@ -78,7 +78,7 @@ THE SOFTWARE. android:layout_weight="1" android:src="@drawable/play" android:padding="5dip" - android:background="@null" + android:background="@drawable/selectable_item_bg" android:scaleType="centerInside" android:contentDescription="@string/play_pause" /> diff --git a/res/layout/full_playback.xml b/res/layout/full_playback.xml index 43d79444..4709b8a3 100644 --- a/res/layout/full_playback.xml +++ b/res/layout/full_playback.xml @@ -62,50 +62,6 @@ THE SOFTWARE. android:layout_margin="0dip" android:background="#a000" android:orientation="horizontal"> - - - - - + diff --git a/res/layout/full_playback_alt.xml b/res/layout/full_playback_alt.xml index c061dd78..8f43f33e 100644 --- a/res/layout/full_playback_alt.xml +++ b/res/layout/full_playback_alt.xml @@ -94,50 +94,6 @@ THE SOFTWARE. android:layout_margin="0dip" android:background="#a000" android:orientation="horizontal"> - - - - - + diff --git a/res/layout/library_content.xml b/res/layout/library_content.xml index 705e8437..e87b56f7 100644 --- a/res/layout/library_content.xml +++ b/res/layout/library_content.xml @@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --> - @@ -64,7 +64,7 @@ THE SOFTWARE. android:paddingBottom="4dip" android:layout_width="wrap_content" android:layout_height="fill_parent" - android:background="@null" + android:background="@drawable/selectable_item_bg" android:src="@drawable/close" android:contentDescription="@string/clear_search" /> diff --git a/res/layout/library_controls.xml b/res/layout/library_controls.xml index 96b5cee9..5533bd94 100644 --- a/res/layout/library_controls.xml +++ b/res/layout/library_controls.xml @@ -64,51 +64,7 @@ THE SOFTWARE. android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent"> - - - - - + diff --git a/res/layout/mini_playback.xml b/res/layout/mini_playback.xml index a05b0716..78e45dcc 100644 --- a/res/layout/mini_playback.xml +++ b/res/layout/mini_playback.xml @@ -36,50 +36,6 @@ THE SOFTWARE. android:layout_height="wrap_content" android:layout_width="match_parent" android:orientation="horizontal"> - - - - - + diff --git a/res/layout/widget_e.xml b/res/layout/widget_e.xml index ed1a9322..040cd035 100644 --- a/res/layout/widget_e.xml +++ b/res/layout/widget_e.xml @@ -53,55 +53,6 @@ THE SOFTWARE. android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content"> - - - - - + diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml index 15238ab4..c7afcd83 100644 --- a/res/xml/preferences.xml +++ b/res/xml/preferences.xml @@ -71,7 +71,7 @@ THE SOFTWARE. android:defaultValue="false" /> - = Build.VERSION_CODES.HONEYCOMB) { - int playButton = playing ? R.drawable.pause_normal : R.drawable.play_normal; + int playButton = playing ? R.drawable.pause : R.drawable.play; views.setImageViewResource(R.id.play_pause, playButton); ComponentName service = new ComponentName(this, PlaybackService.class); diff --git a/src/org/kreed/vanilla/PlaylistAdapter.java b/src/org/kreed/vanilla/PlaylistAdapter.java index 9e8e625f..8ef78c9d 100644 --- a/src/org/kreed/vanilla/PlaylistAdapter.java +++ b/src/org/kreed/vanilla/PlaylistAdapter.java @@ -77,7 +77,7 @@ public class PlaylistAdapter extends CursorAdapter implements Handler.Callback { Resources res = context.getResources(); mDragBitmap = BitmapFactory.decodeResource(res, R.drawable.grabber); - mDeleteBitmap = BitmapFactory.decodeResource(res, R.drawable.close_normal); + mDeleteBitmap = BitmapFactory.decodeResource(res, R.drawable.close); } /**