From 8737a5a4714a768c9ad36dbc360ac543ed867a39 Mon Sep 17 00:00:00 2001
From: Tucan444 <66880425+Tucan444@users.noreply.github.com>
Date: Wed, 21 Apr 2021 11:34:03 +0200
Subject: [PATCH] more changes
---
.../src/debug/res/values/google_maps_api.xml | 2 +-
.../java/com/example/wikispot/Extentions.kt | 18 +-
.../wikispot/activities/MainActivity.kt | 40 +-
.../wikispot/adapters/ChatMessagesAdapter.kt | 16 +-
.../wikispot/databases/NamesDatabase.kt | 1004 +++++++++++++++++
.../wikispot/fragments/chatFragment.kt | 158 ++-
.../wikispot/fragments/debugFragment.kt | 15 +-
.../wikispot/fragments/homeFragment.kt | 5 +
.../wikispot/modelClasses/JsonManager.kt | 10 +-
.../wikispot/modelClasses/ServerManager.kt | 171 ++-
.../modelsForAdapters/ExploreListModel.kt | 9 +-
.../modelsForAdapters/MessagesListModel.kt | 48 +-
.../example/wikispot/projectScopeVariables.kt | 14 +-
.../chat_fragment_gradient_background.xml | 2 +-
.../main/res/drawable/ic_baseline_send_24.xml | 11 +
.../src/main/res/layout/explore_list_item.xml | 1 +
.../app/src/main/res/layout/file_view.xml | 16 +-
.../app/src/main/res/layout/fragment_chat.xml | 41 +-
.../src/main/res/layout/fragment_debug.xml | 46 +-
.../app/src/main/res/layout/fragment_home.xml | 25 +-
.../src/main/res/layout/fragment_settings.xml | 3 +-
.../app/src/main/res/layout/message.xml | 8 +-
.../navigation/main_activity_navigation.xml | 2 +-
.../src/main/res/values-de-rDE/strings.xml | 11 +
.../src/main/res/values-ja-rJP/strings.xml | 11 +
.../src/main/res/values-ru-rRU/strings.xml | 11 +
.../src/main/res/values-sk-rSK/strings.xml | 11 +
.../app/src/main/res/values/attrs.xml | 5 +-
.../app/src/main/res/values/colors.xml | 46 +-
.../app/src/main/res/values/strings.xml | 3 +-
.../app/src/main/res/values/themes.xml | 10 +-
31 files changed, 1647 insertions(+), 126 deletions(-)
create mode 100644 app/WikiSpot/app/src/main/java/com/example/wikispot/databases/NamesDatabase.kt
create mode 100644 app/WikiSpot/app/src/main/res/drawable/ic_baseline_send_24.xml
create mode 100644 app/WikiSpot/app/src/main/res/values-de-rDE/strings.xml
create mode 100644 app/WikiSpot/app/src/main/res/values-ja-rJP/strings.xml
create mode 100644 app/WikiSpot/app/src/main/res/values-ru-rRU/strings.xml
create mode 100644 app/WikiSpot/app/src/main/res/values-sk-rSK/strings.xml
diff --git a/app/WikiSpot/app/src/debug/res/values/google_maps_api.xml b/app/WikiSpot/app/src/debug/res/values/google_maps_api.xml
index 47b8de0..8fd5918 100644
--- a/app/WikiSpot/app/src/debug/res/values/google_maps_api.xml
+++ b/app/WikiSpot/app/src/debug/res/values/google_maps_api.xml
@@ -1,6 +1,6 @@
+
@@ -12,10 +12,13 @@
+
+
+
diff --git a/app/WikiSpot/app/src/main/res/values/colors.xml b/app/WikiSpot/app/src/main/res/values/colors.xml
index 0ce8b37..8173213 100644
--- a/app/WikiSpot/app/src/main/res/values/colors.xml
+++ b/app/WikiSpot/app/src/main/res/values/colors.xml
@@ -26,10 +26,13 @@
#FCB0EF
#9ECFFF
#9FE7FF
+ #7FFFFFFF
+ #FFF
#A1DEFC
#A5CBFF
#F9B6F6
+ #fff
#83E1FF
#9EC6FF
@@ -55,32 +58,35 @@
#FFB571
#320747
#33222222
- #4527A0
+ #000000
- #80E5BEFF
- #80FFB5F0
+ #80A185B4
+ #80926789
- #FCDD94
- #C5F8AB
+ #9F8B5D
+ #749265
- #FCB0EF
- #9ECFFF
- #9FE7FF
+ #885E81
+ #516B85
+ #5E8A99
+ #D43E3E3E
+ #444
- #A1DEFC
- #A5CBFF
- #F9B6F6
+ #587A8B
+ #657C9C
+ #896488
+ #636363
- #83E1FF
- #9EC6FF
- #FEBBFF
+ #4F889A
+ #647EA3
+ #977098
- #92EB97FC
- #A198F9
- #74C7F7
+ #92875691
+ #6863A2
+ #4B7F9D
- #FFB6FB
- #A7D2FF
- #96E7FF
+ #966B94
+ #69829D
+ #54818E
\ No newline at end of file
diff --git a/app/WikiSpot/app/src/main/res/values/strings.xml b/app/WikiSpot/app/src/main/res/values/strings.xml
index 84f32d6..185853b 100644
--- a/app/WikiSpot/app/src/main/res/values/strings.xml
+++ b/app/WikiSpot/app/src/main/res/values/strings.xml
@@ -6,7 +6,6 @@
Map
Settings
- Hello blank fragment
-
Files
+ Dark theme
\ No newline at end of file
diff --git a/app/WikiSpot/app/src/main/res/values/themes.xml b/app/WikiSpot/app/src/main/res/values/themes.xml
index c1cf6c6..78ffe00 100644
--- a/app/WikiSpot/app/src/main/res/values/themes.xml
+++ b/app/WikiSpot/app/src/main/res/values/themes.xml
@@ -12,7 +12,7 @@
- @color/secondaryVariant
- @color/onSecondary
-
+
- @color/textBackgroundGradientStartColor
- @color/textBackgroundGradientEndColor
@@ -23,10 +23,13 @@
- @color/chatFragmentGradientStartColor
- @color/chatFragmentGradientCenterColor
- @color/chatFragmentGradientEndColor
+ - @color/chatFragmentBgStrokeColor
+ - @color/chatFragmentWriteBarBgColor
- @color/exploreFragmentGradientStartColor
- @color/exploreFragmentGradientCenterColor
- @color/exploreFragmentGradientEndColor
+ - @color/exploreFragmentListItemBackgroundColor
- @color/homeFragmentGradientStartColor
- @color/homeFragmentGradientCenterColor
@@ -70,7 +73,7 @@
- @color/secondaryVariantDark
- @color/onSecondaryDark
-
+
- @color/textBackgroundGradientStartColorDark
- @color/textBackgroundGradientEndColorDark
@@ -81,10 +84,13 @@
- @color/chatFragmentGradientStartColorDark
- @color/chatFragmentGradientCenterColorDark
- @color/chatFragmentGradientEndColorDark
+ - @color/chatFragmentBgStrokeColorDark
+ - @color/chatFragmentWriteBarBgColorDark
- @color/exploreFragmentGradientStartColorDark
- @color/exploreFragmentGradientCenterColorDark
- @color/exploreFragmentGradientEndColorDark
+ - @color/exploreFragmentListItemBackgroundColorDark
- @color/homeFragmentGradientStartColorDark
- @color/homeFragmentGradientCenterColorDark