From 917f9672dd5988abf3c607f851fbe792e2a2a8cc Mon Sep 17 00:00:00 2001 From: tom5079 Date: Thu, 23 Jul 2020 20:32:45 +0900 Subject: [PATCH] bug fix - unable to run on older devices Version 4.18.4 --- app/build.gradle | 6 +- .../res/layout-v21/activity_main_content.xml | 144 ++++++++++++++++++ .../main/res/layout/activity_main_content.xml | 6 - 3 files changed, 147 insertions(+), 9 deletions(-) create mode 100644 app/src/main/res/layout-v21/activity_main_content.xml diff --git a/app/build.gradle b/app/build.gradle index b34e1029..86c16e14 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -20,7 +20,7 @@ android { minSdkVersion 16 targetSdkVersion 29 versionCode 56 - versionName "4.18.3" + versionName "4.18.4" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" multiDexEnabled true vectorDrawables.useSupportLibrary = true @@ -31,7 +31,7 @@ android { applicationIdSuffix ".debug" versionNameSuffix "-DEBUG" - buildConfigField('Boolean', 'CENSOR', 'false') + buildConfigField('Boolean', 'CENSOR', 'true') proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } release { @@ -68,7 +68,7 @@ dependencies { implementation 'com.google.firebase:firebase-core:17.4.4' implementation 'com.google.firebase:firebase-analytics:17.4.4' implementation 'com.google.firebase:firebase-crashlytics:17.1.1' - implementation 'com.google.firebase:firebase-perf:19.0.7' + implementation 'com.google.firebase:firebase-perf:19.0.8' implementation 'com.github.arimorty:floatingsearchview:2.1.1' implementation 'com.github.clans:fab:1.6.4' implementation 'com.github.bumptech.glide:glide:4.11.0' diff --git a/app/src/main/res/layout-v21/activity_main_content.xml b/app/src/main/res/layout-v21/activity_main_content.xml new file mode 100644 index 00000000..63d1752d --- /dev/null +++ b/app/src/main/res/layout-v21/activity_main_content.xml @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_main_content.xml b/app/src/main/res/layout/activity_main_content.xml index f427226b..f2f65596 100644 --- a/app/src/main/res/layout/activity_main_content.xml +++ b/app/src/main/res/layout/activity_main_content.xml @@ -122,12 +122,6 @@ android:id="@+id/main_searchview" android:layout_width="match_parent" android:layout_height="match_parent" - app:floatingSearch_backgroundColor="?android:attr/colorBackgroundFloating" - app:floatingSearch_leftActionColor="?attr/colorControlNormal" - app:floatingSearch_menuItemIconColor="?attr/colorControlNormal" - app:floatingSearch_actionMenuOverflowColor="?attr/colorControlNormal" - app:floatingSearch_clearBtnColor="?attr/colorControlNormal" - app:floatingSearch_viewTextColor="?android:attr/textColorPrimary" app:floatingSearch_suggestionRightIconColor="@color/material_orange_500" app:floatingSearch_searchBarMarginLeft="8dp" app:floatingSearch_searchBarMarginRight="8dp"