summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnushek Prasal <anushekprasal@gmail.com>2021-01-06 15:01:30 +0530
committeralk3pInjection <webmaster@raspii.tech>2021-09-27 21:17:05 +0800
commitdea540c348e048d6f7693882930240bff1853021 (patch)
tree868e2fe5d65d70fad160f1b8d95ab961b1676024
parentef5473c1489e8c51e54b85f4d58ae5ebb50a5ad3 (diff)
[Havoc-11] SystemUI: add margin at the top of power menu
Change-Id: I2293b78722ba8fc2eb01d7831c1aab76b2d41310
-rw-r--r--packages/SystemUI/res/layout/global_actions_grid_v2.xml1
-rw-r--r--packages/SystemUI/res/values/dimens.xml3
2 files changed, 4 insertions, 0 deletions
diff --git a/packages/SystemUI/res/layout/global_actions_grid_v2.xml b/packages/SystemUI/res/layout/global_actions_grid_v2.xml
index 7d45de3fa50d..c3075da50408 100644
--- a/packages/SystemUI/res/layout/global_actions_grid_v2.xml
+++ b/packages/SystemUI/res/layout/global_actions_grid_v2.xml
@@ -11,6 +11,7 @@
android:id="@id/global_actions_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/global_actions_top_margin"
android:orientation="horizontal"
android:theme="@style/qs_theme"
android:clipChildren="false"
diff --git a/packages/SystemUI/res/values/dimens.xml b/packages/SystemUI/res/values/dimens.xml
index e414861b0cd3..803245fda07b 100644
--- a/packages/SystemUI/res/values/dimens.xml
+++ b/packages/SystemUI/res/values/dimens.xml
@@ -1058,6 +1058,9 @@
<dimen name="global_actions_grid_item_icon_side_margin">22dp</dimen>
<dimen name="global_actions_grid_item_icon_bottom_margin">4dp</dimen>
+ <!-- Margin at the top of the power menu -->
+ <dimen name="global_actions_top_margin">10dp</dimen>
+
<!-- Margins at the left and right of the power menu and home controls widgets. -->
<dimen name="global_actions_side_margin">10dp</dimen>