mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-26 23:25:20 +03:00
prevent text selection on messages
Resolves #1274 Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
563f476b35
commit
44533b889c
3 changed files with 10 additions and 5 deletions
|
@ -55,6 +55,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:textColor="@color/textColorMaxContrast"
|
||||
android:textIsSelectable="false"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<androidx.emoji.widget.EmojiTextView
|
||||
|
@ -62,7 +63,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:lineSpacingMultiplier="1.2"
|
||||
android:textIsSelectable="true"
|
||||
android:textIsSelectable="false"
|
||||
app:layout_alignSelf="flex_start"
|
||||
app:layout_flexGrow="1"
|
||||
app:layout_wrapBefore="true" />
|
||||
|
@ -73,6 +74,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/messageText"
|
||||
android:layout_marginStart="8dp"
|
||||
android:textIsSelectable="false"
|
||||
app:layout_alignSelf="center" />
|
||||
|
||||
</com.google.android.flexbox.FlexboxLayout>
|
||||
|
|
|
@ -50,8 +50,8 @@
|
|||
android:layout_alignWithParentIfMissing="true"
|
||||
android:lineSpacingMultiplier="1.2"
|
||||
android:textColorHighlight="@color/nc_grey"
|
||||
android:textIsSelectable="true"
|
||||
tools:text="Talk to ayou later!" />
|
||||
android:textIsSelectable="false"
|
||||
tools:text="Talk to you later!" />
|
||||
|
||||
<TextView
|
||||
android:id="@id/messageTime"
|
||||
|
@ -59,6 +59,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/messageText"
|
||||
android:layout_marginStart="8dp"
|
||||
android:textIsSelectable="false"
|
||||
app:layout_alignSelf="center"
|
||||
tools:text="10:35" />
|
||||
|
||||
|
@ -68,8 +69,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/messageTime"
|
||||
android:layout_marginStart="8dp"
|
||||
app:layout_alignSelf="center"
|
||||
android:contentDescription="@null" />
|
||||
android:contentDescription="@null"
|
||||
app:layout_alignSelf="center" />
|
||||
|
||||
</com.google.android.flexbox.FlexboxLayout>
|
||||
</RelativeLayout>
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
android:layout_toEndOf="@id/quoteColoredView"
|
||||
android:ellipsize="end"
|
||||
android:textColor="@color/textColorMaxContrast"
|
||||
android:textIsSelectable="false"
|
||||
android:textSize="12sp"
|
||||
tools:text="Jane Doe" />
|
||||
|
||||
|
@ -82,6 +83,7 @@
|
|||
android:layout_below="@id/quotedMessageImage"
|
||||
android:layout_alignStart="@id/quotedMessageAuthor"
|
||||
android:lineSpacingMultiplier="1.2"
|
||||
android:textIsSelectable="false"
|
||||
android:textSize="14sp"
|
||||
app:layout_alignSelf="flex_start"
|
||||
app:layout_flexGrow="1"
|
||||
|
|
Loading…
Reference in a new issue