Parts: add navbar inversion

Change-Id: Ifec7b826faba44479664ef83033c1d7a2da4ddca
Signed-off-by: Joey <bevilacquajoey@gmail.com>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index bf1d5ef..aadf40e 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -92,6 +92,10 @@
     <string name="torch_long_press_power_timeout_5min">5 minutes</string>
     <string name="torch_long_press_power_timeout_10min">10 minutes</string>
 
+    <!-- Navigation Bar -->
+    <string name="navigation_bar_category">Navigation bar</string>
+    <string name="navigation_bar_invert_layout_title">Invert navigation bar layout</string>
+
     <!-- Status bar -->
     <string name="status_bar_title">Status bar</string>
     <string name="status_bar_quick_qs_pulldown_title">Quick pulldown</string>
diff --git a/res/xml/button_settings.xml b/res/xml/button_settings.xml
index 67f8086..ca2b0c3 100644
--- a/res/xml/button_settings.xml
+++ b/res/xml/button_settings.xml
@@ -30,6 +30,16 @@
         </PreferenceCategory>
 
     <PreferenceCategory
+        android:key="navigation_bar_category"
+        android:title="@string/navigation_bar_category">
+
+        <shiftos.preference.SecureSettingSwitchPreference
+            android:key="sysui_nav_bar_inverse"
+            android:title="@string/navigation_bar_invert_layout_title"
+            android:defaultValue="false" />
+    </PreferenceCategory>
+
+    <PreferenceCategory
         android:key="assist_key"
         android:title="@string/hardware_keys_assist_key_title" >
 
@@ -92,6 +102,6 @@
             android:key="volbtn_music_controls"
             android:title="@string/volbtn_music_controls_title"
             android:summary="@string/volbtn_music_controls_summary"
-            android:defaultValue="true" />
+            android:defaultValue="false" />
     </PreferenceCategory>
 </PreferenceScreen>