Changed the playing indicator drawable in the playing queue dialog
|
|
@ -46,12 +46,16 @@ public class PlayingQueueAdapter extends ArrayAdapter<Song> {
|
|||
|
||||
title.setText(song.title);
|
||||
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.setImageDrawable(Util.getTintedDrawable(getContext(), R.drawable.ic_speaker_white_48dp, DialogUtils.resolveColor(getContext(), R.attr.themed_drawable_color)));
|
||||
} else {
|
||||
playingIndicator.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
convertView.findViewById(R.id.short_separator).setVisibility(View.GONE);
|
||||
|
||||
overflowButton.setOnClickListener(new SongMenuHelper.OnClickSongMenu(activity) {
|
||||
@Override
|
||||
public Song getSong() {
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 931 B |
BIN
app/src/main/res/drawable-hdpi/ic_volume_up_white_24dp.png
Normal file
|
After Width: | Height: | Size: 427 B |
|
Before Width: | Height: | Size: 576 B |
BIN
app/src/main/res/drawable-mdpi/ic_volume_up_white_24dp.png
Normal file
|
After Width: | Height: | Size: 282 B |
|
Before Width: | Height: | Size: 1.2 KiB |
BIN
app/src/main/res/drawable-xhdpi/ic_volume_up_white_24dp.png
Normal file
|
After Width: | Height: | Size: 526 B |
|
Before Width: | Height: | Size: 1.9 KiB |
BIN
app/src/main/res/drawable-xxhdpi/ic_volume_up_white_24dp.png
Normal file
|
After Width: | Height: | Size: 814 B |
|
Before Width: | Height: | Size: 2.6 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/ic_volume_up_white_24dp.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |