mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 13:38:49 +03:00
Fix touchable area to delete the voice message
This commit is contained in:
parent
2792d736f0
commit
a2671bc0d3
1 changed files with 2 additions and 4 deletions
|
@ -121,7 +121,6 @@
|
||||||
android:id="@+id/voiceMessagePlaybackLayout"
|
android:id="@+id/voiceMessagePlaybackLayout"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="44dp"
|
android:layout_height="44dp"
|
||||||
android:layout_marginStart="16dp"
|
|
||||||
android:layout_marginEnd="16dp"
|
android:layout_marginEnd="16dp"
|
||||||
android:layout_marginBottom="4dp"
|
android:layout_marginBottom="4dp"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
|
@ -133,8 +132,8 @@
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/voiceMessageDeletePlayback"
|
android:id="@+id/voiceMessageDeletePlayback"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="@dimen/layout_touch_size"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="0dp"
|
||||||
android:background="?android:attr/selectableItemBackground"
|
android:background="?android:attr/selectableItemBackground"
|
||||||
android:contentDescription="@string/a11y_delete_recorded_voice_message"
|
android:contentDescription="@string/a11y_delete_recorded_voice_message"
|
||||||
android:src="@drawable/ic_recycle_bin"
|
android:src="@drawable/ic_recycle_bin"
|
||||||
|
@ -147,7 +146,6 @@
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_marginStart="16dp"
|
|
||||||
android:background="@drawable/bg_voice_playback"
|
android:background="@drawable/bg_voice_playback"
|
||||||
android:backgroundTint="?vctr_voice_message_recording_playback_background"
|
android:backgroundTint="?vctr_voice_message_recording_playback_background"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
|
Loading…
Reference in a new issue