From 096b56c3e102cf6b3cab43e7b080529b29fc17f6 Mon Sep 17 00:00:00 2001 From: LibXZR Date: Wed, 23 Feb 2022 21:07:43 +0800 Subject: [PATCH] aospa: Introduce Launcher3NoHintOverlay We need to move the task cards to a higher position to avoid overlap with the clear all button when in no hint mode. Change-Id: I103968d36cfa415e8511b419a2de252debee887c Signed-off-by: LibXZR --- overlay/navbar/Launcher3NoHintOverlay/Android.bp | 7 +++++++ overlay/navbar/Launcher3NoHintOverlay/AndroidManifest.xml | 8 ++++++++ .../navbar/Launcher3NoHintOverlay/res/values/dimens.xml | 4 ++++ overlay/overlays.mk | 3 ++- 4 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 overlay/navbar/Launcher3NoHintOverlay/Android.bp create mode 100644 overlay/navbar/Launcher3NoHintOverlay/AndroidManifest.xml create mode 100644 overlay/navbar/Launcher3NoHintOverlay/res/values/dimens.xml diff --git a/overlay/navbar/Launcher3NoHintOverlay/Android.bp b/overlay/navbar/Launcher3NoHintOverlay/Android.bp new file mode 100644 index 00000000..453dd9f8 --- /dev/null +++ b/overlay/navbar/Launcher3NoHintOverlay/Android.bp @@ -0,0 +1,7 @@ +runtime_resource_overlay { + name: "Launcher3NoHintOverlay", + theme: "Launcher3NoHint", + certificate: "platform", + sdk_version: "current", + product_specific: true +} diff --git a/overlay/navbar/Launcher3NoHintOverlay/AndroidManifest.xml b/overlay/navbar/Launcher3NoHintOverlay/AndroidManifest.xml new file mode 100644 index 00000000..405e45ea --- /dev/null +++ b/overlay/navbar/Launcher3NoHintOverlay/AndroidManifest.xml @@ -0,0 +1,8 @@ + + + + + diff --git a/overlay/navbar/Launcher3NoHintOverlay/res/values/dimens.xml b/overlay/navbar/Launcher3NoHintOverlay/res/values/dimens.xml new file mode 100644 index 00000000..e1c478b6 --- /dev/null +++ b/overlay/navbar/Launcher3NoHintOverlay/res/values/dimens.xml @@ -0,0 +1,4 @@ + + + 46dp + diff --git a/overlay/overlays.mk b/overlay/overlays.mk index b0b36150..7a19191d 100644 --- a/overlay/overlays.mk +++ b/overlay/overlays.mk @@ -71,7 +71,8 @@ PRODUCT_PACKAGES += \ ParanoidLauncherOverlay \ PermissionControllerOverlay \ OpenDeltaOverlay \ - KeyboardNoNavigationBarOverlay + KeyboardNoNavigationBarOverlay \ + Launcher3NoHintOverlay PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/aospa/overlay/static PRODUCT_PACKAGE_OVERLAYS += vendor/aospa/overlay/static