Fix voice note playback bar for RTL regions.
This commit is contained in:
parent
c2ffc8332d
commit
cd8fa58d7e
4 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
style="@style/Signal.Text.Caption.MessageSent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="56dp"
|
||||
android:layout_marginStart="@dimen/message_audio_duration_margin_start"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<dimen name="unread_count_bubble_barrier_margin">-4dp</dimen>
|
||||
<dimen name="message_audio_duration_margin_start">0dp</dimen>
|
||||
</resources>
|
|
@ -59,6 +59,7 @@
|
|||
<dimen name="message_audio_width">242dp</dimen>
|
||||
<dimen name="message_bubble_default_footer_bottom_margin">-4dp</dimen>
|
||||
<dimen name="message_bubble_same_line_footer_bottom_margin">-24dp</dimen>
|
||||
<dimen name="message_audio_duration_margin_start">56dp</dimen>
|
||||
|
||||
<dimen name="media_picker_folder_width">175dp</dimen>
|
||||
<dimen name="media_picker_item_width">85dp</dimen>
|
||||
|
|
Loading…
Add table
Reference in a new issue