From 41f5c0c37110da463ef2dec9f4f5bdcdd4bcd2f1 Mon Sep 17 00:00:00 2001 From: calderwoodra Date: Tue, 1 May 2018 11:31:45 -0700 Subject: Updated bottomsheet to be scrollable. Follow-up CLs will include: - white bottom nav - setting status bar color when expanded, translucent otherwise - automatically dismissing the bottomsheet onPause in calllog/vvm Bug: 73495458,77761183,77812338,77816530,77833456 Test: manual PiperOrigin-RevId: 194967761 Change-Id: Iea81035efd06ae7692950ca1f11757b7d9ebfd1c --- .../res/layout/contact_layout.xml | 10 +++++---- .../historyitemactions/res/layout/sheet_layout.xml | 23 +++++++++++++++---- .../historyitemactions/res/values-land/styles.xml | 25 +++++++++++++++++++++ .../historyitemactions/res/values/dimens.xml | 1 + .../historyitemactions/res/values/styles.xml | 26 ++++++++++++++++++++++ 5 files changed, 77 insertions(+), 8 deletions(-) create mode 100644 java/com/android/dialer/historyitemactions/res/values-land/styles.xml create mode 100644 java/com/android/dialer/historyitemactions/res/values/styles.xml (limited to 'java/com/android/dialer/historyitemactions/res') diff --git a/java/com/android/dialer/historyitemactions/res/layout/contact_layout.xml b/java/com/android/dialer/historyitemactions/res/layout/contact_layout.xml index f2dc8c7ac..721740f97 100644 --- a/java/com/android/dialer/historyitemactions/res/layout/contact_layout.xml +++ b/java/com/android/dialer/historyitemactions/res/layout/contact_layout.xml @@ -15,13 +15,15 @@ ~ limitations under the License --> + android:orientation="horizontal" + android:background="#FFFFFF"> + android:layout_height="match_parent"> + + + + + + + + diff --git a/java/com/android/dialer/historyitemactions/res/values-land/styles.xml b/java/com/android/dialer/historyitemactions/res/values-land/styles.xml new file mode 100644 index 000000000..af9c0d94d --- /dev/null +++ b/java/com/android/dialer/historyitemactions/res/values-land/styles.xml @@ -0,0 +1,25 @@ + + + + + + + diff --git a/java/com/android/dialer/historyitemactions/res/values/dimens.xml b/java/com/android/dialer/historyitemactions/res/values/dimens.xml index 47bf804ac..a98101e0e 100644 --- a/java/com/android/dialer/historyitemactions/res/values/dimens.xml +++ b/java/com/android/dialer/historyitemactions/res/values/dimens.xml @@ -17,4 +17,5 @@ 48dp 12dp + 4dp \ No newline at end of file diff --git a/java/com/android/dialer/historyitemactions/res/values/styles.xml b/java/com/android/dialer/historyitemactions/res/values/styles.xml new file mode 100644 index 000000000..fbdfb7d60 --- /dev/null +++ b/java/com/android/dialer/historyitemactions/res/values/styles.xml @@ -0,0 +1,26 @@ + + + + + +