summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2014-04-30 13:31:27 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-04-30 13:31:27 +0000
commit65e4a4ee301826c9d9f08180285a8ae514a84565 (patch)
tree3b585a0328f47fdb92828fc377f24f9376d86c10 /packages/SystemUI/res
parent29aa2f5645b25412ba1e648930f1caa906b9d69e (diff)
parent984f6b7519e622b8ac656ec5b15bbde9c380ab82 (diff)
downloadframeworks_base-65e4a4ee301826c9d9f08180285a8ae514a84565.zip
frameworks_base-65e4a4ee301826c9d9f08180285a8ae514a84565.tar.gz
frameworks_base-65e4a4ee301826c9d9f08180285a8ae514a84565.tar.bz2
am ed8b4ca0: Merge "Layout notifications on top and introduce artifical margin"
* commit 'ed8b4ca093d8aba40d29ef7ad701b28f8c313d97': Layout notifications on top and introduce artifical margin
Diffstat (limited to 'packages/SystemUI/res')
-rw-r--r--packages/SystemUI/res/layout/status_bar_expanded.xml64
-rw-r--r--packages/SystemUI/res/values/dimens.xml2
2 files changed, 31 insertions, 35 deletions
diff --git a/packages/SystemUI/res/layout/status_bar_expanded.xml b/packages/SystemUI/res/layout/status_bar_expanded.xml
index 24ccb2b..761ad42 100644
--- a/packages/SystemUI/res/layout/status_bar_expanded.xml
+++ b/packages/SystemUI/res/layout/status_bar_expanded.xml
@@ -54,51 +54,45 @@
android:ellipsize="marquee"
android:textAppearance="?android:attr/textAppearanceMedium" />
- <LinearLayout
+ <include layout="@layout/status_bar_expanded_header"
android:layout_width="match_parent"
+ android:layout_height="@dimen/notification_panel_header_height"
+ />
+
+ <include
+ layout="@layout/keyguard_status_view"
android:layout_height="wrap_content"
- android:layout_marginBottom="@dimen/close_handle_underlap"
- android:orientation="vertical"
- android:animateLayoutChanges="false"
- >
+ android:visibility="gone" />
- <include layout="@layout/status_bar_expanded_header"
- android:layout_width="match_parent"
- android:layout_height="@dimen/notification_panel_header_height"
- />
+ <TextView
+ android:id="@+id/emergency_calls_only"
+ android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.EmergencyOnly"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:padding="4dp"
+ android:gravity="center"
+ android:visibility="gone"
+ />
+ <FrameLayout
+ android:id="@+id/notification_container_parent"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="@dimen/close_handle_underlap"
+ >
<include
- layout="@layout/keyguard_status_view"
- android:visibility="gone" />
-
- <TextView
- android:id="@+id/emergency_calls_only"
- android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.EmergencyOnly"
- android:layout_height="wrap_content"
+ layout="@layout/flip_settings"
+ android:layout_marginTop="@dimen/notification_panel_header_height"
android:layout_width="match_parent"
- android:padding="4dp"
- android:gravity="center"
- android:visibility="gone"
+ android:layout_height="wrap_content"
/>
- <FrameLayout
- android:id="@+id/notification_container_parent"
+ <com.android.systemui.statusbar.stack.NotificationStackScrollLayout
+ android:id="@+id/notification_stack_scroller"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- >
- <include
- layout="@layout/flip_settings"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- />
-
- <com.android.systemui.statusbar.stack.NotificationStackScrollLayout
- android:id="@+id/notification_stack_scroller"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- />
- </FrameLayout>
- </LinearLayout>
+ />
+ </FrameLayout>
<include
layout="@layout/keyguard_bottom_area"
diff --git a/packages/SystemUI/res/values/dimens.xml b/packages/SystemUI/res/values/dimens.xml
index 0fac8c0..9837d9b 100644
--- a/packages/SystemUI/res/values/dimens.xml
+++ b/packages/SystemUI/res/values/dimens.xml
@@ -266,4 +266,6 @@
<dimen name="quick_settings_tmp_scrim_stroke_width">8dp</dimen>
<dimen name="quick_settings_tmp_scrim_text_size">30dp</dimen>
+
+ <dimen name="notifications_top_padding">8dp</dimen>
</resources>