summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/layout
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2016-05-11 07:32:21 -0700
committerRoman Birg <roman@cyngn.com>2016-05-24 05:15:57 -0700
commit112543548e41c9f58cdb5ba9b4f2a1f980555a88 (patch)
tree1fa03056ff8665c70dcd46dd46b96b6650116789 /packages/SystemUI/res/layout
parented671ae44aa112b15607731f057f988bde679a5a (diff)
downloadframeworks_base-112543548e41c9f58cdb5ba9b4f2a1f980555a88.zip
frameworks_base-112543548e41c9f58cdb5ba9b4f2a1f980555a88.tar.gz
frameworks_base-112543548e41c9f58cdb5ba9b4f2a1f980555a88.tar.bz2
SystemUI: improve layout of qs detail panel
Don't try to fit the detail views, but allow the user to scroll freely while detail view is showing and we are in landscape. The user can still fling up and down and the velocity flings are respected in the detail scroll lock mode. Hitting done will always return the user to the QS panel, or they can close the detail view manually. Ticket: FEIJ-201 Change-Id: Id8b16a682ba5cebdc57c0455d81aa38fd5e90cbd Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'packages/SystemUI/res/layout')
-rw-r--r--packages/SystemUI/res/layout/qs_detail.xml1
-rw-r--r--packages/SystemUI/res/layout/qs_detail_items_list.xml2
2 files changed, 2 insertions, 1 deletions
diff --git a/packages/SystemUI/res/layout/qs_detail.xml b/packages/SystemUI/res/layout/qs_detail.xml
index 5058314..7ff9345 100644
--- a/packages/SystemUI/res/layout/qs_detail.xml
+++ b/packages/SystemUI/res/layout/qs_detail.xml
@@ -29,6 +29,7 @@
android:layout_weight="1" />
<LinearLayout
+ android:id="@+id/buttons"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingEnd="8dp"
diff --git a/packages/SystemUI/res/layout/qs_detail_items_list.xml b/packages/SystemUI/res/layout/qs_detail_items_list.xml
index 09021f9..33dd579 100644
--- a/packages/SystemUI/res/layout/qs_detail_items_list.xml
+++ b/packages/SystemUI/res/layout/qs_detail_items_list.xml
@@ -18,7 +18,7 @@
<com.android.systemui.qs.QSDetailItemsList xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:minHeight="200dp"
+ android:minHeight="100dp"
android:paddingTop="16dp"
android:paddingStart="16dp"
android:paddingEnd="16dp">