Fix audio view in overview in RTL languages.
This commit is contained in:
parent
be2ed8989f
commit
2a5d385152
2 changed files with 16 additions and 10 deletions
|
@ -30,19 +30,25 @@
|
|||
|
||||
<include layout="@layout/media_overview_detail_text" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.AudioView
|
||||
android:id="@+id/audio"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
app:autoRewind="true"
|
||||
<FrameLayout
|
||||
android:id="@+id/audio_wrapper"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/dsl_settings_gutter"
|
||||
app:foregroundTintColor="@color/signal_inverse_primary"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="1"
|
||||
app:layout_constraintStart_toEndOf="@id/media_overview_text"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:progressAndPlayTint="@color/signal_background_secondary"
|
||||
app:audioView_mode="small" />
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<org.thoughtcrime.securesms.components.AudioView
|
||||
android:id="@+id/audio"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
app:audioView_mode="small"
|
||||
app:autoRewind="true"
|
||||
app:foregroundTintColor="@color/signal_inverse_primary"
|
||||
app:progressAndPlayTint="@color/signal_background_secondary" />
|
||||
</FrameLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
android:layout_marginEnd="16dp"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@+id/audio"
|
||||
app:layout_constraintEnd_toStartOf="@+id/audio_wrapper"
|
||||
app:layout_constraintStart_toEndOf="@+id/image_container"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_goneMarginEnd="@dimen/dsl_settings_gutter"
|
||||
|
|
Loading…
Add table
Reference in a new issue