set layoutDirection for message input panel to ltr. this will fix that voice messages can be recorded. only set the text input to layoutDirection=locale

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2021-08-09 15:45:10 +02:00
parent 951b1a2d82
commit f18ace3b80
No known key found for this signature in database
GPG Key ID: C793F8B59F43CE7B

View File

@ -31,7 +31,8 @@
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="4dp">
android:layout_marginEnd="4dp"
android:layoutDirection="ltr">
<include layout="@layout/item_message_quote"
android:layout_width="match_parent"
@ -66,7 +67,7 @@
<androidx.emoji.widget.EmojiEditText
android:id="@id/messageInput"
android:layout_width="match_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/quotedChatMessageView"
android:layout_centerHorizontal="true"
@ -77,6 +78,7 @@
android:lineSpacingMultiplier="1.2"
android:minHeight="48dp"
android:textAlignment="viewStart"
android:layoutDirection="locale"
tools:hint="@string/nc_hint_enter_a_message" />
<TextView