Skip to content

Commit

Permalink
Settings: Pixel Navbar animation toggle [2/2]
Browse files Browse the repository at this point in the history
Change-Id: I98ef45326b7cf5348f753416aa740ed5a6a98728
  • Loading branch information
Beanstown authored and NurKeinNeid committed Dec 1, 2024
1 parent 401c3f8 commit 733e49b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions res/values-de/derp_strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -329,4 +329,8 @@
<!-- Category for theme overlays -->
<string name="theme_customization_lock_clock_title">Schriftstil der Uhr</string>
<string name="theme_customization_lock_clock_summary">Schrift der Sperrbildschirmuhr festlegen</string>

<!-- Navbar Animation -->
<string name="pixel_navbar_anim_title">Pixel-Animation</string>
<string name="pixel_navbar_anim_summary">Animation im Pixel-Stil aktivieren</string>
</resources>
3 changes: 3 additions & 0 deletions res/values/derp_strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -363,4 +363,7 @@
<string name="color_mode_balance_blue">Blue strength</string>
<string name="keywords_color_balance">color, color balance, color correction, red, green, blue, LiveDisplay</string>

<!-- Navbar Animation -->
<string name="pixel_navbar_anim_title">Pixel animation</string>
<string name="pixel_navbar_anim_summary">Toggle home button animation</string>
</resources>
6 changes: 6 additions & 0 deletions res/xml/button_navigation_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@
settings:lottie_imageAssetsFolder="button_nav_menu"
settings:lottie_rawRes="@raw/lottie_button_nav_menu"/>

<org.derpfest.support.preferences.SystemSettingSwitchPreference
android:key="pixel_nav_animation"
android:title="@string/pixel_navbar_anim_title"
android:summary="@string/pixel_navbar_anim_summary"
android:defaultValue="true" />

<SwitchPreferenceCompat
android:key="assistant_long_press_home_gesture"
android:title="@string/assistant_long_press_home_gesture_title"
Expand Down

0 comments on commit 733e49b

Please sign in to comment.