Pulse: Custom gravity and Center mirrored [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -499,6 +499,18 @@
|
||||
<item>500</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="pulse_custom_gravity_entries">
|
||||
<item>@string/pulse_custom_gravity_bottom</item>
|
||||
<item>@string/pulse_custom_gravity_top</item>
|
||||
<item>@string/pulse_custom_gravity_center</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="pulse_custom_gravity_values" translatable="false">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Tiles animation interpolator -->
|
||||
<string-array name="qs_tile_animation_interpolator_entries" translatable="false">
|
||||
<item>@string/qs_tile_animation_interpolator_linearInterpolator</item>
|
||||
|
||||
@@ -777,4 +777,13 @@
|
||||
<string name="pulse_custom_div">Bar spacing</string>
|
||||
<string name="pulse_filled_block_size">Block size</string>
|
||||
<string name="pulse_empty_block_size">Block spacing</string>
|
||||
|
||||
<!-- Pulse Gravity n Mirror Options -->
|
||||
<string name="pulse_custom_gravity_title">Gravity</string>
|
||||
<string name="pulse_custom_gravity_bottom">Bottom</string>
|
||||
<string name="pulse_custom_gravity_top">Top</string>
|
||||
<string name="pulse_custom_gravity_center">Center</string>
|
||||
<string name="visualizer_center_mirrored_title">Center mirrored</string>
|
||||
<string name="visualizer_center_mirrored_summary">Set the visualizer in center mirrored mode</string>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -42,6 +42,20 @@
|
||||
android:entryValues="@array/pulse_render_mode_values"
|
||||
android:defaultValue="1"/>
|
||||
|
||||
<com.cherish.settings.preferences.SecureSettingListPreference
|
||||
android:key="pulse_custom_gravity"
|
||||
android:title="@string/pulse_custom_gravity_title"
|
||||
android:entries="@array/pulse_custom_gravity_entries"
|
||||
android:entryValues="@array/pulse_custom_gravity_values"
|
||||
android:summary="%s"
|
||||
android:defaultValue="0"/>
|
||||
|
||||
<com.cherish.settings.preferences.SecureSettingSwitchPreference
|
||||
android:key="visualizer_center_mirrored"
|
||||
android:title="@string/visualizer_center_mirrored_title"
|
||||
android:summary="@string/visualizer_center_mirrored_summary"
|
||||
android:defaultValue="false"/>
|
||||
|
||||
<com.cherish.settings.preferences.SecureSettingSwitchPreference
|
||||
android:key="pulse_smoothing_enabled"
|
||||
android:title="@string/pulse_smoothing_enabled_title"
|
||||
|
||||
Reference in New Issue
Block a user