summaryrefslogtreecommitdiff
path: root/packages/SystemUI/res/layout/quick_status_bar_header_date_privacy.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/SystemUI/res/layout/quick_status_bar_header_date_privacy.xml')
-rw-r--r--packages/SystemUI/res/layout/quick_status_bar_header_date_privacy.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/SystemUI/res/layout/quick_status_bar_header_date_privacy.xml b/packages/SystemUI/res/layout/quick_status_bar_header_date_privacy.xml
index bff93a99258a..ede7dd60ccf7 100644
--- a/packages/SystemUI/res/layout/quick_status_bar_header_date_privacy.xml
+++ b/packages/SystemUI/res/layout/quick_status_bar_header_date_privacy.xml
@@ -47,6 +47,11 @@
systemui:datePattern="@string/abbrev_wday_month_day_no_year_alarm" />
</FrameLayout>
+ <!-- We want this to be centered (to align with notches). In order to do that, the following
+ has to hold (in portrait):
+ * date_container and privacy_container must have the same width and weight
+ * header_text_container must be gone
+ -->
<android.widget.Space
android:id="@+id/space"
android:layout_width="0dp"
@@ -73,7 +78,7 @@
android:layout_weight="1"
android:gravity="center_vertical|end" >
- <include layout="@layout/ongoing_privacy_chip" />
+ <include layout="@layout/ongoing_privacy_chip" />
</FrameLayout>
</LinearLayout>