From 0cdc6fd87d71558323339e857f0b3e0bd9a8e0af Mon Sep 17 00:00:00 2001 From: Jake McGinty Date: Wed, 19 Feb 2014 12:29:00 -0800 Subject: [PATCH] embrace the darkness, don't open quickcontact for groups // FREEBIE --- .../conversation_item_received_shape_dark.xml | 19 ++++++++++++++ ...tion_item_received_triangle_shape_dark.xml | 16 ++++++++++++ res/drawable/conversation_item_sent_shape.xml | 6 ++--- .../conversation_item_sent_shape_dark.xml | 19 ++++++++++++++ .../conversation_item_sent_triangle_shape.xml | 2 +- ...ersation_item_sent_triangle_shape_dark.xml | 16 ++++++++++++ .../conversation_list_divider_shape_dark.xml | 13 ++++++++++ res/layout/conversation_activity.xml | 2 +- res/layout/conversation_item_received.xml | 4 +-- res/layout/conversation_item_sent.xml | 4 +-- res/layout/conversation_list_fragment.xml | 4 +-- res/values/attrs.xml | 6 +++++ res/values/colors.xml | 4 +++ res/values/strings.xml | 1 + res/values/styles.xml | 14 ++++++++++ res/values/themes.xml | 22 ++++++++++++---- .../securesms/ConversationListItem.java | 26 ++++++++++++------- 17 files changed, 152 insertions(+), 26 deletions(-) create mode 100644 res/drawable/conversation_item_received_shape_dark.xml create mode 100644 res/drawable/conversation_item_received_triangle_shape_dark.xml create mode 100644 res/drawable/conversation_item_sent_shape_dark.xml create mode 100644 res/drawable/conversation_item_sent_triangle_shape_dark.xml create mode 100644 res/drawable/conversation_list_divider_shape_dark.xml diff --git a/res/drawable/conversation_item_received_shape_dark.xml b/res/drawable/conversation_item_received_shape_dark.xml new file mode 100644 index 0000000000..619499d0fa --- /dev/null +++ b/res/drawable/conversation_item_received_shape_dark.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/conversation_item_received_triangle_shape_dark.xml b/res/drawable/conversation_item_received_triangle_shape_dark.xml new file mode 100644 index 0000000000..d5e495a133 --- /dev/null +++ b/res/drawable/conversation_item_received_triangle_shape_dark.xml @@ -0,0 +1,16 @@ + + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/conversation_item_sent_shape.xml b/res/drawable/conversation_item_sent_shape.xml index 6f3b22fca0..1fbe63d482 100644 --- a/res/drawable/conversation_item_sent_shape.xml +++ b/res/drawable/conversation_item_sent_shape.xml @@ -10,10 +10,10 @@ - + - + - \ No newline at end of file + diff --git a/res/drawable/conversation_item_sent_shape_dark.xml b/res/drawable/conversation_item_sent_shape_dark.xml new file mode 100644 index 0000000000..d40ec16bad --- /dev/null +++ b/res/drawable/conversation_item_sent_shape_dark.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/conversation_item_sent_triangle_shape.xml b/res/drawable/conversation_item_sent_triangle_shape.xml index d957fbd96d..bb80a5ea92 100644 --- a/res/drawable/conversation_item_sent_triangle_shape.xml +++ b/res/drawable/conversation_item_sent_triangle_shape.xml @@ -9,7 +9,7 @@ + android:color="@color/conversation_item_sent_background_light" /> diff --git a/res/drawable/conversation_item_sent_triangle_shape_dark.xml b/res/drawable/conversation_item_sent_triangle_shape_dark.xml new file mode 100644 index 0000000000..bceba9587a --- /dev/null +++ b/res/drawable/conversation_item_sent_triangle_shape_dark.xml @@ -0,0 +1,16 @@ + + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/conversation_list_divider_shape_dark.xml b/res/drawable/conversation_list_divider_shape_dark.xml new file mode 100644 index 0000000000..7aa5dec2c5 --- /dev/null +++ b/res/drawable/conversation_list_divider_shape_dark.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/conversation_activity.xml b/res/layout/conversation_activity.xml index 532c320492..9a70f06683 100644 --- a/res/layout/conversation_activity.xml +++ b/res/layout/conversation_activity.xml @@ -75,7 +75,7 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" - android:background="?conversation_sent_text_primary_color"> + android:background="?conversation_editor_background"> + android:background="?conversation_item_received_triangle_background" /> - \ No newline at end of file + diff --git a/res/values/attrs.xml b/res/values/attrs.xml index eca1a1660a..b4b2a141b5 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -7,6 +7,7 @@ + @@ -28,6 +29,11 @@ + + + + + diff --git a/res/values/colors.xml b/res/values/colors.xml index d28f0e4579..ccf8919a75 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -13,4 +13,8 @@ #9933b5e5 + #ff284e0a + #ff64a926 + #ff284e0a + #ff284e0a \ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index 69218371af..61333d5b3d 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -48,6 +48,7 @@ Received and processed key exchange message. Error, received stale key exchange message. Received key exchange message, click to process. + Received a plaintext SMS while you have a secure session open. If they don\'t have a session open, messages you send will appear as garbled text. Click to terminate secure session. %1$s has left the group. %1$s have joined the group. %1$s has updated the group. diff --git a/res/values/styles.xml b/res/values/styles.xml index f283d020be..c4be38e5e1 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -9,6 +9,20 @@ @null + + + + + + -