Cherish: AOKP custom system animations [2/2]

This commit is contained in:
Stevespear426
2019-11-06 21:12:19 +07:00
committed by Hung Phan
parent 86f075f743
commit 464fcd9c34
9 changed files with 402 additions and 89 deletions

View File

@@ -44,6 +44,13 @@
android:title="@string/button_title"
android:icon="@drawable/ic_settings_buttons"
android:fragment="com.android.settings.custom.buttons.ButtonSettings"/>
<!-- Animations -->
<Preference
android:key="animations_category"
android:title="@string/animations_title"
android:icon="@drawable/ic_settings_animations"
android:fragment="com.cherish.settings.fragments.AnimationsSettings"/>
<!-- Lock Screen -->
<Preference

View File

@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012-2014 The TeamEos Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/animations_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings" >
<PreferenceCategory
android:title="@string/system_animation_title">
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="animation_controls_duration"
android:title="@string/animation_duration_title"
android:max="400"
settings:min="0"
settings:interval="10"
android:defaultValue="0"
android:persistent="false" />
<ListPreference
android:key="activity_open"
android:title="@string/activity_open_title" />
<ListPreference
android:key="activity_close"
android:title="@string/activity_close_title" />
<ListPreference
android:key="task_open"
android:title="@string/task_open_title" />
<ListPreference
android:key="task_open_behind"
android:title="@string/task_open_behind_title" />
<ListPreference
android:key="task_close"
android:title="@string/task_close_title" />
<ListPreference
android:key="task_move_to_front"
android:title="@string/task_move_to_front_title" />
<ListPreference
android:key="task_move_to_back"
android:title="@string/task_move_to_back_title" />
<ListPreference
android:key="wallpaper_open"
android:title="@string/wallpaper_open_title" />
<ListPreference
android:key="wallpaper_close"
android:title="@string/wallpaper_close_title" />
<ListPreference
android:key="wallpaper_intra_open"
android:title="@string/wallpaper_intra_open_title" />
<ListPreference
android:key="wallpaper_intra_close"
android:title="@string/wallpaper_intra_close_title" />
</PreferenceCategory>
</PreferenceScreen>

View File

@@ -1,23 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012-2014 The TeamEos Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/navbar_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings" >
</PreferenceScreen>