Merge "Add animation graphic to Long Press Power settings screen." into sc-v2-dev
This commit is contained in:
1
res/raw/lottie_power_menu.json
Normal file
1
res/raw/lottie_power_menu.json
Normal file
File diff suppressed because one or more lines are too long
@@ -17,6 +17,14 @@
|
||||
xmlns:settings="http://schemas.android.com/apk/res-auto"
|
||||
android:title="@string/power_menu_setting_name">
|
||||
|
||||
<!-- Animation uses embedded PNGs and lottie requires asset folder to be set despite
|
||||
embedding. -->
|
||||
<com.android.settingslib.widget.IllustrationPreference
|
||||
android:key="gesture_power_menu_video"
|
||||
settings:searchable="false"
|
||||
settings:lottie_imageAssetsFolder="power_menu"
|
||||
settings:lottie_rawRes="@raw/lottie_power_menu"/>
|
||||
|
||||
<SwitchPreference
|
||||
android:key="gesture_power_menu_long_press_for_assist"
|
||||
android:title="@string/power_menu_long_press_for_assist"
|
||||
|
Reference in New Issue
Block a user