Fix voice note playback bar for RTL regions.

This commit is contained in:
Alex Hart
2022-06-17 12:58:27 -03:00
committed by Cody Henthorne
parent c2ffc8332d
commit cd8fa58d7e
4 changed files with 5 additions and 1 deletions

View File

@@ -87,6 +87,8 @@ public final class AudioView extends FrameLayout {
public AudioView(Context context, AttributeSet attrs, int defStyleAttr) {
super(context, attrs, defStyleAttr);
setLayoutDirection(LAYOUT_DIRECTION_LTR);
TypedArray typedArray = null;
try {
typedArray = context.getTheme().obtainStyledAttributes(attrs, R.styleable.AudioView, 0, 0);