From 0b673ef1ab7bccca3f9af5cf36bbd201e68aa83a Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Thu, 2 May 2024 10:56:39 +0200 Subject: [PATCH] set message input cursor color to text color --- src/main/res/drawable/cursor_on_tertiary_container.xml | 6 ++++++ src/main/res/layout/fragment_conversation.xml | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 src/main/res/drawable/cursor_on_tertiary_container.xml diff --git a/src/main/res/drawable/cursor_on_tertiary_container.xml b/src/main/res/drawable/cursor_on_tertiary_container.xml new file mode 100644 index 000000000..9a86446ec --- /dev/null +++ b/src/main/res/drawable/cursor_on_tertiary_container.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/main/res/layout/fragment_conversation.xml b/src/main/res/layout/fragment_conversation.xml index 34a2b969e..cfb280eb5 100644 --- a/src/main/res/layout/fragment_conversation.xml +++ b/src/main/res/layout/fragment_conversation.xml @@ -100,9 +100,10 @@ android:inputType="textShortMessage|textMultiLine|textCapSentences" android:maxLines="8" android:minHeight="32dp" + android:minLines="1" android:textColor="?colorOnTertiaryContainer" android:textColorHint="@color/hint_on_tertiary_container" - android:minLines="1"> + android:textCursorDrawable="@drawable/cursor_on_tertiary_container">