diff options
author | Chris Wren <cwren@android.com> | 2014-02-25 18:02:13 -0500 |
---|---|---|
committer | Chris Wren <cwren@android.com> | 2014-02-27 11:38:21 -0500 |
commit | 9924e130373455899ecb4f0d78d6b607fb40e866 (patch) | |
tree | 11543e1d6e82faefe7b0a588503c53da854f7ab9 /packages/SystemUI/res/layout-sw600dp | |
parent | e5f98941bad09f797329aeec090177e1da17220e (diff) | |
download | frameworks_base-9924e130373455899ecb4f0d78d6b607fb40e866.zip frameworks_base-9924e130373455899ecb4f0d78d6b607fb40e866.tar.gz frameworks_base-9924e130373455899ecb4f0d78d6b607fb40e866.tar.bz2 |
improvements to heads up interface
remove shadow
quick hack to open shade from HUN
over status bar instead of under and below it
dismiss by pushing up
tablets: shadow remains on left, right, and bottom
Bug: 13208692
Change-Id: Ie3abb762fb1388be68353c7e3111fe4708ab8110
Diffstat (limited to 'packages/SystemUI/res/layout-sw600dp')
-rw-r--r-- | packages/SystemUI/res/layout-sw600dp/heads_up.xml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/SystemUI/res/layout-sw600dp/heads_up.xml b/packages/SystemUI/res/layout-sw600dp/heads_up.xml new file mode 100644 index 0000000..71f7c21 --- /dev/null +++ b/packages/SystemUI/res/layout-sw600dp/heads_up.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2014, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> +<com.android.systemui.statusbar.policy.HeadsUpNotificationView + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_height="wrap_content" + android:layout_width="match_parent" + > + <FrameLayout + android:id="@+id/content_holder" + android:layout_height="wrap_content" + android:layout_width="@dimen/notification_panel_width" + android:layout_marginStart="@dimen/notification_panel_margin_left" + android:background="@drawable/heads_up_window_bg" + /> +</com.android.systemui.statusbar.policy.HeadsUpNotificationView> |