summaryrefslogtreecommitdiffstats
path: root/proguard.flags
diff options
context:
space:
mode:
authorNancy Chen <nancychen@google.com>2015-09-11 00:47:31 -0400
committerNancy Chen <nancychen@google.com>2015-09-11 00:54:47 -0400
commitf3d9f829cef463eb328285ed478a9323e2c085e6 (patch)
tree61b5e4edf2f9100f47d41010562f3911c436ac78 /proguard.flags
parent27031077952a07e9203c3f4594ae6ae6ec7ba108 (diff)
downloadandroid_packages_apps_Dialer-f3d9f829cef463eb328285ed478a9323e2c085e6.tar.gz
android_packages_apps_Dialer-f3d9f829cef463eb328285ed478a9323e2c085e6.tar.bz2
android_packages_apps_Dialer-f3d9f829cef463eb328285ed478a9323e2c085e6.zip
Translate FAB up and down when Snackbar appears and disappears.
This is implements custom behavior according the Material Design spec that the Snackbar cannot obscure the FAB. Converts the dialtacts activity layout to a CoordinatorLayout and attaches the FloatingActionButtonBehavior to the FAB. Bug: 23687913 Change-Id: Ic4d0493db415bb97cf7e21de4f23a02df9f753b1
Diffstat (limited to 'proguard.flags')
-rw-r--r--proguard.flags5
1 files changed, 5 insertions, 0 deletions
diff --git a/proguard.flags b/proguard.flags
index 38d4050de..185d5eb77 100644
--- a/proguard.flags
+++ b/proguard.flags
@@ -12,4 +12,9 @@
@com.android.dialer.NeededForReflection *;
}
+# For design libraries
+-keep public class * extends android.support.design.widget.CoordinatorLayout$Behavior {
+ public <init>(android.content.Context, android.util.AttributeSet);
+}
+
-verbose