Settings: Implement hide gestural navigation hint bar

Change-Id: I14dd73414c9f7ee1b01f315c9eeae0fd3ac4f859
Signed-off-by: Jesse Chan <jc@lineageos.org>
This commit is contained in:
Jesse Chan
2020-05-24 21:35:34 +08:00
committed by Michael Bestas
parent 170340bc59
commit 2f368378dd
2 changed files with 10 additions and 0 deletions

View File

@@ -47,4 +47,8 @@
<string name="lockpattern_settings_enable_error_path_title">Show pattern error</string>
<!-- Whether the dots will be drawn when using the lockscreen pattern -->
<string name="lockpattern_settings_enable_dots_title">Show pattern dots</string>
<!-- Navigation bar hint -->
<string name="show_navbar_hint_title">Navigation hint</string>
<string name="show_navbar_hint_summary">Show navigation hint bar at the bottom of the screen</string>
</resources>

View File

@@ -23,6 +23,12 @@
android:title="@string/gesture_settings_activity_title"
settings:keywords="@string/keywords_gesture_navigation_settings">
<lineageos.preference.LineageSystemSettingSwitchPreference
android:key="navigation_bar_hint"
android:title="@string/show_navbar_hint_title"
android:summary="@string/show_navbar_hint_summary"
android:defaultValue="true" />
<PreferenceCategory
android:persistent="false">