Change the icons in interface #3040

This commit is contained in:
Matias de Andrea 2019-03-29 22:23:52 +01:00
parent 9e21695486
commit 007f92c291
2 changed files with 9 additions and 9 deletions

View File

@ -33,27 +33,27 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:background="@drawable/overlay_button_circle_background"
android:background="@drawable/md_transparent"
android:contentDescription="@string/rewind_label"
android:src="@drawable/ic_av_rewind_80dp" />
android:src="@drawable/ic_av_fast_rewind_white_80dp" />
<ImageButton
android:id="@+id/butPlay"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:background="@drawable/overlay_button_circle_background"
android:background="@drawable/md_transparent"
android:contentDescription="@string/pause_label"
android:src="@drawable/ic_av_pause_circle_outline_80dp" />
android:src="@drawable/ic_av_pause_white_80dp" />
<ImageButton
android:id="@+id/butFF"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:background="@drawable/overlay_button_circle_background"
android:background="@drawable/md_transparent"
android:contentDescription="@string/fast_forward_label"
android:src="@drawable/ic_av_fast_forward_80dp" />
android:src="@drawable/ic_av_fast_forward_white_80dp" />
</LinearLayout>

View File

@ -412,8 +412,8 @@ public abstract class PlaybackController {
pauseResource = res.getResourceId(1, R.drawable.ic_pause_grey600_36dp);
res.recycle();
} else {
playResource = R.drawable.ic_av_play_circle_outline_80dp;
pauseResource = R.drawable.ic_av_pause_circle_outline_80dp;
playResource = R.drawable.ic_av_play_white_80dp;
pauseResource = R.drawable.ic_av_pause_white_80dp;
}
Log.d(TAG, "status: " + status.toString());
@ -802,7 +802,7 @@ public abstract class PlaybackController {
res.getResourceId(0, de.danoeh.antennapod.core.R.drawable.ic_play_arrow_grey600_36dp));
res.recycle();
} else {
getPlayButton().setImageResource(R.drawable.ic_av_play_circle_outline_80dp);
getPlayButton().setImageResource(R.drawable.ic_av_play_white_80dp);
}
}, error -> Log.e(TAG, Log.getStackTraceString(error)));
}