From 6fdf1669e1df821b860321896539ed40936ed3d7 Mon Sep 17 00:00:00 2001 From: Jason Monk Date: Thu, 4 Feb 2016 15:29:59 -0500 Subject: [PATCH] Add animation for condition card height change. Change-Id: If648914426cf6db5b039114cf593915c3b2e6c8c --- res/layout/condition_card.xml | 164 +++++++++--------- res/layout/dashboard.xml | 1 + .../conditional/ConditionAdapterUtils.java | 46 ++++- 3 files changed, 131 insertions(+), 80 deletions(-) diff --git a/res/layout/condition_card.xml b/res/layout/condition_card.xml index 1106a11279d..707a7ede95a 100644 --- a/res/layout/condition_card.xml +++ b/res/layout/condition_card.xml @@ -15,95 +15,103 @@ limitations under the License. --> - - + android:clipChildren="false" + android:clipToPadding="false"> - - - - - - - - - - + android:orientation="vertical" + android:paddingStart="16dp" + android:background="?android:attr/colorAccent" + android:elevation="3dp" + android:clickable="true"> - + android:layout_height="56dp" + android:orientation="horizontal" + android:gravity="center"> - - - - - -