[SQUASHED]Screen Off Animation config & make screen off animation selection logical[2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -554,4 +554,19 @@
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Screen off animation -->
|
||||
<string-array name="screen_off_animation_entries">
|
||||
<item>@string/screen_off_animation_fade</item>
|
||||
<item>@string/screen_off_animation_color</item>
|
||||
<item>@string/screen_off_animation_crt</item>
|
||||
<item>@string/screen_off_animation_scale</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="screen_off_animation_values" translatable="false">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -616,4 +616,11 @@
|
||||
<!-- Force disable transition animation -->
|
||||
<string name="disable_transition_animations_title">Disable transition animations</string>
|
||||
<string name="disable_transition_animations_summary">Force disable all transition animations</string>
|
||||
|
||||
<!-- Screen off animation -->
|
||||
<string name="screen_off_animation_fade">Simple fade</string>
|
||||
<string name="screen_off_animation_color">Color fade</string>
|
||||
<string name="screen_off_animation_crt">CRT</string>
|
||||
<string name="screen_off_animation_scale">Scale</string>
|
||||
<string name="screen_off_animation_title">Screen off animation</string>
|
||||
</resources>
|
||||
|
||||
@@ -114,4 +114,12 @@
|
||||
android:entries="@array/listview_interpolator_entries"
|
||||
android:entryValues="@array/listview_interpolator_values"
|
||||
android:defaultValue="0" />
|
||||
|
||||
<ListPreference
|
||||
android:key="screen_off_animation"
|
||||
android:title="@string/screen_off_animation_title"
|
||||
android:entries="@array/screen_off_animation_entries"
|
||||
android:entryValues="@array/screen_off_animation_values"
|
||||
android:persistent="false"
|
||||
android:defaultValue="0" />
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user