From cb3e6c0ec2e39fae8c8ac988f7d4f4839ead26fc Mon Sep 17 00:00:00 2001 From: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com> Date: Mon, 16 Oct 2023 07:30:06 +0700 Subject: [PATCH] X6833B: overlay: Define statusbar paddings and cutout Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com> --- .../res/values/config.xml | 24 +++++++++++++ .../res/values/dimens.xml | 36 +++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 overlay/FrameworksResOverlay/res/values/dimens.xml diff --git a/overlay/FrameworksResOverlay/res/values/config.xml b/overlay/FrameworksResOverlay/res/values/config.xml index 27ea7cc..3907b64 100644 --- a/overlay/FrameworksResOverlay/res/values/config.xml +++ b/overlay/FrameworksResOverlay/res/values/config.xml @@ -215,4 +215,28 @@ hysteresis threshold. --> 2000 3000 + + + M -24,0 L -24,36 L 24,36 L 24,0 Z @dp + + + false diff --git a/overlay/FrameworksResOverlay/res/values/dimens.xml b/overlay/FrameworksResOverlay/res/values/dimens.xml new file mode 100644 index 0000000..156bd99 --- /dev/null +++ b/overlay/FrameworksResOverlay/res/values/dimens.xml @@ -0,0 +1,36 @@ + + + + + 26.0dip + + + 0.0dip + + + 0.0dip + + + 36.0dip + + + @dimen/status_bar_height_portrait + + + 36.0dip + + + 28.0dip +