From 86ea78b850620c614ec35f8091ce11f5865d355a Mon Sep 17 00:00:00 2001 From: AndraxDev Date: Wed, 13 Mar 2024 16:39:39 +0100 Subject: [PATCH] OLDE mode --- .idea/deploymentTargetSelector.xml | 4 +- app/build.gradle | 8 +- .../assistant/preferences/Preferences.kt | 18 ++ .../assistant/ui/activities/AboutActivity.kt | 56 ++++++ .../assistant/ui/activities/ChatActivity.kt | 159 ++++++++++++++++-- .../ui/activities/DocumentationActivity.kt | 32 ++++ .../assistant/ui/activities/MainActivity.kt | 42 ++++- .../ui/activities/PromptViewActivity.kt | 93 +++++++++- .../ui/activities/ReportAbuseActivity.kt | 61 ++++++- .../ui/activities/SettingsActivity.kt | 7 +- .../ui/activities/SettingsV2Activity.kt | 149 +++++++++++++--- .../ui/adapters/AbstractChatAdapter.kt | 25 ++- .../assistant/ui/adapters/AssistantAdapter.kt | 21 ++- .../assistant/ui/adapters/ChatAdapter.kt | 22 ++- .../ui/fragments/AssistantFragment.kt | 28 ++- .../assistant/ui/fragments/TileFragment.kt | 40 ++++- .../ui/fragments/tabs/ChatsListFragment.kt | 57 ++++++- .../ui/fragments/tabs/PromptsFragment.kt | 45 ++++- .../main/res/drawable/assistant_amoled.xml | 10 ++ .../res/drawable/btn_accent_24_amoled.xml | 10 ++ app/src/main/res/drawable/btn_accent_50.xml | 2 +- .../res/drawable/btn_accent_50_amoled.xml | 10 ++ .../drawable/btn_accent_icon_large_amoled.xml | 10 ++ .../res/drawable/btn_accent_tonal_amoled.xml | 10 ++ .../drawable/btn_accent_tonal_selector_v6.xml | 2 +- .../btn_accent_tonal_selector_v6_amoled.xml | 10 ++ .../drawable/btn_accent_tonal_v4_amoled.xml | 10 ++ .../main/res/drawable/btn_accent_tonal_v5.xml | 2 +- .../drawable/btn_accent_tonal_v5_amoled.xml | 10 ++ app/src/main/res/drawable/bubble_in.xml | 2 +- app/src/main/res/drawable/bubble_in_dark.xml | 10 ++ app/src/main/res/drawable/bubble_out.xml | 2 +- app/src/main/res/drawable/bubble_out_dark.xml | 10 ++ app/src/main/res/drawable/cat_all.xml | 2 +- app/src/main/res/drawable/cat_all_active.xml | 2 +- app/src/main/res/layout/activity_about.xml | 12 +- app/src/main/res/layout/activity_chat.xml | 1 + .../main/res/layout/activity_imageview.xml | 6 +- app/src/main/res/layout/activity_main.xml | 1 + .../res/layout/activity_report_prompt.xml | 4 +- .../main/res/layout/activity_settings_new.xml | 31 ++++ .../main/res/layout/activity_view_prompt.xml | 6 +- .../main/res/layout/fragment_assistant.xml | 26 +-- .../main/res/layout/fragment_chats_list.xml | 23 ++- app/src/main/res/layout/fragment_prompts.xml | 18 +- app/src/main/res/layout/fragment_tips.xml | 2 +- .../res/layout/view_assistant_bot_message.xml | 27 ++- .../layout/view_assistant_user_message.xml | 47 +++--- app/src/main/res/values-night-v31/colors.xml | 4 +- app/src/main/res/values-night-v31/themes.xml | 2 +- app/src/main/res/values-night/colors.xml | 14 +- app/src/main/res/values-v31/colors.xml | 2 + app/src/main/res/values-v31/themes.xml | 2 +- app/src/main/res/values/colors-amoled.xml | 12 ++ app/src/main/res/values/colors.xml | 18 +- 55 files changed, 1060 insertions(+), 179 deletions(-) create mode 100644 app/src/main/res/drawable/assistant_amoled.xml create mode 100644 app/src/main/res/drawable/btn_accent_24_amoled.xml create mode 100644 app/src/main/res/drawable/btn_accent_50_amoled.xml create mode 100644 app/src/main/res/drawable/btn_accent_icon_large_amoled.xml create mode 100644 app/src/main/res/drawable/btn_accent_tonal_amoled.xml create mode 100644 app/src/main/res/drawable/btn_accent_tonal_selector_v6_amoled.xml create mode 100644 app/src/main/res/drawable/btn_accent_tonal_v4_amoled.xml create mode 100644 app/src/main/res/drawable/btn_accent_tonal_v5_amoled.xml create mode 100644 app/src/main/res/drawable/bubble_in_dark.xml create mode 100644 app/src/main/res/drawable/bubble_out_dark.xml create mode 100644 app/src/main/res/values/colors-amoled.xml diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml index ac57769..12ddc54 100644 --- a/.idea/deploymentTargetSelector.xml +++ b/.idea/deploymentTargetSelector.xml @@ -4,10 +4,10 @@