Changed the playing indicator drawable in the playing queue dialog

This commit is contained in:
Karim Abou Zeid 2015-07-15 18:48:25 +02:00
commit 26d9ee9776
11 changed files with 5 additions and 1 deletions

View file

@ -46,12 +46,16 @@ public class PlayingQueueAdapter extends ArrayAdapter<Song> {
title.setText(song.title); title.setText(song.title);
if (MusicPlayerRemote.getPosition() == position) { if (MusicPlayerRemote.getPosition() == position) {
int iconPadding = activity.getResources().getDimensionPixelSize(R.dimen.list_item_image_icon_padding);
playingIndicator.setPadding(iconPadding, iconPadding, iconPadding, iconPadding);
playingIndicator.setImageDrawable(Util.getTintedDrawable(getContext(), R.drawable.ic_volume_up_white_24dp, DialogUtils.resolveColor(getContext(), R.attr.themed_drawable_color)));
playingIndicator.setVisibility(View.VISIBLE); playingIndicator.setVisibility(View.VISIBLE);
playingIndicator.setImageDrawable(Util.getTintedDrawable(getContext(), R.drawable.ic_speaker_white_48dp, DialogUtils.resolveColor(getContext(), R.attr.themed_drawable_color)));
} else { } else {
playingIndicator.setVisibility(View.GONE); playingIndicator.setVisibility(View.GONE);
} }
convertView.findViewById(R.id.short_separator).setVisibility(View.GONE);
overflowButton.setOnClickListener(new SongMenuHelper.OnClickSongMenu(activity) { overflowButton.setOnClickListener(new SongMenuHelper.OnClickSongMenu(activity) {
@Override @Override
public Song getSong() { public Song getSong() {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 931 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 576 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 526 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 814 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB