aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2015-10-04 20:34:52 +0200
committersteckbrief <steckbrief@chefmail.de>2015-10-04 20:34:52 +0200
commitdafb125a4f29226b6a3e8aa93de3d5163126c9ce (patch)
treea00f9d8ab4be053a13759a5368734121b17a9d89 /src/main/res/layout
parent0e272042d5d4080b12d2b4e543dfcd425779ae94 (diff)
Publishing additional information in message details dialog such as message type and message status
Diffstat (limited to 'src/main/res/layout')
-rw-r--r--src/main/res/layout/dialog_message_details.xml61
1 files changed, 51 insertions, 10 deletions
diff --git a/src/main/res/layout/dialog_message_details.xml b/src/main/res/layout/dialog_message_details.xml
index 67561ae7..4d63831e 100644
--- a/src/main/res/layout/dialog_message_details.xml
+++ b/src/main/res/layout/dialog_message_details.xml
@@ -11,7 +11,7 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="Time Sent:"
+ android:text="@string/dlg_msg_details_time_sent"
android:id="@+id/dlgMsgDetLblTimeSent" />
<TextView
android:layout_width="wrap_content"
@@ -20,19 +20,21 @@
android:width="200dp"
android:layout_alignParentTop="true"
android:layout_alignParentRight="true"
- android:layout_alignParentEnd="true" />
+ android:layout_alignParentEnd="true"
+ android:textAlignment="viewEnd"
+ android:gravity="end" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="Sender Resource:"
- android:id="@+id/dlgMsgDetLblSender"
+ android:text="@string/dlg_msg_details_msg_type"
+ android:id="@+id/dlgMsgDetLblMsgType"
android:layout_below="@+id/dlgMsgDetLblTimeSent" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:id="@+id/dlgMsgDetSender"
+ android:id="@+id/dlgMsgDetMsgType"
android:layout_below="@+id/dlgMsgDetTimeSent"
android:layout_alignRight="@+id/dlgMsgDetTimeSent"
android:layout_alignEnd="@+id/dlgMsgDetTimeSent"
@@ -42,7 +44,41 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="Receipient Resource:"
+ android:text="@string/dlg_msg_details_msg_status"
+ android:id="@+id/dlgMsgDetLblMsgStatus"
+ android:layout_below="@+id/dlgMsgDetLblMsgType" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:id="@+id/dlgMsgDetMsgStatus"
+ android:layout_below="@+id/dlgMsgDetMsgType"
+ android:layout_alignRight="@+id/dlgMsgDetMsgType"
+ android:layout_alignEnd="@+id/dlgMsgDetMsgType"
+ android:layout_alignParentRight="true"
+ android:layout_alignParentEnd="true" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/dlg_msg_details_sender_resource"
+ android:id="@+id/dlgMsgDetLblSender"
+ android:layout_below="@+id/dlgMsgDetLblMsgStatus" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:id="@+id/dlgMsgDetSender"
+ android:layout_below="@+id/dlgMsgDetMsgStatus"
+ android:layout_alignRight="@+id/dlgMsgDetMsgStatus"
+ android:layout_alignEnd="@+id/dlgMsgDetMsgStatus"
+ android:layout_alignParentRight="true"
+ android:layout_alignParentEnd="true" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/dlg_msg_details_receipient_resource"
android:id="@+id/dlgMsgDetLblReceipient"
android:layout_below="@+id/dlgMsgDetLblSender" />
@@ -63,7 +99,8 @@
android:layout_alignParentEnd="true"
android:stretchColumns="1"
android:background="@color/black87"
- android:id="@+id/dlgMsgDetFileTable">
+ android:id="@+id/dlgMsgDetFileTable"
+ android:visibility="gone">
<TableRow
android:layout_width="match_parent"
@@ -76,7 +113,7 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="File Details"
+ android:text="@string/dlg_msg_details_file_details"
android:layout_column="0"/>
</TableRow>
@@ -91,12 +128,14 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="Mime Type" />
+ android:text="@string/dlg_msg_details_file_mime" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=""
+ android:textAlignment="textEnd"
+ android:gravity="end"
android:id="@+id/dlgMsgDetFileMimeType" />
</TableRow>
@@ -111,12 +150,14 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="Size" />
+ android:text="@string/dlg_msg_details_file_size" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=""
+ android:textAlignment="textEnd"
+ android:gravity="end"
android:id="@+id/dlgMsgDetFileSize"/>
</TableRow>
</TableLayout>