Leaf: Implement hide gestural navigation hint bar [3/4]
Change-Id: I5ed5c55ec46c3bb5e91aeb88bd5f06bd4445c2f0
Signed-off-by: Jesse Chan <jc@lineageos.org>
diff --git a/customizations/NavigationBarNoHintOverlay/Android.bp b/customizations/NavigationBarNoHintOverlay/Android.bp
new file mode 100644
index 0000000..b9efceb
--- /dev/null
+++ b/customizations/NavigationBarNoHintOverlay/Android.bp
@@ -0,0 +1,6 @@
+runtime_resource_overlay {
+ name: "NavigationBarNoHintOverlay",
+ certificate: "platform",
+ sdk_version: "current",
+ product_specific: true
+}
diff --git a/customizations/NavigationBarNoHintOverlay/AndroidManifest.xml b/customizations/NavigationBarNoHintOverlay/AndroidManifest.xml
new file mode 100644
index 0000000..c7cae6f
--- /dev/null
+++ b/customizations/NavigationBarNoHintOverlay/AndroidManifest.xml
@@ -0,0 +1,8 @@
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="org.leafos.overlay.customization.navbar.nohint"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <overlay android:targetPackage="android" android:priority="1" />
+
+ <application android:label="NavigationBarNoHint" android:hasCode="false"/>
+</manifest>
diff --git a/customizations/NavigationBarNoHintOverlay/res/values/dimens.xml b/customizations/NavigationBarNoHintOverlay/res/values/dimens.xml
new file mode 100644
index 0000000..f389f83
--- /dev/null
+++ b/customizations/NavigationBarNoHintOverlay/res/values/dimens.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ * SPDX-License-Identifier: Apache-2.0
+ * Copyright (C) 2020 The LineageOS Project
+-->
+<resources>
+ <!-- Height of the bottom navigation / system bar. -->
+ <dimen name="navigation_bar_height">0dp</dimen>
+ <!-- Height of the bottom navigation bar in portrait; often the same as @dimen/navigation_bar_height -->
+ <dimen name="navigation_bar_height_landscape">0dp</dimen>
+ <!-- Width of the navigation bar when it is placed vertically on the screen -->
+ <dimen name="navigation_bar_width">0dp</dimen>
+</resources>