set message input cursor color to text color
This commit is contained in:
parent
073a445a6d
commit
0b673ef1ab
6
src/main/res/drawable/cursor_on_tertiary_container.xml
Normal file
6
src/main/res/drawable/cursor_on_tertiary_container.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<size android:width="2dp" />
|
||||
<!-- width of the original cursor was measured on a Pixel 6a because it’s not documented anywhere -->
|
||||
<solid android:color="?colorOnTertiaryContainer" />
|
||||
</shape>
|
|
@ -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">
|
||||
|
||||
<requestFocus />
|
||||
</eu.siacs.conversations.ui.widget.EditMessage>
|
||||
|
|
Loading…
Reference in a new issue