From bfafad6c6584c02bd2230a3ef70eb52381bd71cb Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Thu, 23 Feb 2023 09:50:50 +0100 Subject: [PATCH] use icons in security preferences --- .../res/drawable/ic_assured_workload_24dp.xml | 33 ++++++++++++++----- .../res/drawable/ic_bluetooth_audio_24dp.xml | 13 +++++--- app/src/main/res/drawable/ic_call_24dp.xml | 13 +++++--- .../main/res/drawable/ic_call_end_24dp.xml | 13 +++++--- app/src/main/res/drawable/ic_chat_24dp.xml | 14 +++++--- app/src/main/res/drawable/ic_check_24dp.xml | 13 +++++--- app/src/main/res/drawable/ic_clear_24dp.xml | 13 +++++--- .../drawable/ic_flip_camera_android_24dp.xml | 21 ++++++++---- app/src/main/res/drawable/ic_headset_24dp.xml | 13 +++++--- app/src/main/res/drawable/ic_help_24dp.xml | 14 +++++--- app/src/main/res/drawable/ic_mic_24dp.xml | 13 +++++--- app/src/main/res/drawable/ic_mic_off_24dp.xml | 13 +++++--- .../drawable/ic_private_connectivity_24dp.xml | 13 +++++--- app/src/main/res/drawable/ic_replay_24dp.xml | 13 +++++--- .../main/res/drawable/ic_videocam_24dp.xml | 13 +++++--- .../res/drawable/ic_videocam_off_24dp.xml | 13 +++++--- .../main/res/drawable/ic_voicemail_24dp.xml | 13 +++++--- .../main/res/drawable/ic_volume_off_24dp.xml | 14 +++++--- .../main/res/drawable/ic_volume_up_24dp.xml | 14 +++++--- app/src/main/res/drawable/ic_warning_24dp.xml | 13 +++++--- app/src/main/res/values/strings.xml | 2 ++ app/src/main/res/xml/preferences_security.xml | 15 ++++++--- 22 files changed, 218 insertions(+), 91 deletions(-) diff --git a/app/src/main/res/drawable/ic_assured_workload_24dp.xml b/app/src/main/res/drawable/ic_assured_workload_24dp.xml index ea7c30902..0f8186df1 100644 --- a/app/src/main/res/drawable/ic_assured_workload_24dp.xml +++ b/app/src/main/res/drawable/ic_assured_workload_24dp.xml @@ -1,10 +1,25 @@ - - - - - - - + + + + + + + diff --git a/app/src/main/res/drawable/ic_bluetooth_audio_24dp.xml b/app/src/main/res/drawable/ic_bluetooth_audio_24dp.xml index 6f3bf7c40..6a0f53d3e 100644 --- a/app/src/main/res/drawable/ic_bluetooth_audio_24dp.xml +++ b/app/src/main/res/drawable/ic_bluetooth_audio_24dp.xml @@ -1,5 +1,10 @@ - - + + diff --git a/app/src/main/res/drawable/ic_call_24dp.xml b/app/src/main/res/drawable/ic_call_24dp.xml index f56f10fd4..2db8db1c5 100644 --- a/app/src/main/res/drawable/ic_call_24dp.xml +++ b/app/src/main/res/drawable/ic_call_24dp.xml @@ -1,5 +1,10 @@ - - + + diff --git a/app/src/main/res/drawable/ic_call_end_24dp.xml b/app/src/main/res/drawable/ic_call_end_24dp.xml index 6b4b22ae7..ddaee0cf5 100644 --- a/app/src/main/res/drawable/ic_call_end_24dp.xml +++ b/app/src/main/res/drawable/ic_call_end_24dp.xml @@ -1,5 +1,10 @@ - - + + diff --git a/app/src/main/res/drawable/ic_chat_24dp.xml b/app/src/main/res/drawable/ic_chat_24dp.xml index 956385a9b..382cad293 100644 --- a/app/src/main/res/drawable/ic_chat_24dp.xml +++ b/app/src/main/res/drawable/ic_chat_24dp.xml @@ -1,5 +1,11 @@ - - + + diff --git a/app/src/main/res/drawable/ic_check_24dp.xml b/app/src/main/res/drawable/ic_check_24dp.xml index cf143d4d5..7147cb1cc 100644 --- a/app/src/main/res/drawable/ic_check_24dp.xml +++ b/app/src/main/res/drawable/ic_check_24dp.xml @@ -1,5 +1,10 @@ - - + + diff --git a/app/src/main/res/drawable/ic_clear_24dp.xml b/app/src/main/res/drawable/ic_clear_24dp.xml index 844b6b62e..fad039529 100644 --- a/app/src/main/res/drawable/ic_clear_24dp.xml +++ b/app/src/main/res/drawable/ic_clear_24dp.xml @@ -1,5 +1,10 @@ - - + + diff --git a/app/src/main/res/drawable/ic_flip_camera_android_24dp.xml b/app/src/main/res/drawable/ic_flip_camera_android_24dp.xml index 9e8ac18ea..668e6ea66 100644 --- a/app/src/main/res/drawable/ic_flip_camera_android_24dp.xml +++ b/app/src/main/res/drawable/ic_flip_camera_android_24dp.xml @@ -1,7 +1,16 @@ - - - - + + + + diff --git a/app/src/main/res/drawable/ic_headset_24dp.xml b/app/src/main/res/drawable/ic_headset_24dp.xml index 7395711a1..0d94be766 100644 --- a/app/src/main/res/drawable/ic_headset_24dp.xml +++ b/app/src/main/res/drawable/ic_headset_24dp.xml @@ -1,5 +1,10 @@ - - + + diff --git a/app/src/main/res/drawable/ic_help_24dp.xml b/app/src/main/res/drawable/ic_help_24dp.xml index 0028ebdbf..b5bfbf9cc 100644 --- a/app/src/main/res/drawable/ic_help_24dp.xml +++ b/app/src/main/res/drawable/ic_help_24dp.xml @@ -1,5 +1,11 @@ - - + + diff --git a/app/src/main/res/drawable/ic_mic_24dp.xml b/app/src/main/res/drawable/ic_mic_24dp.xml index 5eb92eb31..9e240fdee 100644 --- a/app/src/main/res/drawable/ic_mic_24dp.xml +++ b/app/src/main/res/drawable/ic_mic_24dp.xml @@ -1,5 +1,10 @@ - - + + diff --git a/app/src/main/res/drawable/ic_mic_off_24dp.xml b/app/src/main/res/drawable/ic_mic_off_24dp.xml index e97571284..aefc6a6d3 100644 --- a/app/src/main/res/drawable/ic_mic_off_24dp.xml +++ b/app/src/main/res/drawable/ic_mic_off_24dp.xml @@ -1,5 +1,10 @@ - - + + diff --git a/app/src/main/res/drawable/ic_private_connectivity_24dp.xml b/app/src/main/res/drawable/ic_private_connectivity_24dp.xml index a78de42fb..0466d5119 100644 --- a/app/src/main/res/drawable/ic_private_connectivity_24dp.xml +++ b/app/src/main/res/drawable/ic_private_connectivity_24dp.xml @@ -1,5 +1,10 @@ - - + + diff --git a/app/src/main/res/drawable/ic_replay_24dp.xml b/app/src/main/res/drawable/ic_replay_24dp.xml index df3231b41..a5d0164b6 100644 --- a/app/src/main/res/drawable/ic_replay_24dp.xml +++ b/app/src/main/res/drawable/ic_replay_24dp.xml @@ -1,5 +1,10 @@ - - + + diff --git a/app/src/main/res/drawable/ic_videocam_24dp.xml b/app/src/main/res/drawable/ic_videocam_24dp.xml index 34b26df6f..ebda99616 100644 --- a/app/src/main/res/drawable/ic_videocam_24dp.xml +++ b/app/src/main/res/drawable/ic_videocam_24dp.xml @@ -1,5 +1,10 @@ - - + + diff --git a/app/src/main/res/drawable/ic_videocam_off_24dp.xml b/app/src/main/res/drawable/ic_videocam_off_24dp.xml index b573bbba1..a9076b685 100644 --- a/app/src/main/res/drawable/ic_videocam_off_24dp.xml +++ b/app/src/main/res/drawable/ic_videocam_off_24dp.xml @@ -1,5 +1,10 @@ - - + + diff --git a/app/src/main/res/drawable/ic_voicemail_24dp.xml b/app/src/main/res/drawable/ic_voicemail_24dp.xml index 7110cc416..6a8156496 100644 --- a/app/src/main/res/drawable/ic_voicemail_24dp.xml +++ b/app/src/main/res/drawable/ic_voicemail_24dp.xml @@ -1,5 +1,10 @@ - - + + diff --git a/app/src/main/res/drawable/ic_volume_off_24dp.xml b/app/src/main/res/drawable/ic_volume_off_24dp.xml index d7b0465cd..bc19e66a5 100644 --- a/app/src/main/res/drawable/ic_volume_off_24dp.xml +++ b/app/src/main/res/drawable/ic_volume_off_24dp.xml @@ -1,5 +1,11 @@ - - + + diff --git a/app/src/main/res/drawable/ic_volume_up_24dp.xml b/app/src/main/res/drawable/ic_volume_up_24dp.xml index 2551246f0..fc2919c78 100644 --- a/app/src/main/res/drawable/ic_volume_up_24dp.xml +++ b/app/src/main/res/drawable/ic_volume_up_24dp.xml @@ -1,5 +1,11 @@ - - + + diff --git a/app/src/main/res/drawable/ic_warning_24dp.xml b/app/src/main/res/drawable/ic_warning_24dp.xml index b1726a361..341726871 100644 --- a/app/src/main/res/drawable/ic_warning_24dp.xml +++ b/app/src/main/res/drawable/ic_warning_24dp.xml @@ -1,5 +1,10 @@ - - + + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 8c4c943ba..f92d89c8a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -437,6 +437,8 @@ Conversation closed Left private group chat Left public channel + Certificate authorities + Trust the system’s CA certificates Don’t trust system CAs All certificates must be manually approved Remove certificates diff --git a/app/src/main/res/xml/preferences_security.xml b/app/src/main/res/xml/preferences_security.xml index e170b3bab..e02fdc8fb 100644 --- a/app/src/main/res/xml/preferences_security.xml +++ b/app/src/main/res/xml/preferences_security.xml @@ -3,25 +3,32 @@ xmlns:app="http://schemas.android.com/apk/res-auto"> - + + android:title="@string/detect_mim" /> \ No newline at end of file