From 186efa3836ec3e8c564b53d0948a51eb25cb7161 Mon Sep 17 00:00:00 2001 From: Daichi Hirono Date: Thu, 11 Jun 2015 14:29:28 +0900 Subject: Update visibility of the stack dropdown list after the search view is collapsed. Previously we hid the stack dropdown list just before the action bar is collapsed. Then the dropdown list gets back to be visible when the action bar is collapsed. The CL updates visibility of the stack dropdown list just after the action bar is collapsed. BUG=20945584 Change-Id: Iaf5055bce101f8134accd311829e50f441ddc98b --- .../DocumentsUI/res/layout-sw720dp/activity.xml | 4 +- packages/DocumentsUI/res/layout/activity.xml | 4 +- .../src/com/android/documentsui/BaseActivity.java | 35 ++++++++--- .../com/android/documentsui/DocumentsActivity.java | 6 ++ .../com/android/documentsui/DocumentsToolBar.java | 72 ++++++++++++++++++++++ 5 files changed, 110 insertions(+), 11 deletions(-) create mode 100644 packages/DocumentsUI/src/com/android/documentsui/DocumentsToolBar.java (limited to 'packages/DocumentsUI') diff --git a/packages/DocumentsUI/res/layout-sw720dp/activity.xml b/packages/DocumentsUI/res/layout-sw720dp/activity.xml index a9f1b3c..2a273f4 100644 --- a/packages/DocumentsUI/res/layout-sw720dp/activity.xml +++ b/packages/DocumentsUI/res/layout-sw720dp/activity.xml @@ -19,7 +19,7 @@ android:layout_height="match_parent" android:orientation="vertical"> - - + - - +