2019-12-17 13:27:59 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-12-19 10:15:58 +00:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-08-24 06:46:12 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-12-17 13:27:59 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-02-22 06:04:40 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2019-12-17 14:15:13 +00:00
|
|
|
android:background="@drawable/conversation_view_background"
|
2020-08-24 06:46:12 +00:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal">
|
2019-12-17 13:27:59 +00:00
|
|
|
|
|
|
|
<View
|
2020-07-16 01:20:39 +00:00
|
|
|
android:id="@+id/accentView"
|
2019-12-17 13:27:59 +00:00
|
|
|
android:layout_width="@dimen/accent_line_thickness"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/accent" />
|
2020-08-24 06:46:12 +00:00
|
|
|
|
2020-05-11 06:19:26 +00:00
|
|
|
<org.thoughtcrime.securesms.loki.views.ProfilePictureView
|
2019-12-17 15:24:42 +00:00
|
|
|
android:id="@+id/profilePictureView"
|
2019-12-17 13:27:59 +00:00
|
|
|
android:layout_width="@dimen/medium_profile_picture_size"
|
|
|
|
android:layout_height="@dimen/medium_profile_picture_size"
|
|
|
|
android:layout_marginTop="@dimen/medium_spacing"
|
2020-07-17 02:10:25 +00:00
|
|
|
android:layout_marginStart="@dimen/medium_spacing"
|
2019-12-17 15:24:42 +00:00
|
|
|
android:layout_marginBottom="@dimen/medium_spacing" />
|
2019-12-17 13:27:59 +00:00
|
|
|
|
2020-08-24 06:46:12 +00:00
|
|
|
<FrameLayout
|
2019-12-17 13:27:59 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-08-24 06:46:12 +00:00
|
|
|
android:layout_height="match_parent">
|
2019-12-17 13:27:59 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-08-24 06:46:12 +00:00
|
|
|
android:layout_marginStart="@dimen/medium_spacing"
|
|
|
|
android:layout_marginEnd="@dimen/medium_spacing"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:orientation="vertical">
|
2019-12-17 13:27:59 +00:00
|
|
|
|
2020-08-24 06:46:12 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2019-12-17 13:27:59 +00:00
|
|
|
android:layout_height="wrap_content"
|
2020-08-24 06:46:12 +00:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:gravity="center_vertical">
|
2019-12-19 10:15:58 +00:00
|
|
|
|
|
|
|
<TextView
|
2020-08-24 06:46:12 +00:00
|
|
|
android:id="@+id/btnGroupNameDisplay"
|
|
|
|
android:layout_width="0dp"
|
2019-12-19 10:15:58 +00:00
|
|
|
android:layout_height="wrap_content"
|
2020-08-24 06:46:12 +00:00
|
|
|
android:layout_weight="1"
|
2019-12-19 10:15:58 +00:00
|
|
|
android:maxLines="1"
|
|
|
|
android:ellipsize="end"
|
2020-08-24 06:46:12 +00:00
|
|
|
android:textAlignment="viewStart"
|
2019-12-19 10:15:58 +00:00
|
|
|
android:textSize="@dimen/medium_font_size"
|
2020-08-24 06:46:12 +00:00
|
|
|
android:textStyle="bold"
|
2019-12-19 10:15:58 +00:00
|
|
|
android:textColor="@color/text"
|
2021-02-22 06:04:40 +00:00
|
|
|
tools:text="I'm a very long display name. What are you going to do about it?" />
|
2019-12-19 10:15:58 +00:00
|
|
|
|
2020-08-24 06:46:12 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/timestampTextView"
|
2019-12-19 10:15:58 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-08-24 06:46:12 +00:00
|
|
|
android:layout_marginStart="@dimen/medium_spacing"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:textSize="@dimen/small_font_size"
|
|
|
|
android:textColor="@color/text"
|
|
|
|
android:alpha="0.4"
|
|
|
|
android:text="9:41 AM" />
|
2019-12-17 13:27:59 +00:00
|
|
|
|
2020-08-24 06:46:12 +00:00
|
|
|
</LinearLayout>
|
2019-12-17 13:27:59 +00:00
|
|
|
|
2020-08-24 06:46:12 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/muteIndicatorImageView"
|
|
|
|
android:layout_width="18dp"
|
|
|
|
android:layout_height="18dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:src="@drawable/ic_outline_notifications_off_24"
|
|
|
|
android:layout_marginTop="1dp"
|
|
|
|
android:layout_marginEnd="6dp" />
|
|
|
|
|
|
|
|
<RelativeLayout
|
2021-02-22 06:01:17 +00:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_width="0dp"
|
2020-08-24 06:46:12 +00:00
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/snippetTextView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:textSize="@dimen/medium_font_size"
|
|
|
|
android:textColor="@color/text"
|
2021-02-22 06:04:40 +00:00
|
|
|
tools:text="Sorry, gotta go fight crime again" />
|
2020-08-24 06:46:12 +00:00
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.TypingIndicatorView
|
|
|
|
android:id="@+id/typingIndicatorView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
app:typingIndicator_tint="@color/text" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/statusIndicatorImageView"
|
|
|
|
android:layout_width="@dimen/conversation_view_status_indicator_size"
|
|
|
|
android:layout_height="@dimen/conversation_view_status_indicator_size"
|
|
|
|
android:layout_marginStart="@dimen/medium_spacing" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2019-12-17 13:27:59 +00:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2020-08-24 06:46:12 +00:00
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1px"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:layout_marginStart="@dimen/medium_spacing"
|
|
|
|
android:background="?android:dividerHorizontal" />
|
|
|
|
|
|
|
|
</FrameLayout>
|
2019-12-17 13:27:59 +00:00
|
|
|
|
2019-12-17 15:24:42 +00:00
|
|
|
</LinearLayout>
|