28 lines
1.8 KiB
XML
28 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:orientation="vertical" android:clickable="true" android:focusable="true">
|
|
<TextView
|
|
android:text="Sun, October 31, 2021, 10:43:12"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/detail_item_date_text"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginTop="10dp"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"/>
|
|
<TextView
|
|
android:text="This is a very very very long message. It could be as long as 1024 charaters, which is a lot more than you'd think. No, really so far this message is barely 180 characters long. I can't believe how long 1024 bytes are. This is outrageous. Oh you know what, I think I won't type the whole thing. This seems a little too long for a sample text. Well, anyway, it was nice chatting. So far this message is about 400 bytes long. So maybe just double what you see and that's that."
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/detail_item_message_text"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginBottom="10dp"
|
|
android:textColor="@color/primaryTextColor"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"/>
|
|
|
|
</LinearLayout>
|
|
|