2015-01-15 21:35:35 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
2015-02-27 19:07:20 +00:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:orientation="vertical"
|
2020-01-16 03:35:51 +00:00
|
|
|
android:background="@color/transparent"
|
2015-02-27 19:07:20 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2015-01-15 21:35:35 +00:00
|
|
|
|
2015-03-24 20:37:57 +00:00
|
|
|
<FrameLayout android:id="@+id/item_container"
|
2015-02-27 19:07:20 +00:00
|
|
|
android:layout_width="match_parent"
|
2015-03-24 20:37:57 +00:00
|
|
|
android:layout_height="wrap_content"
|
2020-01-15 05:13:28 +00:00
|
|
|
android:paddingTop="@dimen/medium_spacing"
|
|
|
|
android:paddingBottom="@dimen/medium_spacing"
|
|
|
|
android:elevation="10dp" />
|
2015-03-24 20:37:57 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
2020-01-15 05:13:28 +00:00
|
|
|
android:paddingStart="@dimen/medium_spacing"
|
|
|
|
android:paddingEnd="@dimen/medium_spacing">
|
2015-03-24 20:37:57 +00:00
|
|
|
|
2018-10-11 23:45:22 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<TextView android:id="@+id/error_text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:textSize="16sp"
|
2020-01-15 05:13:28 +00:00
|
|
|
android:drawablePadding="12dp"
|
2018-10-11 23:45:22 +00:00
|
|
|
tools:visibility="visible"
|
|
|
|
android:text="@string/message_details_header__issues_need_your_attention"
|
2020-01-15 05:13:28 +00:00
|
|
|
android:drawableStart="@drawable/ic_error"
|
2020-01-16 03:35:51 +00:00
|
|
|
android:layout_gravity="center_vertical" />
|
2018-10-11 23:45:22 +00:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/resend_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="38sp"
|
2020-09-11 07:27:57 +00:00
|
|
|
style="@style/Widget.Session.Button.Common.ProminentOutline"
|
2019-03-20 22:52:14 +00:00
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingEnd="10dp"
|
2018-10-11 23:45:22 +00:00
|
|
|
android:paddingTop="5dp"
|
|
|
|
android:paddingBottom="5dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
2020-09-11 07:27:57 +00:00
|
|
|
android:drawableStart="@drawable/ic_baseline_refresh_24"
|
|
|
|
android:drawablePadding="4dp"
|
2018-10-11 23:45:22 +00:00
|
|
|
android:text="@string/message_recipients_list_item__resend"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2015-03-24 20:37:57 +00:00
|
|
|
|
|
|
|
<TableLayout android:id="@+id/metadata_container"
|
|
|
|
android:layout_width="match_parent"
|
2015-11-19 06:32:33 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:shrinkColumns="1">
|
2015-03-24 20:37:57 +00:00
|
|
|
|
|
|
|
<TableRow android:id="@+id/sent_container"
|
|
|
|
android:layout_width="match_parent"
|
2015-02-27 19:07:20 +00:00
|
|
|
android:layout_height="wrap_content"
|
2015-03-24 20:37:57 +00:00
|
|
|
android:padding="@dimen/message_details_table_row_pad">
|
2015-01-15 21:35:35 +00:00
|
|
|
|
2015-03-24 20:37:57 +00:00
|
|
|
<TextView android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/message_details_header__sent"
|
2019-03-20 22:52:14 +00:00
|
|
|
android:gravity="end"
|
2015-03-24 20:37:57 +00:00
|
|
|
android:textStyle="bold" />
|
2015-01-15 21:35:35 +00:00
|
|
|
|
2015-03-24 20:37:57 +00:00
|
|
|
<TextView android:id="@+id/sent_time"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-20 22:52:14 +00:00
|
|
|
android:layout_marginStart="@dimen/message_details_table_row_pad"
|
2015-11-19 06:32:33 +00:00
|
|
|
tools:text="Jan 18, 2015, 12:29:37 AM GMT-08:00" />
|
2015-01-15 21:35:35 +00:00
|
|
|
|
2015-03-24 20:37:57 +00:00
|
|
|
</TableRow>
|
2015-01-15 21:35:35 +00:00
|
|
|
|
2015-03-24 20:37:57 +00:00
|
|
|
<TableRow android:id="@+id/received_container"
|
|
|
|
android:layout_width="match_parent"
|
2015-02-27 19:07:20 +00:00
|
|
|
android:layout_height="wrap_content"
|
2015-03-24 20:37:57 +00:00
|
|
|
android:padding="@dimen/message_details_table_row_pad">
|
2015-01-15 21:35:35 +00:00
|
|
|
|
2015-03-24 20:37:57 +00:00
|
|
|
<TextView android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/message_details_header__received"
|
2019-03-20 22:52:14 +00:00
|
|
|
android:gravity="end"
|
2015-03-24 20:37:57 +00:00
|
|
|
android:textStyle="bold" />
|
2015-01-15 21:35:35 +00:00
|
|
|
|
2015-03-24 20:37:57 +00:00
|
|
|
<TextView android:id="@+id/received_time"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-20 22:52:14 +00:00
|
|
|
android:layout_marginStart="@dimen/message_details_table_row_pad"
|
2015-11-19 06:32:33 +00:00
|
|
|
tools:text="Jan 18, 2015, 12:31:15 AM GMT-08:00" />
|
2015-01-15 21:35:35 +00:00
|
|
|
|
2015-03-24 20:37:57 +00:00
|
|
|
</TableRow>
|
2015-01-15 21:35:35 +00:00
|
|
|
|
2016-08-16 03:23:56 +00:00
|
|
|
<TableRow android:id="@+id/expires_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="@dimen/message_details_table_row_pad"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<TextView android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-10-07 14:17:26 +00:00
|
|
|
android:text="@string/message_details_header__disappears"
|
2019-03-20 22:52:14 +00:00
|
|
|
android:gravity="end"
|
2016-08-16 03:23:56 +00:00
|
|
|
android:textStyle="bold"/>
|
|
|
|
|
|
|
|
<TextView android:id="@+id/expires_in"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-20 22:52:14 +00:00
|
|
|
android:layout_marginStart="@dimen/message_details_table_row_pad"
|
2016-08-16 03:23:56 +00:00
|
|
|
tools:text="1 week"/>
|
|
|
|
|
|
|
|
</TableRow>
|
|
|
|
|
2015-03-24 20:37:57 +00:00
|
|
|
<TableRow android:layout_width="wrap_content"
|
2015-02-27 19:07:20 +00:00
|
|
|
android:layout_height="wrap_content"
|
2015-03-24 20:37:57 +00:00
|
|
|
android:padding="@dimen/message_details_table_row_pad">
|
2015-01-15 21:35:35 +00:00
|
|
|
|
2015-03-24 20:37:57 +00:00
|
|
|
<TextView android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/message_details_header__via"
|
2019-03-20 22:52:14 +00:00
|
|
|
android:gravity="end"
|
2015-03-24 20:37:57 +00:00
|
|
|
android:textStyle="bold" />
|
2015-01-15 21:35:35 +00:00
|
|
|
|
2015-03-24 20:37:57 +00:00
|
|
|
<TextView android:id="@+id/transport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-20 22:52:14 +00:00
|
|
|
android:layout_marginStart="@dimen/message_details_table_row_pad"
|
2015-03-24 20:37:57 +00:00
|
|
|
tools:text="Push (TextSecure)" />
|
2015-01-15 21:35:35 +00:00
|
|
|
|
2015-03-24 20:37:57 +00:00
|
|
|
</TableRow>
|
2015-02-27 19:07:20 +00:00
|
|
|
|
2015-03-24 20:37:57 +00:00
|
|
|
<TableRow android:layout_width="wrap_content"
|
2015-02-27 19:07:20 +00:00
|
|
|
android:layout_height="wrap_content"
|
2015-03-24 20:37:57 +00:00
|
|
|
android:padding="@dimen/message_details_table_row_pad">
|
|
|
|
|
|
|
|
<TextView android:id="@+id/tofrom"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
tools:text="@string/message_details_header__to"
|
|
|
|
android:textStyle="bold" />
|
2015-01-15 21:35:35 +00:00
|
|
|
|
2015-03-24 20:37:57 +00:00
|
|
|
</TableRow>
|
2015-01-15 21:35:35 +00:00
|
|
|
|
2015-03-24 20:37:57 +00:00
|
|
|
</TableLayout>
|
|
|
|
</LinearLayout>
|
2020-09-17 01:39:34 +00:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/separator"
|
|
|
|
android:layout_width="match_parent"
|
2020-09-18 03:11:02 +00:00
|
|
|
android:layout_marginTop="@dimen/medium_spacing"
|
2020-09-17 01:39:34 +00:00
|
|
|
android:layout_height="1px"
|
|
|
|
android:background="?android:dividerHorizontal" />
|
|
|
|
|
2015-03-24 20:37:57 +00:00
|
|
|
</LinearLayout>
|