Files
app_Settings/res/xml/action_corner_customization.xml
yyalan 6379722ead [Action Corner] Illustration
Fixes: 413860922
Flag: com.android.settings.flags.action_corner_customization
Test: Screenshots in comment
Change-Id: Ia46ce2c7886cc63f753ccaec998d39e0684c79b0
2025-06-06 17:06:41 +00:00

60 lines
2.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2025 The Android Open Source 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"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/action_corner_title">
<com.android.settingslib.widget.TopIntroPreference
android:key="action_corner_intro"
android:title="@string/action_corner_intro"
settings:searchable="false"/>
<com.android.settingslib.widget.IllustrationPreference
android:key="action_corner_illustration"
settings:searchable="false"
android:selectable="false"
settings:dynamicColor="true"
settings:lottie_rawRes="@drawable/corner_shortcuts"/>
<PreferenceCategory
android:key="action_corner_customization_category">
<ListPreference
android:key="action_corner_bottom_left"
android:title="@string/action_corner_bottom_left_title"
android:entries="@array/action_corner_action_titles"
settings:controller="com.android.settings.inputmethod.ActionCornerCustomizationController"/>
<ListPreference
android:key="action_corner_bottom_right"
android:title="@string/action_corner_bottom_right_title"
android:entries="@array/action_corner_action_titles"
settings:controller="com.android.settings.inputmethod.ActionCornerCustomizationController"/>
<ListPreference
android:key="action_corner_top_left"
android:title="@string/action_corner_top_left_title"
android:entries="@array/action_corner_action_titles"
settings:controller="com.android.settings.inputmethod.ActionCornerCustomizationController"/>
<ListPreference
android:key="action_corner_top_right"
android:title="@string/action_corner_top_right_title"
android:entries="@array/action_corner_action_titles"
settings:controller="com.android.settings.inputmethod.ActionCornerCustomizationController"/>
</PreferenceCategory>
</PreferenceScreen>