From 183c6810fec3c001bc5d4bfb63cb45dda0abfab0 Mon Sep 17 00:00:00 2001 From: h4h13 Date: Sat, 7 Dec 2019 21:13:27 +0530 Subject: [PATCH] Fix theme attr --- app/src/main/assets/retro-changelog.html | 2 +- .../main/res/drawable-v21/rect_selector.xml | 22 ++++++----- .../res/drawable-v21/rect_selector_strong.xml | 15 ------- .../main/res/drawable-v21/round_selector.xml | 2 +- app/src/main/res/drawable/rect_selector.xml | 8 ++-- .../res/drawable/rect_selector_strong.xml | 9 ----- app/src/main/res/layout/fragment_library.xml | 4 +- app/src/main/res/layout/item_grid.xml | 34 +++++++--------- app/src/main/res/layout/item_list.xml | 3 +- app/src/main/res/values-night/styles.xml | 10 ++--- app/src/main/res/values/attrs.xml | 1 - app/src/main/res/values/styles_parents.xml | 39 ++++++------------- 12 files changed, 54 insertions(+), 95 deletions(-) delete mode 100644 app/src/main/res/drawable-v21/rect_selector_strong.xml delete mode 100644 app/src/main/res/drawable/rect_selector_strong.xml diff --git a/app/src/main/assets/retro-changelog.html b/app/src/main/assets/retro-changelog.html index 5ca12ddd..c3041fbd 100644 --- a/app/src/main/assets/retro-changelog.html +++ b/app/src/main/assets/retro-changelog.html @@ -1 +1 @@ -

v3.4.800

v3.4.700

v3.4.600

v3.4.500

v3.3.200

v.3.3.100

v3.3.000

v3.2.240

v3.2.220

v3.2.203

v3.2.135

v3.2.125

v3.2.120

v3.2.105

v3.2.100

v3.2.000

v3.1.900

v3.1.850

v3.1.800

v3.1.700

v3.1.400

v3.1.300

If you see entire app white or dark or black select same theme in settings to fix

FAQ's

*If you face any UI related issues you clear app data and cache, if its not working try to uninstall and install again.

\ No newline at end of file +

v3.4.800

v3.4.700

v3.4.600

v3.4.500

v3.3.200

v.3.3.100

v3.3.000

v3.2.240

v3.2.220

v3.2.203

v3.2.135

v3.2.125

v3.2.120

v3.2.105

v3.2.100

v3.2.000

v3.1.900

v3.1.850

v3.1.800

v3.1.700

v3.1.400

v3.1.300

If you see entire app white or dark or black select same theme in settings to fix

FAQ's

*If you face any UI related issues you clear app data and cache, if its not working try to uninstall and install again.

\ No newline at end of file diff --git a/app/src/main/res/drawable-v21/rect_selector.xml b/app/src/main/res/drawable-v21/rect_selector.xml index 4263a760..a36f34b0 100644 --- a/app/src/main/res/drawable-v21/rect_selector.xml +++ b/app/src/main/res/drawable-v21/rect_selector.xml @@ -1,15 +1,19 @@ - - + android:color="?attr/colorControlHighlight"> + + + + + + - + + + + + + - \ No newline at end of file diff --git a/app/src/main/res/drawable-v21/rect_selector_strong.xml b/app/src/main/res/drawable-v21/rect_selector_strong.xml deleted file mode 100644 index 9dd19ae0..00000000 --- a/app/src/main/res/drawable-v21/rect_selector_strong.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/drawable-v21/round_selector.xml b/app/src/main/res/drawable-v21/round_selector.xml index 6499f897..c38d4e9c 100644 --- a/app/src/main/res/drawable-v21/round_selector.xml +++ b/app/src/main/res/drawable-v21/round_selector.xml @@ -1,5 +1,5 @@ + android:color="?android:attr/colorControlHighlight"> - - - - + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/rect_selector_strong.xml b/app/src/main/res/drawable/rect_selector_strong.xml deleted file mode 100644 index 74866e66..00000000 --- a/app/src/main/res/drawable/rect_selector_strong.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_library.xml b/app/src/main/res/layout/fragment_library.xml index 00b8ce7d..bd0307ca 100644 --- a/app/src/main/res/layout/fragment_library.xml +++ b/app/src/main/res/layout/fragment_library.xml @@ -66,11 +66,11 @@ android:background="?colorSurface" app:contentInsetStart="0dp" app:contentInsetStartWithNavigation="0dp" - app:popupTheme="?toolbarPopupTheme" + app:popupTheme="?attr/toolbarPopupTheme" app:title="@string/search_hint" app:titleMarginStart="0dp" app:titleTextAppearance="@style/ToolbarTextAppearanceSearch" - app:titleTextColor="?colorOnSurface" + app:titleTextColor="?android:attr/textColorSecondary" tools:ignore="UnusedAttribute" /> - + android:layout_height="match_parent" + app:cardCornerRadius="8dp" + app:cardUseCompatPadding="true"> - - - - - + android:scaleType="centerCrop" + tools:ignore="ContentDescription" + tools:srcCompat="@tools:sample/backgrounds/scenic" /> + + \ No newline at end of file diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml index c27c949b..60eed367 100644 --- a/app/src/main/res/values/attrs.xml +++ b/app/src/main/res/values/attrs.xml @@ -3,7 +3,6 @@ - diff --git a/app/src/main/res/values/styles_parents.xml b/app/src/main/res/values/styles_parents.xml index bebeecf9..9862c2ec 100644 --- a/app/src/main/res/values/styles_parents.xml +++ b/app/src/main/res/values/styles_parents.xml @@ -7,19 +7,16 @@ @font/circular true true - @font/circular - true + @font/circular + @style/ThemeOverlay.AppCompat.Light + @style/ThemeOverlay.AppCompat.Light @style/PreferenceThemeOverlay.v14.Material - @style/MaterialAlertDialogTheme @style/MaterialButtonTheme - @drawable/round_selector @drawable/rect_selector - @drawable/rect_selector_strong - - + @style/Widget.ActionButton.Overflow