From 016bd604917a1826de18fa82e3d36d54665452d5 Mon Sep 17 00:00:00 2001 From: Fan Zhang Date: Thu, 30 Jun 2016 09:36:37 -0700 Subject: [PATCH] Update escalation cards layout and data binding. Bug: 29397123 - Updated the UI for support escalation cards so different state have the same height and text/button shows up at roughly same place. - Split data model for escalation cards from SupportData. The data and UI between escalation cards and support tiles are different enough that it no longer makes sense to share the same data object. Change-Id: I328cc33961b9638e5e5fc2cad3ebf443991f4d0c --- res/layout/support_escalation_options.xml | 92 +++++--- res/layout/support_item_title.xml | 42 ---- .../support_offline_escalation_options.xml | 21 +- res/layout/support_sign_in_button.xml | 18 +- res/layout/support_tile.xml | 2 +- res/values/strings.xml | 3 - res/values/styles.xml | 8 + .../dashboard/SupportItemAdapter.java | 221 +++++++++++------- 8 files changed, 233 insertions(+), 174 deletions(-) delete mode 100644 res/layout/support_item_title.xml diff --git a/res/layout/support_escalation_options.xml b/res/layout/support_escalation_options.xml index 6b8890882d0..b214561c0c6 100644 --- a/res/layout/support_escalation_options.xml +++ b/res/layout/support_escalation_options.xml @@ -17,51 +17,71 @@ - + -