Merge pull request #1514 from nextcloud/bugfix/noid/fixVoiceMessageRecordingForRtl

set layoutDirection for message input panel to ltr.
This commit is contained in:
Marcel Hibbe 2021-08-09 17:14:04 +02:00 committed by GitHub
commit 6750ad1212
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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