From ac0a1c0bc18c7e3635541c448bce55498af6a58a Mon Sep 17 00:00:00 2001 From: Jake McGinty Date: Fri, 27 Feb 2015 11:07:20 -0800 Subject: [PATCH] Conflicts UI touch-ups: 1) Fix i18n and layout naming. 2) Error header for message details. 3) Add back button to message details. // FREEBIE Closes #2593 --- AndroidManifest.xml | 5 +- res/layout/message_details_header.xml | 133 ++++++++++-------- ...nt.xml => message_recipient_list_item.xml} | 4 +- res/values/strings.xml | 5 + .../securesms/MessageDetailsActivity.java | 16 ++- .../MessageDetailsRecipientAdapter.java | 2 +- 6 files changed, 101 insertions(+), 64 deletions(-) rename res/layout/{message_details_recipient.xml => message_recipient_list_item.xml} (96%) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 615d007ef5..f84544df4f 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -129,7 +129,10 @@ android:label="Message Details" android:windowSoftInputMode="stateUnchanged" android:launchMode="singleTask" - android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:parentActivityName=".ConversationListActivity"> + + - + - + android:visibility="gone" + android:textColor="#FFF44336" + android:textSize="16sp" + android:padding="5dp" + tools:visibility="visible" + android:text="@string/message_details_header__issues_need_your_attention" + android:textStyle="bold|italic" /> - + + + android:padding="@dimen/message_details_table_row_pad"> - + + + + + + + android:padding="@dimen/message_details_table_row_pad"> - + - + - + + + android:padding="@dimen/message_details_table_row_pad"> - + + + + + + + android:padding="@dimen/message_details_table_row_pad"> - + - + - - - - - - - - - - - - - + + \ No newline at end of file diff --git a/res/layout/message_details_recipient.xml b/res/layout/message_recipient_list_item.xml similarity index 96% rename from res/layout/message_details_recipient.xml rename to res/layout/message_recipient_list_item.xml index 4c5f2117a5..f334df1aad 100644 --- a/res/layout/message_details_recipient.xml +++ b/res/layout/message_recipient_list_item.xml @@ -67,7 +67,7 @@ android:paddingBottom="5dp" android:layout_gravity="center_vertical" android:drawableLeft="@drawable/ic_error_white_18dp" - android:text="FIX" + android:text="@string/message_recipients_list_item__verify" android:visibility="gone"/>