diff options
Diffstat (limited to 'src/main/res/layout')
-rw-r--r-- | src/main/res/layout/dialog_message_details.xml | 61 |
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> |