From 8a775f43cc1ce3a277e8875da66a57eac353088d Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Sat, 23 Jul 2022 16:25:00 -0700 Subject: [PATCH] Improve the Night Theme blue button color. https://redmine.stoutner.com/issues/879 --- .../main/assets/ru/guide_local_storage.html | 19 +- .../main/assets/ru/guide_tracking_ids.html | 6 +- .../fragments/DomainSettingsFragment.java | 166 +++++------------- ...day.xml => button_background_selector.xml} | 4 +- .../button_text_color_selector_night.xml | 25 --- ...ector_day.xml => button_text_selector.xml} | 4 +- ...selector.xml => checked_text_selector.xml} | 2 +- ...tor_night.xml => yellow_icon_selector.xml} | 9 +- .../layout/appbar_spinner_dropdown_item.xml | 2 +- .../databaseview_spinner_dropdown_items.xml | 2 +- .../res/layout/domain_settings_fragment.xml | 6 + .../layout/import_export_bottom_appbar.xml | 4 +- .../res/layout/import_export_top_appbar.xml | 4 +- .../requests_appbar_spinner_dropdown_item.xml | 2 +- .../res/layout/spinner_dropdown_items.xml | 2 +- app/src/main/res/values-night-v27/styles.xml | 2 - app/src/main/res/values-night/colors.xml | 4 + app/src/main/res/values-night/styles.xml | 2 - app/src/main/res/values-ru/strings.xml | 4 + app/src/main/res/values-v27/styles.xml | 2 - app/src/main/res/values/attrs.xml | 2 - app/src/main/res/values/colors.xml | 4 + app/src/main/res/values/styles.xml | 2 - 23 files changed, 92 insertions(+), 187 deletions(-) rename app/src/main/res/color/{button_background_color_selector_day.xml => button_background_selector.xml} (92%) delete mode 100644 app/src/main/res/color/button_text_color_selector_night.xml rename app/src/main/res/color/{button_text_color_selector_day.xml => button_text_selector.xml} (86%) rename app/src/main/res/color/{checked_text_color_selector.xml => checked_text_selector.xml} (93%) rename app/src/main/res/color/{button_background_color_selector_night.xml => yellow_icon_selector.xml} (72%) diff --git a/app/src/main/assets/ru/guide_local_storage.html b/app/src/main/assets/ru/guide_local_storage.html index aedd1e53..11881203 100644 --- a/app/src/main/assets/ru/guide_local_storage.html +++ b/app/src/main/assets/ru/guide_local_storage.html @@ -43,11 +43,12 @@

Почти все сайты с логинами требуют, чтобы для авторизации пользователя были включены cookie. Именно так они удостоверяются, что это все еще вы, когда переходите со страницы на страницу на сайте, и, на мой взгляд, это единственное законное использование файлов cookie.

-

Android's System WebView treats cookies as an app level setting, meaning that cookies are either on or off for all tabs in Privacy Browser. - The result is that the cookies setting for whatever tab is currently displayed controls the cookies setting for all the background tabs as well. - If you have a tab in that background that has cookies enabled so that you can be logged into a website, and switch to a tab that doesn't have cookies enabled, it disabled cookies for all the tabs. - If the background tab makes a request, for example, to see if there is updated information, that request will be sent without cookies, which will cause the website to log you out. - This is a limitation that will be removed with the release of Privacy WebView in the 4.x series.

+

Android System WebView рассматривает cookie как настройку на уровне приложения, что означает, что cookie либо включены, либо выключены для всех вкладок в Privacy Browser. + В результате настройка cookie для той вкладки, которая отображается в данный момент, управляет настройками cookies для всех фоновых вкладок. + Если у вас есть фоновая вкладка, на которой включены cookie, чтобы вы могли войти на сайт, и вы переключаетесь на вкладку, на которой cookie не включены, + это приведет к отключению cookies для всех вкладок. + Если фоновая вкладка делает запрос, например, чтобы узнать, есть ли обновленная информация, этот запрос будет отправлен без файлов cookie, что приведет к разлогиниванию. + Это ограничение будет устранено с выходом Privacy WebView в версии 4.x.

Если cookie включены и при этом JavaScript отключен, то значок конфиденциальности будет желтого цвета в качестве предупреждения.

@@ -76,10 +77,10 @@ Таким образом, элементы управления данными формы больше не отображаются на новых Android-устройствах.

-

Clear and Exit

+

Очистить и выйти

-

Clear and Exit runs every time the last tab is closed or Clear and Exit is selected from the navigation menu. - By default it clears the cookies, DOM storage, form data, the logcat, and the WebView cache. Then it manually deletes the entire app_webview and cache directories. - The behavior of Clear and Exit can be configured in the settings.

+

Функция Очистить и выйти запускается каждый раз при закрытии последней вкладки или выборе Очистить и выйти из меню навигации. + По умолчанию очищаются cookie, DOM-хранилище, данные формы, logcat и кэш WebView. Затем происходит ручное удаление всех каталогов app_webview и cache. + Поведение опции Очистить и выйти можно настроить в настройках.

\ No newline at end of file diff --git a/app/src/main/assets/ru/guide_tracking_ids.html b/app/src/main/assets/ru/guide_tracking_ids.html index da525822..2b44c55d 100644 --- a/app/src/main/assets/ru/guide_tracking_ids.html +++ b/app/src/main/assets/ru/guide_tracking_ids.html @@ -38,8 +38,8 @@

Модификация URL

-

Privacy Browser removes tracking IDs and AMP (Accelerated Mobile Pages) redirects from URL queries. - There is a blog post that is updated with the current list of modifications. - URL modification can be turned off in the settings if it is causing issues.

+

Privacy Browser удаляет идентификаторы отслеживания и перенаправления AMP (Accelerated Mobile Pages) из URL. + В блоге опубликован обновляемый актуальный список модификаций. + Модификация URL может быть отключена в настройках, если она вызывает проблемы.

\ No newline at end of file diff --git a/app/src/main/java/com/stoutner/privacybrowser/fragments/DomainSettingsFragment.java b/app/src/main/java/com/stoutner/privacybrowser/fragments/DomainSettingsFragment.java index 365a4f79..89f8513e 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/fragments/DomainSettingsFragment.java +++ b/app/src/main/java/com/stoutner/privacybrowser/fragments/DomainSettingsFragment.java @@ -363,82 +363,11 @@ public class DomainSettingsFragment extends Fragment { } }); - // Set the JavaScript switch status. - if (javaScriptInt == 1) { // JavaScript is enabled. - javaScriptSwitch.setChecked(true); - javaScriptImageView.setImageDrawable(ResourcesCompat.getDrawable(resources, R.drawable.javascript_enabled, null)); - } else { // JavaScript is disabled. - javaScriptSwitch.setChecked(false); - javaScriptImageView.setImageDrawable(ResourcesCompat.getDrawable(resources, R.drawable.privacy_mode, null)); - } - - // Set the cookies switch status. Once the minimum API >= 21 a selector can be used as the tint mode instead of specifying different icons. - // Doing this makes no sense until it can also be done with the preferences. - if (cookiesInt == 1) { // Cookies are enabled. - // Turn the switch on. - cookiesSwitch.setChecked(true); - - // Set the icon. - cookiesImageView.setImageDrawable(ResourcesCompat.getDrawable(resources, R.drawable.cookies_enabled, null)); - } else { // Cookies are disabled. - // Turn the switch off - cookiesSwitch.setChecked(false); - - // Set the icon. - cookiesImageView.setImageDrawable(ResourcesCompat.getDrawable(resources, R.drawable.cookies_disabled, null)); - } - - // Only enable DOM storage if JavaScript is enabled. - if (javaScriptInt == 1) { // JavaScript is enabled. - // Enable the DOM storage switch. - domStorageSwitch.setEnabled(true); - - // Set the DOM storage status. Once the minimum API >= 21 a selector can be used as the tint mode instead of specifying different icons. - // Doing this makes no sense until it can also be done with the preferences. - if (domStorageInt == 1) { // Both JavaScript and DOM storage are enabled. - domStorageSwitch.setChecked(true); - domStorageImageView.setImageDrawable(ResourcesCompat.getDrawable(resources, R.drawable.dom_storage_enabled, null)); - } else { // JavaScript is enabled but DOM storage is disabled. - // Set the DOM storage switch to off. - domStorageSwitch.setChecked(false); - - // Set the icon. - domStorageImageView.setImageDrawable(ResourcesCompat.getDrawable(resources, R.drawable.dom_storage_disabled, null)); - } - } else { // JavaScript is disabled. - // Disable the DOM storage switch. - domStorageSwitch.setEnabled(false); - - // Set the checked status of DOM storage. - domStorageSwitch.setChecked(domStorageInt == 1); - - // Set the icon. - domStorageImageView.setImageDrawable(ResourcesCompat.getDrawable(resources, R.drawable.dom_storage_ghosted, null)); - } - - // Set the form data visibility. Form data can be removed once the minimum API >= 26. - if (Build.VERSION.SDK_INT >= 26) { // Form data no longer applies to newer versions of Android. - // Hide the form data image view and switch. - formDataImageView.setVisibility(View.GONE); - formDataSwitch.setVisibility(View.GONE); - } else { // Form data should be displayed because this is an older version of Android. - if (formDataInt == 1) { // Form data is on. - // Turn the form data switch on. - formDataSwitch.setChecked(true); - - // Set the form data icon. - formDataImageView.setImageDrawable(ResourcesCompat.getDrawable(resources, R.drawable.form_data_enabled, null)); - } else { // Form data is off. - // Turn the form data switch to off. - formDataSwitch.setChecked(false); - - // Set the icon. Once the minimum API >= 21 a selector can be used as the tint mode instead of specifying different icons. - // Doing this makes no sense until it can also be done with the preferences. - formDataImageView.setImageDrawable(ResourcesCompat.getDrawable(resources, R.drawable.form_data_disabled, null)); - } - } - // Set the switch positions. + javaScriptSwitch.setChecked(javaScriptInt == 1); + cookiesSwitch.setChecked(cookiesInt == 1); + domStorageSwitch.setChecked(domStorageInt == 1); + formDataSwitch.setChecked(formDataInt == 1); // Form data can be removed once the minimum API >= 26. easyListSwitch.setChecked(easyListInt == 1); easyPrivacySwitch.setChecked(easyPrivacyInt == 1); fanboysAnnoyanceListSwitch.setChecked(fanboysAnnoyanceListInt == 1); @@ -446,8 +375,13 @@ public class DomainSettingsFragment extends Fragment { ultraListSwitch.setChecked(ultraListInt == 1); ultraPrivacySwitch.setChecked(ultraPrivacyInt == 1); blockAllThirdPartyRequestsSwitch.setChecked(blockAllThirdPartyRequestsInt == 1); + pinnedSslCertificateSwitch.setChecked(pinnedSslCertificateInt == 1); + pinnedIpAddressesSwitch.setChecked(pinnedIpAddressesInt == 1); // Set the switch icon colors. + cookiesImageView.setSelected(cookiesInt == 1); + domStorageImageView.setSelected(domStorageInt == 1); + formDataImageView.setSelected(formDataInt == 1); // Form data can be removed once the minimum API >= 26. easyListImageView.setSelected(easyListInt == 1); easyPrivacyImageView.setSelected(easyPrivacyInt == 1); fanboysAnnoyanceListImageView.setSelected(fanboysAnnoyanceListInt == 1); @@ -455,6 +389,27 @@ public class DomainSettingsFragment extends Fragment { ultraListImageView.setSelected(ultraListInt == 1); ultraPrivacyImageView.setSelected(ultraPrivacyInt == 1); blockAllThirdPartyRequestsImageView.setSelected(blockAllThirdPartyRequestsInt == 1); + pinnedSslCertificateImageView.setSelected(pinnedSslCertificateInt == 1); + pinnedIpAddressesImageView.setSelected(pinnedIpAddressesInt == 1); + + // Set the JavaScript icon. + if (javaScriptInt == 1) + javaScriptImageView.setImageDrawable(ResourcesCompat.getDrawable(resources, R.drawable.javascript_enabled, null)); + else + javaScriptImageView.setImageDrawable(ResourcesCompat.getDrawable(resources, R.drawable.privacy_mode, null)); + + // Set the DOM storage switch status based on the JavaScript status. + domStorageSwitch.setEnabled(javaScriptInt == 1); + + // Set the DOM storage icon ghosted status based on the JavaScript status. + domStorageImageView.setEnabled(javaScriptInt == 1); + + // Set the form data visibility. Form data can be removed once the minimum API >= 26. + if (Build.VERSION.SDK_INT >= 26) { + // Hide the form data image view and switch. + formDataImageView.setVisibility(View.GONE); + formDataSwitch.setVisibility(View.GONE); + } // Set Fanboy's Social Blocking List switch status based on the Annoyance List status. fanboysSocialBlockingListSwitch.setEnabled(fanboysAnnoyanceListInt == 0); @@ -829,14 +784,6 @@ public class DomainSettingsFragment extends Fragment { displayWebpageImagesSpinner.performClick(); }); - // Set the switch positions. - pinnedSslCertificateSwitch.setChecked(pinnedSslCertificateInt == 1); - pinnedIpAddressesSwitch.setChecked(pinnedIpAddressesInt == 1); - - // Set the switch icon colors. - pinnedSslCertificateImageView.setSelected(pinnedSslCertificateInt == 1); - pinnedIpAddressesImageView.setSelected(pinnedIpAddressesInt == 1); - // Store the current date. Date currentDate = Calendar.getInstance().getTime(); @@ -1051,63 +998,36 @@ public class DomainSettingsFragment extends Fragment { // Set the JavaScript switch listener. javaScriptSwitch.setOnCheckedChangeListener((CompoundButton buttonView, boolean isChecked) -> { - if (isChecked) { // JavaScript is enabled. - // Update the JavaScript icon. + // Update the JavaScript icon. + if (isChecked) javaScriptImageView.setImageDrawable(ResourcesCompat.getDrawable(resources, R.drawable.javascript_enabled, null)); - - // Enable the DOM storage `Switch`. - domStorageSwitch.setEnabled(true); - - // Update the DOM storage icon. - if (domStorageSwitch.isChecked()) { // DOM storage is enabled. - domStorageImageView.setImageDrawable(ResourcesCompat.getDrawable(resources, R.drawable.dom_storage_enabled, null)); - } else { // DOM storage is disabled. - // Set the icon. - domStorageImageView.setImageDrawable(ResourcesCompat.getDrawable(resources, R.drawable.dom_storage_disabled, null)); - } - } else { // JavaScript is disabled. - // Update the JavaScript icon. + else javaScriptImageView.setImageDrawable(ResourcesCompat.getDrawable(resources, R.drawable.privacy_mode, null)); - // Disable the DOM storage switch. - domStorageSwitch.setEnabled(false); + // Set the DOM storage switch status. + domStorageSwitch.setEnabled(isChecked); - // Set the DOM storage icon. - domStorageImageView.setImageDrawable(ResourcesCompat.getDrawable(resources, R.drawable.dom_storage_ghosted, null)); - } + // Set the DOM storage ghosted icon status. + domStorageImageView.setEnabled(isChecked); }); // Set the cookies switch listener. cookiesSwitch.setOnCheckedChangeListener((CompoundButton buttonView, boolean isChecked) -> { - // Update the cookies icon. - if (isChecked) { - cookiesImageView.setImageDrawable(ResourcesCompat.getDrawable(resources, R.drawable.cookies_enabled, null)); - } else { - cookiesImageView.setImageDrawable(ResourcesCompat.getDrawable(resources, R.drawable.cookies_disabled, null)); - } + // Update the icon color. + cookiesImageView.setSelected(isChecked); }); // Set the DOM Storage switch listener. domStorageSwitch.setOnCheckedChangeListener((CompoundButton buttonView, boolean isChecked) -> { - // Update the icon. - if (isChecked) { - domStorageImageView.setImageDrawable(ResourcesCompat.getDrawable(resources, R.drawable.dom_storage_enabled, null)); - } else { - // Set the icon. - domStorageImageView.setImageDrawable(ResourcesCompat.getDrawable(resources, R.drawable.dom_storage_disabled, null)); - } + // Update the icon color. + domStorageImageView.setSelected(isChecked); }); // Set the form data switch listener. It can be removed once the minimum API >= 26. if (Build.VERSION.SDK_INT < 26) { formDataSwitch.setOnCheckedChangeListener((CompoundButton buttonView, boolean isChecked) -> { - // Update the icon. - if (isChecked) { - formDataImageView.setImageDrawable(ResourcesCompat.getDrawable(resources, R.drawable.form_data_enabled, null)); - } else { - // Set the icon. - formDataImageView.setImageDrawable(ResourcesCompat.getDrawable(resources, R.drawable.form_data_disabled, null)); - } + // Update the icon color. + formDataImageView.setSelected(isChecked); }); } diff --git a/app/src/main/res/color/button_background_color_selector_day.xml b/app/src/main/res/color/button_background_selector.xml similarity index 92% rename from app/src/main/res/color/button_background_color_selector_day.xml rename to app/src/main/res/color/button_background_selector.xml index 5311c8e7..a21d2724 100644 --- a/app/src/main/res/color/button_background_color_selector_day.xml +++ b/app/src/main/res/color/button_background_selector.xml @@ -20,6 +20,6 @@ - - + + \ No newline at end of file diff --git a/app/src/main/res/color/button_text_color_selector_night.xml b/app/src/main/res/color/button_text_color_selector_night.xml deleted file mode 100644 index a9e8d567..00000000 --- a/app/src/main/res/color/button_text_color_selector_night.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/color/button_text_color_selector_day.xml b/app/src/main/res/color/button_text_selector.xml similarity index 86% rename from app/src/main/res/color/button_text_color_selector_day.xml rename to app/src/main/res/color/button_text_selector.xml index d5960721..ed2ecacc 100644 --- a/app/src/main/res/color/button_text_color_selector_day.xml +++ b/app/src/main/res/color/button_text_selector.xml @@ -20,6 +20,6 @@ - - + + \ No newline at end of file diff --git a/app/src/main/res/color/checked_text_color_selector.xml b/app/src/main/res/color/checked_text_selector.xml similarity index 93% rename from app/src/main/res/color/checked_text_color_selector.xml rename to app/src/main/res/color/checked_text_selector.xml index 6175d5c4..c76e7239 100644 --- a/app/src/main/res/color/checked_text_color_selector.xml +++ b/app/src/main/res/color/checked_text_selector.xml @@ -21,5 +21,5 @@ - + \ No newline at end of file diff --git a/app/src/main/res/color/button_background_color_selector_night.xml b/app/src/main/res/color/yellow_icon_selector.xml similarity index 72% rename from app/src/main/res/color/button_background_color_selector_night.xml rename to app/src/main/res/color/yellow_icon_selector.xml index a7618b22..4b8a91d8 100644 --- a/app/src/main/res/color/button_background_color_selector_night.xml +++ b/app/src/main/res/color/yellow_icon_selector.xml @@ -1,7 +1,7 @@ - + - - + + + \ No newline at end of file diff --git a/app/src/main/res/layout/appbar_spinner_dropdown_item.xml b/app/src/main/res/layout/appbar_spinner_dropdown_item.xml index e6772924..f282449b 100644 --- a/app/src/main/res/layout/appbar_spinner_dropdown_item.xml +++ b/app/src/main/res/layout/appbar_spinner_dropdown_item.xml @@ -45,5 +45,5 @@ android:paddingTop="8dp" android:paddingBottom="8dp" android:textSize="18sp" - android:textColor="@color/checked_text_color_selector" /> + android:textColor="@color/checked_text_selector" /> \ No newline at end of file diff --git a/app/src/main/res/layout/databaseview_spinner_dropdown_items.xml b/app/src/main/res/layout/databaseview_spinner_dropdown_items.xml index fa3196f6..87c16a52 100644 --- a/app/src/main/res/layout/databaseview_spinner_dropdown_items.xml +++ b/app/src/main/res/layout/databaseview_spinner_dropdown_items.xml @@ -45,5 +45,5 @@ android:paddingTop="8dp" android:paddingBottom="8dp" android:textSize="18sp" - android:textColor="@color/checked_text_color_selector" /> + android:textColor="@color/checked_text_selector" /> \ No newline at end of file diff --git a/app/src/main/res/layout/domain_settings_fragment.xml b/app/src/main/res/layout/domain_settings_fragment.xml index c6be32b2..b741aed0 100644 --- a/app/src/main/res/layout/domain_settings_fragment.xml +++ b/app/src/main/res/layout/domain_settings_fragment.xml @@ -121,6 +121,8 @@ android:layout_marginTop="1dp" android:layout_marginEnd="10dp" android:layout_gravity="center_vertical" + android:src="@drawable/cookies_enabled" + app:tint="@color/yellow_icon_selector" tools:ignore="contentDescription" /> + app:backgroundTint="@color/button_background_selector" + android:textColor="@color/button_text_selector" /> diff --git a/app/src/main/res/layout/import_export_top_appbar.xml b/app/src/main/res/layout/import_export_top_appbar.xml index a970ca79..3140bd1d 100644 --- a/app/src/main/res/layout/import_export_top_appbar.xml +++ b/app/src/main/res/layout/import_export_top_appbar.xml @@ -220,8 +220,8 @@ android:text="@string/import_button" android:textSize="18sp" android:onClick="importExport" - app:backgroundTint="?attr/buttonBackgroundColorSelector" - android:textColor="?attr/buttonTextColorSelector" /> + app:backgroundTint="@color/button_background_selector" + android:textColor="@color/button_text_selector" /> diff --git a/app/src/main/res/layout/requests_appbar_spinner_dropdown_item.xml b/app/src/main/res/layout/requests_appbar_spinner_dropdown_item.xml index df16ebed..bb3421fa 100644 --- a/app/src/main/res/layout/requests_appbar_spinner_dropdown_item.xml +++ b/app/src/main/res/layout/requests_appbar_spinner_dropdown_item.xml @@ -31,4 +31,4 @@ android:paddingTop="8dp" android:paddingBottom="8dp" android:textSize="18sp" - android:textColor="@color/checked_text_color_selector" /> \ No newline at end of file + android:textColor="@color/checked_text_selector" /> \ No newline at end of file diff --git a/app/src/main/res/layout/spinner_dropdown_items.xml b/app/src/main/res/layout/spinner_dropdown_items.xml index d531cc96..aea349c1 100644 --- a/app/src/main/res/layout/spinner_dropdown_items.xml +++ b/app/src/main/res/layout/spinner_dropdown_items.xml @@ -31,4 +31,4 @@ android:paddingTop="8dp" android:paddingBottom="8dp" android:textSize="18sp" - android:textColor="@color/checked_text_color_selector" /> \ No newline at end of file + android:textColor="@color/checked_text_selector" /> \ No newline at end of file diff --git a/app/src/main/res/values-night-v27/styles.xml b/app/src/main/res/values-night-v27/styles.xml index bf43d837..3e505dbe 100644 --- a/app/src/main/res/values-night-v27/styles.xml +++ b/app/src/main/res/values-night-v27/styles.xml @@ -29,8 +29,6 @@ ?android:attr/colorBackground @color/violet_700 - @color/button_background_color_selector_night - @color/button_text_color_selector_night @color/violet_500 @color/red_900 diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index 39633670..3fede875 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -21,9 +21,13 @@ @color/violet_700 + @color/violet_700 @color/violet_500 @color/violet_500 @color/violet_500 + ?android:attr/textColorPrimary + @color/gray_750 + @color/gray_500 @color/gray_500 @color/gray_700 @color/white diff --git a/app/src/main/res/values-night/styles.xml b/app/src/main/res/values-night/styles.xml index 3ad61ec9..77e1470a 100644 --- a/app/src/main/res/values-night/styles.xml +++ b/app/src/main/res/values-night/styles.xml @@ -27,8 +27,6 @@ ?android:attr/colorBackground @color/violet_700 - @color/button_background_color_selector_night - @color/button_text_color_selector_night @color/violet_500 @color/red_900 diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 38386032..21c8eea2 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -502,6 +502,10 @@ Блокировать все сторонние запросы Блокировка всех сторонних запросов повышает конфиденциальность, но ломает многие веб-сайты. Модификация URL + Параметры отслеживания + Удалять известные параметры отслеживания из URL. + Перенаправления AMP + Удалять перенаправляющие параметры из URL известных AMP (Accelerated Mobil Pages). Поиск Mojeek diff --git a/app/src/main/res/values-v27/styles.xml b/app/src/main/res/values-v27/styles.xml index 1a670d41..e9833d6f 100644 --- a/app/src/main/res/values-v27/styles.xml +++ b/app/src/main/res/values-v27/styles.xml @@ -29,8 +29,6 @@ ?android:attr/colorBackground @color/blue_200 - @color/button_background_color_selector_day - @color/button_text_color_selector_day @color/blue_700 @color/red_a700 diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml index 5babdef6..fa72362d 100644 --- a/app/src/main/res/values/attrs.xml +++ b/app/src/main/res/values/attrs.xml @@ -21,8 +21,6 @@ - - diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 275d8645..4cd47c04 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -21,9 +21,13 @@ @color/blue_700 + @color/blue_600 @color/blue_800 @color/blue_700 @color/blue_900 + @color/white + @color/gray_300 + @color/gray_400 @color/gray_600 @color/gray_425 @color/gray_925 diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index dcf4cab4..6a79f0ba 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -27,8 +27,6 @@ ?android:attr/colorBackground @color/blue_200 - @color/button_background_color_selector_day - @color/button_text_color_selector_day @color/blue_700 @color/red_a700 -- 2.45.2