From 75122d0dcd5576162f0f46e7287eb751d92bc076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Borcz?= Date: Thu, 6 Jun 2019 19:16:00 +0200 Subject: [PATCH] Fix crash TabLayout on Android 4.x in new version of material components (#403) --- app/build.gradle | 2 +- app/proguard-rules.pro | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 7d2a89c0..915d9a76 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -107,7 +107,7 @@ dependencies { implementation "androidx.cardview:cardview:1.0.0" implementation 'androidx.constraintlayout:constraintlayout:1.1.3' - implementation "com.google.android.material:material:1.1.0-alpha05" + implementation "com.google.android.material:material:1.1.0-alpha07" implementation 'com.github.wulkanowy:MaterialChipsInput:b72fd0ee6f' implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0' diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 15b62838..7d42536d 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -37,3 +37,6 @@ #Config for API -keep class io.github.wulkanowy.api.** {*;} + +#Config for Material Components +-keep class com.google.android.material.tabs.** {*;}