diff --git a/res/drawable/default_bottom_sheet_background.xml b/res/drawable/default_bottom_sheet_background.xml index 24809b2d43..4b8cb781e3 100644 --- a/res/drawable/default_bottom_sheet_background.xml +++ b/res/drawable/default_bottom_sheet_background.xml @@ -5,7 +5,9 @@ - + - + \ No newline at end of file diff --git a/res/drawable/default_dialog_background.xml b/res/drawable/default_dialog_background.xml index c0937a9d1d..fff764ebd5 100644 --- a/res/drawable/default_dialog_background.xml +++ b/res/drawable/default_dialog_background.xml @@ -7,5 +7,5 @@ - + \ No newline at end of file diff --git a/res/drawable/ic_baseline_folder_48.xml b/res/drawable/ic_baseline_folder_48.xml new file mode 100644 index 0000000000..f22a0be81e --- /dev/null +++ b/res/drawable/ic_baseline_folder_48.xml @@ -0,0 +1,5 @@ + + + diff --git a/res/drawable/ic_baseline_mic_48.xml b/res/drawable/ic_baseline_mic_48.xml new file mode 100644 index 0000000000..2ac4dd40a0 --- /dev/null +++ b/res/drawable/ic_baseline_mic_48.xml @@ -0,0 +1,5 @@ + + + diff --git a/res/drawable/ic_baseline_photo_camera_48.xml b/res/drawable/ic_baseline_photo_camera_48.xml new file mode 100644 index 0000000000..33acb83243 --- /dev/null +++ b/res/drawable/ic_baseline_photo_camera_48.xml @@ -0,0 +1,6 @@ + + + + diff --git a/res/drawable/permission_rationale_dialog_corners.xml b/res/drawable/permission_rationale_dialog_corners.xml index cce2c87f18..5c4923cb9f 100644 --- a/res/drawable/permission_rationale_dialog_corners.xml +++ b/res/drawable/permission_rationale_dialog_corners.xml @@ -3,5 +3,5 @@ - + \ No newline at end of file diff --git a/res/values-notnight/themes.xml b/res/values-notnight/themes.xml index 547d50d07b..178009a599 100644 --- a/res/values-notnight/themes.xml +++ b/res/values-notnight/themes.xml @@ -15,13 +15,14 @@ @color/gray78 light - @style/TextSecure.LightActionBar.TabBar - @color/action_bar_background - @color/action_bar_background - @color/accent - @color/accent - @color/text - @color/accent + + + + + + + + @style/AppCompatAlertDialogStyleLight @style/AppCompatDialogStyleLight @style/Theme.MaterialComponents.Light.BottomSheetDialog diff --git a/res/values/dimens.xml b/res/values/dimens.xml index c5659f4ce1..81794200db 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -30,7 +30,7 @@ 10dp 234dp 56dp - 8dp + 12dp 4dp 8dp 8dp diff --git a/res/values/themes.xml b/res/values/themes.xml index 67b18adb07..05a426921d 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -7,6 +7,9 @@ @color/action_bar_background @color/action_bar_background @color/accent + ?android:textColorPrimary + ?colorAccent + ?colorAccent @color/text ?android:textColorPrimary @color/unimportant @@ -24,9 +27,9 @@ @color/accent true ?android:textColorPrimary - ?android:textColorPrimary @style/Widget.Design.AppBarLayout + true @drawable/ic_baseline_clear_24 @color/compose_view_background @@ -106,7 +109,7 @@ @style/ThemeOverlay.AppCompat.Dark @color/action_bar_background @color/action_bar_background - @color/signal_primary_dark + @color/compose_view_background #d00000 @@ -382,12 +385,12 @@ - @color/text_color_dark_theme - @color/text_color_secondary_dark_theme - @color/accent - @color/accent - @color/text - @color/accent + + + + + + @color/compose_view_background @@ -544,12 +547,14 @@ @color/core_grey_85 - diff --git a/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java b/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java index 85469aef1e..01934be718 100644 --- a/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java +++ b/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java @@ -2535,7 +2535,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity Permissions.with(this) .request(Manifest.permission.RECORD_AUDIO) .ifNecessary() - .withRationaleDialog(getString(R.string.ConversationActivity_to_send_audio_messages_allow_signal_access_to_your_microphone), R.drawable.ic_mic_white_48dp) + .withRationaleDialog(getString(R.string.ConversationActivity_to_send_audio_messages_allow_signal_access_to_your_microphone), R.drawable.ic_baseline_mic_48) .withPermanentDenialDialog(getString(R.string.ConversationActivity_signal_requires_the_microphone_permission_in_order_to_send_audio_messages)) .execute(); } @@ -2736,7 +2736,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity Permissions.with(ConversationActivity.this) .request(Manifest.permission.CAMERA) .ifNecessary() - .withRationaleDialog(getString(R.string.ConversationActivity_to_capture_photos_and_video_allow_signal_access_to_the_camera), R.drawable.ic_photo_camera_white_48dp) + .withRationaleDialog(getString(R.string.ConversationActivity_to_capture_photos_and_video_allow_signal_access_to_the_camera), R.drawable.ic_baseline_photo_camera_48) .withPermanentDenialDialog(getString(R.string.ConversationActivity_signal_needs_the_camera_permission_to_take_photos_or_video)) .onAllGranted(() -> { composeText.clearFocus(); diff --git a/src/org/thoughtcrime/securesms/mediasend/MediaSendActivity.java b/src/org/thoughtcrime/securesms/mediasend/MediaSendActivity.java index a2e0e4190d..41324d4e61 100644 --- a/src/org/thoughtcrime/securesms/mediasend/MediaSendActivity.java +++ b/src/org/thoughtcrime/securesms/mediasend/MediaSendActivity.java @@ -376,7 +376,7 @@ public class MediaSendActivity extends PassphraseRequiredActionBarActivity imple Permissions.with(this) .request(Manifest.permission.CAMERA) .ifNecessary() - .withRationaleDialog(getString(R.string.ConversationActivity_to_capture_photos_and_video_allow_signal_access_to_the_camera), R.drawable.ic_photo_camera_white_48dp) + .withRationaleDialog(getString(R.string.ConversationActivity_to_capture_photos_and_video_allow_signal_access_to_the_camera), R.drawable.ic_baseline_photo_camera_48) .withPermanentDenialDialog(getString(R.string.ConversationActivity_signal_needs_the_camera_permission_to_take_photos_or_video)) .onAllGranted(() -> { Camera1Fragment fragment = getOrCreateCameraFragment(); diff --git a/src/org/thoughtcrime/securesms/registration/WelcomeActivity.java b/src/org/thoughtcrime/securesms/registration/WelcomeActivity.java index 3f56db3525..e9f8f2e026 100644 --- a/src/org/thoughtcrime/securesms/registration/WelcomeActivity.java +++ b/src/org/thoughtcrime/securesms/registration/WelcomeActivity.java @@ -56,7 +56,7 @@ public class WelcomeActivity extends BaseActionBarActivity { Permissions.with(this) .request(Manifest.permission.WRITE_EXTERNAL_STORAGE, Manifest.permission.READ_EXTERNAL_STORAGE) .ifNecessary() - .withRationaleDialog(getString(R.string.activity_landing_permission_dialog_message), R.drawable.ic_folder_white_48dp) + .withRationaleDialog(getString(R.string.activity_landing_permission_dialog_message), R.drawable.ic_baseline_folder_48) .onAnyResult(() -> { Intent nextIntent = getIntent().getParcelableExtra("next_intent");