[2/2] OmniGears: navbar arrow keys while typing

Change-Id: I3cdf6aafe7f8d3bba0507bfbaa77a57b6474a331
diff --git a/res/values/custom_strings.xml b/res/values/custom_strings.xml
index a0f5153..c66d832 100644
--- a/res/values/custom_strings.xml
+++ b/res/values/custom_strings.xml
@@ -772,4 +772,6 @@
     <string name="aspect_ratio_category_title">Legacy app scaling</string>
     <string name="aspect_ratio_apps_info">Applications need to be restarted after changes</string>
 
+    <string name="navigation_bar_menu_arrow_keys_title">Arrow keys while typing</string>
+    <string name="navigation_bar_menu_arrow_keys_summary">Display left and right cursor buttons while typing</string>
 </resources>
diff --git a/res/xml/bars_settings.xml b/res/xml/bars_settings.xml
index 4290246..2a4fbed 100644
--- a/res/xml/bars_settings.xml
+++ b/res/xml/bars_settings.xml
@@ -84,6 +84,12 @@
                 android:summary="@string/navigation_bar_ime_button_summary"
                 android:defaultValue="true"/>
 
+            <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
+                android:key="navigation_bar_menu_arrow_keys"
+                android:title="@string/navigation_bar_menu_arrow_keys_title"
+                android:summary="@string/navigation_bar_menu_arrow_keys_summary"
+                android:defaultValue="fale"/>
+
         </PreferenceCategory>
 
         <PreferenceCategory