Changed the playing indicator drawable in the playing queue dialog
This commit is contained in:
parent
953568c9f5
commit
26d9ee9776
11 changed files with 5 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue