diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 7dfcd2cb5b..087d944da2 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -98,7 +98,7 @@ android:largeHeap="true" android:networkSecurityConfig="@xml/network_security_configuration" android:supportsRtl="true" - android:theme="@style/TextSecure.DarkTheme" + android:theme="@style/Session.DarkTheme" tools:replace="android:allowBackup"> + + + + + + + + + + + + + + + + + + android:targetActivity="org.thoughtcrime.securesms.loki.redesign.activities.HomeActivity"> @@ -250,6 +289,7 @@ android:name="org.thoughtcrime.securesms.conversation.ConversationActivity" android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" android:launchMode="singleTask" + android:theme="@style/Session.DarkTheme.NoActionBar" android:parentActivityName="org.thoughtcrime.securesms.ConversationListActivity" android:windowSoftInputMode="stateUnchanged"> + android:theme="@style/Session.DarkTheme" /> - + + + \ No newline at end of file diff --git a/res/anim/slide_from_bottom.xml b/res/anim/slide_from_bottom.xml index a6febc21e1..1cdf41e2c7 100644 --- a/res/anim/slide_from_bottom.xml +++ b/res/anim/slide_from_bottom.xml @@ -1,7 +1,11 @@ - + + + android:duration="250" + android:fromYDelta="100%" + android:toYDelta="0%" /> + \ No newline at end of file diff --git a/res/anim/slide_from_left.xml b/res/anim/slide_from_left.xml index 7e00a0272f..0253917658 100644 --- a/res/anim/slide_from_left.xml +++ b/res/anim/slide_from_left.xml @@ -1,9 +1,12 @@ - + + + \ No newline at end of file diff --git a/res/anim/slide_from_right.xml b/res/anim/slide_from_right.xml index feeaaf7513..18de5567f5 100644 --- a/res/anim/slide_from_right.xml +++ b/res/anim/slide_from_right.xml @@ -1,9 +1,11 @@ + - + \ No newline at end of file diff --git a/res/drawable-anydpi-v24/ic_notification.xml b/res/drawable-anydpi-v24/ic_notification.xml index 16a8f44ff8..3394e4180f 100644 --- a/res/drawable-anydpi-v24/ic_notification.xml +++ b/res/drawable-anydpi-v24/ic_notification.xml @@ -1,15 +1,19 @@ - - - - + + + + diff --git a/res/drawable-hdpi/ic_arrow_up.png b/res/drawable-hdpi/ic_arrow_up.png new file mode 100644 index 0000000000..049dfa4e81 Binary files /dev/null and b/res/drawable-hdpi/ic_arrow_up.png differ diff --git a/res/drawable-hdpi/ic_notification.png b/res/drawable-hdpi/ic_notification.png index 533399d126..6ef38a0b8a 100644 Binary files a/res/drawable-hdpi/ic_notification.png and b/res/drawable-hdpi/ic_notification.png differ diff --git a/res/drawable-mdpi/ic_arrow_up.png b/res/drawable-mdpi/ic_arrow_up.png new file mode 100644 index 0000000000..f1303d14d9 Binary files /dev/null and b/res/drawable-mdpi/ic_arrow_up.png differ diff --git a/res/drawable-mdpi/ic_notification.png b/res/drawable-mdpi/ic_notification.png index e8598325dd..276e9268f2 100644 Binary files a/res/drawable-mdpi/ic_notification.png and b/res/drawable-mdpi/ic_notification.png differ diff --git a/res/drawable-xhdpi/ic_arrow_up.png b/res/drawable-xhdpi/ic_arrow_up.png new file mode 100644 index 0000000000..58525ede27 Binary files /dev/null and b/res/drawable-xhdpi/ic_arrow_up.png differ diff --git a/res/drawable-xhdpi/ic_notification.png b/res/drawable-xhdpi/ic_notification.png index cf00d2407a..ebcd1d56af 100644 Binary files a/res/drawable-xhdpi/ic_notification.png and b/res/drawable-xhdpi/ic_notification.png differ diff --git a/res/drawable-xxhdpi/ic_arrow_up.png b/res/drawable-xxhdpi/ic_arrow_up.png new file mode 100644 index 0000000000..7c0c106380 Binary files /dev/null and b/res/drawable-xxhdpi/ic_arrow_up.png differ diff --git a/res/drawable-xxhdpi/ic_notification.png b/res/drawable-xxhdpi/ic_notification.png index b2da66255e..eac022bd0b 100644 Binary files a/res/drawable-xxhdpi/ic_notification.png and b/res/drawable-xxhdpi/ic_notification.png differ diff --git a/res/drawable-xxxhdpi/ic_arrow_up.png b/res/drawable-xxxhdpi/ic_arrow_up.png new file mode 100644 index 0000000000..e44b0815c9 Binary files /dev/null and b/res/drawable-xxxhdpi/ic_arrow_up.png differ diff --git a/res/drawable/compose_background_dark.xml b/res/drawable/compose_background_dark.xml index e4a6237f43..56859db153 100644 --- a/res/drawable/compose_background_dark.xml +++ b/res/drawable/compose_background_dark.xml @@ -4,11 +4,11 @@ android:shape="rectangle"> + android:width="1px" + android:color="@color/separator" /> + android:color="@color/compose_text_view_background" /> diff --git a/res/drawable/conversation_view_background.xml b/res/drawable/conversation_view_background.xml new file mode 100644 index 0000000000..ee5f321c99 --- /dev/null +++ b/res/drawable/conversation_view_background.xml @@ -0,0 +1,9 @@ + + + + + + + \ No newline at end of file diff --git a/res/drawable/default_dialog_background.xml b/res/drawable/default_dialog_background.xml new file mode 100644 index 0000000000..b97c837b83 --- /dev/null +++ b/res/drawable/default_dialog_background.xml @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/default_dialog_background_inset.xml b/res/drawable/default_dialog_background_inset.xml new file mode 100644 index 0000000000..b67cfb0b73 --- /dev/null +++ b/res/drawable/default_dialog_background_inset.xml @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/res/drawable/default_session_background.xml b/res/drawable/default_session_background.xml new file mode 100644 index 0000000000..c6e75f86e6 --- /dev/null +++ b/res/drawable/default_session_background.xml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/res/drawable/default_session_progress.xml b/res/drawable/default_session_progress.xml new file mode 100644 index 0000000000..bfef55831b --- /dev/null +++ b/res/drawable/default_session_progress.xml @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/res/drawable/destructive_dialog_button_background.xml b/res/drawable/destructive_dialog_button_background.xml new file mode 100644 index 0000000000..9d3ac00b07 --- /dev/null +++ b/res/drawable/destructive_dialog_button_background.xml @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/fake_chat_view_incoming_message_background.xml b/res/drawable/fake_chat_view_incoming_message_background.xml new file mode 100644 index 0000000000..69acee1173 --- /dev/null +++ b/res/drawable/fake_chat_view_incoming_message_background.xml @@ -0,0 +1,9 @@ + + + + + + + \ No newline at end of file diff --git a/res/drawable/fake_chat_view_outgoing_message_background.xml b/res/drawable/fake_chat_view_outgoing_message_background.xml new file mode 100644 index 0000000000..fe79c4b40f --- /dev/null +++ b/res/drawable/fake_chat_view_outgoing_message_background.xml @@ -0,0 +1,9 @@ + + + + + + + \ No newline at end of file diff --git a/res/drawable/ic_circle_check.xml b/res/drawable/ic_circle_check.xml new file mode 100644 index 0000000000..a258b5c30c --- /dev/null +++ b/res/drawable/ic_circle_check.xml @@ -0,0 +1,7 @@ + + + + diff --git a/res/drawable/ic_circle_dot_dot_dot.xml b/res/drawable/ic_circle_dot_dot_dot.xml new file mode 100644 index 0000000000..28ecaa1fbe --- /dev/null +++ b/res/drawable/ic_circle_dot_dot_dot.xml @@ -0,0 +1,7 @@ + + + + diff --git a/res/drawable/ic_circle_plus.xml b/res/drawable/ic_circle_plus.xml new file mode 100644 index 0000000000..b222f9a9ae --- /dev/null +++ b/res/drawable/ic_circle_plus.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/drawable/ic_filled_circle_check.xml b/res/drawable/ic_filled_circle_check.xml new file mode 100644 index 0000000000..c45e603d4c --- /dev/null +++ b/res/drawable/ic_filled_circle_check.xml @@ -0,0 +1,5 @@ + + + + diff --git a/res/drawable/ic_gear.xml b/res/drawable/ic_gear.xml new file mode 100644 index 0000000000..8c53726c5a --- /dev/null +++ b/res/drawable/ic_gear.xml @@ -0,0 +1,12 @@ + + + + diff --git a/res/drawable/ic_globe.xml b/res/drawable/ic_globe.xml new file mode 100644 index 0000000000..3d3d6500a8 --- /dev/null +++ b/res/drawable/ic_globe.xml @@ -0,0 +1,4 @@ + + + diff --git a/res/drawable/ic_launcher_foreground.xml b/res/drawable/ic_launcher_foreground.xml index 6f3372527e..a3203d25e9 100644 --- a/res/drawable/ic_launcher_foreground.xml +++ b/res/drawable/ic_launcher_foreground.xml @@ -1,11 +1,15 @@ - - - + android:viewportWidth="1018.39685" + android:viewportHeight="1019.1061"> + + + + + diff --git a/res/drawable/ic_microphone.xml b/res/drawable/ic_microphone.xml new file mode 100644 index 0000000000..ec9f8e76f2 --- /dev/null +++ b/res/drawable/ic_microphone.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/drawable/ic_mute.xml b/res/drawable/ic_mute.xml new file mode 100644 index 0000000000..2f6d3c2950 --- /dev/null +++ b/res/drawable/ic_mute.xml @@ -0,0 +1,9 @@ + + + diff --git a/res/drawable/ic_plus_24.xml b/res/drawable/ic_plus_24.xml index d287574e12..68e2e9571a 100644 --- a/res/drawable/ic_plus_24.xml +++ b/res/drawable/ic_plus_24.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/res/drawable/ic_qr_code.xml b/res/drawable/ic_qr_code.xml new file mode 100644 index 0000000000..00ab0f639f --- /dev/null +++ b/res/drawable/ic_qr_code.xml @@ -0,0 +1,240 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/drawable/media_count_button_background.xml b/res/drawable/media_count_button_background.xml index be4d965cfc..57cfd3a85c 100644 --- a/res/drawable/media_count_button_background.xml +++ b/res/drawable/media_count_button_background.xml @@ -1,5 +1,5 @@ - + diff --git a/res/drawable/mediarail_media_outline.xml b/res/drawable/mediarail_media_outline.xml index 8b6e4ec97f..6b6f5a68a2 100644 --- a/res/drawable/mediarail_media_outline.xml +++ b/res/drawable/mediarail_media_outline.xml @@ -4,5 +4,5 @@ + android:color="@color/accent"/> \ No newline at end of file diff --git a/res/drawable/mention_candidate_view_background.xml b/res/drawable/mention_candidate_view_background.xml new file mode 100644 index 0000000000..af9549d111 --- /dev/null +++ b/res/drawable/mention_candidate_view_background.xml @@ -0,0 +1,9 @@ + + + + + + + \ No newline at end of file diff --git a/res/drawable/new_conversation_button_background.xml b/res/drawable/new_conversation_button_background.xml new file mode 100644 index 0000000000..be48173893 --- /dev/null +++ b/res/drawable/new_conversation_button_background.xml @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/res/drawable/new_conversation_button_foreground.xml b/res/drawable/new_conversation_button_foreground.xml new file mode 100644 index 0000000000..44bb8f9675 --- /dev/null +++ b/res/drawable/new_conversation_button_foreground.xml @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/res/drawable/permission_rationale_dialog_corners.xml b/res/drawable/permission_rationale_dialog_corners.xml index 749c9a74bc..cce2c87f18 100644 --- a/res/drawable/permission_rationale_dialog_corners.xml +++ b/res/drawable/permission_rationale_dialog_corners.xml @@ -1,5 +1,7 @@ - - + + + + \ No newline at end of file diff --git a/res/drawable/pill.xml b/res/drawable/pill.xml index be4d965cfc..57cfd3a85c 100644 --- a/res/drawable/pill.xml +++ b/res/drawable/pill.xml @@ -1,5 +1,5 @@ - + diff --git a/res/drawable/profile_picture_view_large_background.xml b/res/drawable/profile_picture_view_large_background.xml new file mode 100644 index 0000000000..bfc404e25f --- /dev/null +++ b/res/drawable/profile_picture_view_large_background.xml @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/profile_picture_view_large_foreground.xml b/res/drawable/profile_picture_view_large_foreground.xml new file mode 100644 index 0000000000..18cac49b38 --- /dev/null +++ b/res/drawable/profile_picture_view_large_foreground.xml @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/profile_picture_view_medium_background.xml b/res/drawable/profile_picture_view_medium_background.xml new file mode 100644 index 0000000000..287d6298e2 --- /dev/null +++ b/res/drawable/profile_picture_view_medium_background.xml @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/profile_picture_view_medium_foreground.xml b/res/drawable/profile_picture_view_medium_foreground.xml new file mode 100644 index 0000000000..e62cfbe3fb --- /dev/null +++ b/res/drawable/profile_picture_view_medium_foreground.xml @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/profile_picture_view_rss_medium_background.xml b/res/drawable/profile_picture_view_rss_medium_background.xml new file mode 100644 index 0000000000..b060c41b4b --- /dev/null +++ b/res/drawable/profile_picture_view_rss_medium_background.xml @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/profile_picture_view_small_background.xml b/res/drawable/profile_picture_view_small_background.xml new file mode 100644 index 0000000000..2f44fefe9f --- /dev/null +++ b/res/drawable/profile_picture_view_small_background.xml @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/profile_picture_view_small_foreground.xml b/res/drawable/profile_picture_view_small_foreground.xml new file mode 100644 index 0000000000..98d2b0a4e7 --- /dev/null +++ b/res/drawable/profile_picture_view_small_foreground.xml @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/prominent_dialog_button_background.xml b/res/drawable/prominent_dialog_button_background.xml new file mode 100644 index 0000000000..de3409d482 --- /dev/null +++ b/res/drawable/prominent_dialog_button_background.xml @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/prominent_filled_button_medium_background.xml b/res/drawable/prominent_filled_button_medium_background.xml new file mode 100644 index 0000000000..9e4eeed50c --- /dev/null +++ b/res/drawable/prominent_filled_button_medium_background.xml @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/prominent_outline_button_medium_background.xml b/res/drawable/prominent_outline_button_medium_background.xml new file mode 100644 index 0000000000..b5f3dc5355 --- /dev/null +++ b/res/drawable/prominent_outline_button_medium_background.xml @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/scroll_to_bottom_button_background.xml b/res/drawable/scroll_to_bottom_button_background.xml new file mode 100644 index 0000000000..68e512346c --- /dev/null +++ b/res/drawable/scroll_to_bottom_button_background.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/res/drawable/session_edit_text_background.xml b/res/drawable/session_edit_text_background.xml new file mode 100644 index 0000000000..3d6f49d7aa --- /dev/null +++ b/res/drawable/session_edit_text_background.xml @@ -0,0 +1,12 @@ + + + + + + + + \ No newline at end of file diff --git a/res/drawable/session_edit_text_cursor.xml b/res/drawable/session_edit_text_cursor.xml new file mode 100644 index 0000000000..af3edcf4de --- /dev/null +++ b/res/drawable/session_edit_text_cursor.xml @@ -0,0 +1,9 @@ + + + + + + + + \ No newline at end of file diff --git a/res/drawable/session_id_text_view_background.xml b/res/drawable/session_id_text_view_background.xml new file mode 100644 index 0000000000..3d6f49d7aa --- /dev/null +++ b/res/drawable/session_id_text_view_background.xml @@ -0,0 +1,12 @@ + + + + + + + + \ No newline at end of file diff --git a/res/drawable/session_logo.xml b/res/drawable/session_logo.xml new file mode 100644 index 0000000000..f88a4f21a9 --- /dev/null +++ b/res/drawable/session_logo.xml @@ -0,0 +1,9 @@ + + + + + + diff --git a/res/drawable/setting_button_background.xml b/res/drawable/setting_button_background.xml new file mode 100644 index 0000000000..ee5f321c99 --- /dev/null +++ b/res/drawable/setting_button_background.xml @@ -0,0 +1,9 @@ + + + + + + + \ No newline at end of file diff --git a/res/drawable/sticky_date_header_background_dark.xml b/res/drawable/sticky_date_header_background_dark.xml index 554dd74efa..d17517d372 100644 --- a/res/drawable/sticky_date_header_background_dark.xml +++ b/res/drawable/sticky_date_header_background_dark.xml @@ -4,5 +4,6 @@ android:shape="rectangle"> - + + \ No newline at end of file diff --git a/res/drawable/unimportant_dialog_button_background.xml b/res/drawable/unimportant_dialog_button_background.xml new file mode 100644 index 0000000000..a1d03bb009 --- /dev/null +++ b/res/drawable/unimportant_dialog_button_background.xml @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/unimportant_filled_button_medium_background.xml b/res/drawable/unimportant_filled_button_medium_background.xml new file mode 100644 index 0000000000..4880fd4fed --- /dev/null +++ b/res/drawable/unimportant_filled_button_medium_background.xml @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/unimportant_outline_button_medium_background.xml b/res/drawable/unimportant_outline_button_medium_background.xml new file mode 100644 index 0000000000..81471826c3 --- /dev/null +++ b/res/drawable/unimportant_outline_button_medium_background.xml @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/font/roboto_light.ttf b/res/font/roboto_light.ttf new file mode 100644 index 0000000000..13bf13af00 Binary files /dev/null and b/res/font/roboto_light.ttf differ diff --git a/res/font/space_mono_bold.ttf b/res/font/space_mono_bold.ttf new file mode 100644 index 0000000000..4acd36ac38 Binary files /dev/null and b/res/font/space_mono_bold.ttf differ diff --git a/res/font/space_mono_regular.ttf b/res/font/space_mono_regular.ttf new file mode 100644 index 0000000000..28d7ff7177 Binary files /dev/null and b/res/font/space_mono_regular.ttf differ diff --git a/res/layout-sw400dp/activity_display_name_v2.xml b/res/layout-sw400dp/activity_display_name_v2.xml new file mode 100644 index 0000000000..00bafed0aa --- /dev/null +++ b/res/layout-sw400dp/activity_display_name_v2.xml @@ -0,0 +1,59 @@ + + + + + + + + + + + + + +