You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.
I'm trying to change the color of the bar after audio is played. After the audio played, filled color is changed successfully but the background color is not changing to the new color. Here's a code snippet:
waveView.setOnProgressListener(new OnProgressListener() {
@Override
public void onStartTracking(float v) {
}
@Override
public void onStopTracking(float v) {
}
@Override
public void onProgressChanged(float v, boolean b) {
if (v == 100F)
waveView.setWaveColor(ContextCompat.getColor(itemView.getContext(), R.color.subtitleGray));
}
});
I'm trying to change the color of the bar after audio is played. After the audio played, filled color is changed successfully but the background color is not changing to the new color. Here's a code snippet:
XML:
Tested on Moto G with 7.1.2. Any fixes/workaround is appreciated!
The text was updated successfully, but these errors were encountered: