diff --git a/lawnchair/res/values/strings.xml b/lawnchair/res/values/strings.xml index c9a6dcdbdb..d16061eb8b 100644 --- a/lawnchair/res/values/strings.xml +++ b/lawnchair/res/values/strings.xml @@ -232,6 +232,8 @@ Presearch Bing Sesame + Always Open Website + Open search provider’s website even if their app is installed. Search Provider Status Bar Show Notification Count @@ -255,12 +257,11 @@ Charging Charged Battery Low + "%1$d%% — Full in %2$s" Page %1$d of %2$d At a Glance What to Show Fri, Mar 3 - Incompatible System Integration - Your device is configured to have system gestures (known as Quickstep) provided by %1$s, but this version of %1$s is not compatible with your Android version. To continue using your device, please uninstall %1$s updates or disable %1$s as a system-gesture provider. Preview Calendar @@ -278,6 +279,9 @@ Gregorian Persian + Incompatible System Integration + Your device is configured to have system gestures (known as Quickstep) provided by %1$s, but this version of %1$s is not compatible with your Android version. To continue using your device, please uninstall %1$s updates or disable %1$s as a system-gesture provider. + Add Fonts OTF & TTF supported. Delete @@ -285,6 +289,7 @@ Home Screen Home Screen & App Drawer + Create Backup Create What to Back Up @@ -298,25 +303,32 @@ Backup restored. Failed to restore backup. Invalid backup file. + Google - "%1$d%% — Full in %2$s" - Wallpaper Depth Effect + + Wallpaper Depth Effect + Zoom into and out of the wallpaper when transitioning between states. + + Gestures + + Double Tap + Swipe Up + Swipe Down + Home Button Tap + Back Button Tap + Do Nothing Sleep Open Notification Panel Open App Open %1$s - Pick App Open App Drawer Open App Search Open Search - Gestures - Taps and Swipes - Swipe Up - Swipe Down - Home Button Tap - Back Button Tap + + Pick App + %s & %s App Website diff --git a/lawnchair/src/app/lawnchair/ui/preferences/HomeScreenPreferences.kt b/lawnchair/src/app/lawnchair/ui/preferences/HomeScreenPreferences.kt index 05cb7e55a0..6c1b6085fb 100644 --- a/lawnchair/src/app/lawnchair/ui/preferences/HomeScreenPreferences.kt +++ b/lawnchair/src/app/lawnchair/ui/preferences/HomeScreenPreferences.kt @@ -59,19 +59,9 @@ fun HomeScreenPreferences() { label = stringResource(id = R.string.auto_add_shortcuts_label), enabled = lockHomeScreenAdapter.state.value.not(), ) - SwitchPreference( - prefs.wallpaperScrolling.getAdapter(), - label = stringResource(id = R.string.wallpaper_scrolling_label), - ) - if (Utilities.ATLEAST_R) { - SwitchPreference( - prefs2.wallpaperDepthEffect.getAdapter(), - label = stringResource(id = R.string.wallpaper_depth_effect), - ) - } GestureHandlerPreference( adapter = prefs2.doubleTapGestureHandler.getAdapter(), - label = stringResource(id = R.string.gesture_double_tap) + label = stringResource(id = R.string.gesture_double_tap), ) val feedAvailable = OverlayCallbackImpl.minusOneAvailable(LocalContext.current) SwitchPreference( @@ -80,6 +70,19 @@ fun HomeScreenPreferences() { description = if (feedAvailable) null else stringResource(id = R.string.minus_one_unavailable), enabled = feedAvailable, ) + } + PreferenceGroup(heading = stringResource(id = R.string.wallpaper)) { + SwitchPreference( + prefs.wallpaperScrolling.getAdapter(), + label = stringResource(id = R.string.wallpaper_scrolling_label), + ) + if (Utilities.ATLEAST_R) { + SwitchPreference( + prefs2.wallpaperDepthEffect.getAdapter(), + label = stringResource(id = R.string.wallpaper_depth_effect_label), + description = stringResource(id = R.string.wallpaper_depth_effect_description), + ) + } SwitchPreference( adapter = prefs2.showTopShadow.getAdapter(), label = stringResource(id = R.string.show_sys_ui_scrim), @@ -156,4 +159,4 @@ fun HomeScreenPreferences() { ) } } -} +} \ No newline at end of file