You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-android/app/src/main/res/layout/activity_message_detail.xml

115 lines
4.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:background="@color/transparent"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingStart="@dimen/medium_spacing"
android:paddingTop="@dimen/very_large_spacing"
android:paddingEnd="@dimen/medium_spacing">
<TableLayout
android:id="@+id/metadata_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:shrinkColumns="1">
<TableRow
android:id="@+id/sent_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingHorizontal="@dimen/small_spacing">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/message_details_header__sent"
android:gravity="end"
android:textStyle="bold" />
<TextView
android:id="@+id/sent_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
tools:text="Jan 18, 2015, 12:29:37 AM GMT-08:00" />
</TableRow>
<TableRow
android:id="@+id/expires_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingHorizontal="@dimen/small_spacing"
android:layout_marginTop="@dimen/medium_spacing"
android:visibility="gone"
tools:visibility="visible">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/message_details_header__disappears"
android:gravity="end"
android:textStyle="bold"/>
<TextView
android:id="@+id/expires_in"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
tools:text="1 week"/>
</TableRow>
<TableRow
android:id="@+id/error_container"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingHorizontal="@dimen/small_spacing"
android:layout_marginTop="@dimen/medium_spacing">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/message_details_header__error"
android:gravity="end"
android:textStyle="bold"/>
<TextView
android:id="@+id/error_message"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:textIsSelectable="true"
tools:text="Send Failed"/>
</TableRow>
</TableLayout>
<LinearLayout
android:id="@+id/resend_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/very_large_spacing"
android:gravity="start">
<Button
android:id="@+id/resend_button"
android:layout_width="wrap_content"
android:layout_height="@dimen/medium_button_height"
style="@style/Widget.Session.Button.Common.ProminentOutline"
android:text="@string/message_recipients_list_item__resend" />
</LinearLayout>
</LinearLayout>
</LinearLayout>