pro版本添加自定义启动画面
This commit is contained in:
@@ -12,6 +12,11 @@
|
||||
app:iconSpaceReserved="false"
|
||||
app:icons="@array/icons" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
android:key="welcomeStyle"
|
||||
android:title="@string/welcome_style"
|
||||
android:summary="@string/welcome_style_summary" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="transparentStatusBar"
|
||||
@@ -27,21 +32,18 @@
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
android:defaultValue="true"
|
||||
android:key="barElevation"
|
||||
android:summary="@string/bar_elevation_s"
|
||||
android:title="@string/bar_elevation"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
android:defaultValue="true"
|
||||
android:key="fontScale"
|
||||
android:summary="@string/font_scale_summary"
|
||||
android:title="@string/font_scale"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
android:defaultValue="false"
|
||||
android:key="coverConfig"
|
||||
android:title="@string/cover_config"
|
||||
android:summary="@string/cover_config_summary"
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="customWelcome"
|
||||
android:summary="@string/custom_welcome_summary"
|
||||
android:title="@string/custom_welcome"
|
||||
app:allowDividerAbove="false"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.PreferenceCategory
|
||||
android:key="dayThemeCategory"
|
||||
android:title="@string/day"
|
||||
app:allowDividerAbove="true"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false"
|
||||
app:layout="@layout/view_preference_category">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
android:key="welcomeImagePath"
|
||||
android:title="@string/background_image"
|
||||
app:allowDividerAbove="false"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="welcomeShowText"
|
||||
android:summary="@string/welcome_text"
|
||||
android:title="@string/show_welcome_text"
|
||||
app:allowDividerAbove="false"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
</io.legado.app.ui.widget.prefs.PreferenceCategory>
|
||||
|
||||
<io.legado.app.ui.widget.prefs.PreferenceCategory
|
||||
android:key="nightThemeCategory"
|
||||
android:title="@string/night"
|
||||
app:allowDividerAbove="true"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false"
|
||||
app:layout="@layout/view_preference_category">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
android:key="welcomeImagePathDark"
|
||||
android:title="@string/background_image"
|
||||
app:allowDividerAbove="false"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="welcomeShowTextDark"
|
||||
android:summary="@string/welcome_text"
|
||||
android:title="@string/show_welcome_text"
|
||||
app:allowDividerAbove="false"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
</io.legado.app.ui.widget.prefs.PreferenceCategory>
|
||||
|
||||
</androidx.preference.PreferenceScreen>
|
||||
Reference in New Issue
Block a user