Fix appearance of small audio view to show correct background color and the progress circle.
This commit is contained in:
parent
4ecfee292e
commit
4c301a49b4
2 changed files with 4 additions and 2 deletions
|
@ -371,10 +371,11 @@ public final class AudioView extends FrameLayout {
|
|||
}
|
||||
|
||||
private void showPlayButton() {
|
||||
if (!smallView || seekBar.getProgress() == 0) {
|
||||
if (!smallView) {
|
||||
circleProgress.setVisibility(GONE);
|
||||
} else if (seekBar.getProgress() == 0) {
|
||||
circleProgress.setInstantProgress(1);
|
||||
}
|
||||
circleProgress.setVisibility(GONE);
|
||||
playPauseButton.setVisibility(VISIBLE);
|
||||
controlToggle.displayQuick(progressAndPlay);
|
||||
}
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:autoRewind="true"
|
||||
app:progressAndPlayTint="@android:color/transparent"
|
||||
app:foregroundTintColor="@color/core_ultramarine"
|
||||
app:small="true" />
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue