fix: 引入Settings的Module
This commit is contained in:
27
Settings/res/values/accessibility_shortcut_keys.xml
Normal file
27
Settings/res/values/accessibility_shortcut_keys.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2023 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.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<string name="accessibility_shortcut_description_pref" translatable="false">shortcut_description</string>
|
||||
<string name="accessibility_shortcut_volume_keys_pref" translatable="false">shortcut_volume_keys_pref</string>
|
||||
<string name="accessibility_shortcut_gesture_pref" translatable="false">shortcut_gesture_pref</string>
|
||||
<string name="accessibility_shortcut_nav_button_pref" translatable="false">shortcut_nav_button_pref</string>
|
||||
<string name="accessibility_shortcut_fab_pref" translatable="false">shortcut_fab_pref</string>
|
||||
<string name="accessibility_shortcut_triple_tap_pref" translatable="false">shortcut_triple_tap_pref</string>
|
||||
<string name="accessibility_shortcut_two_fingers_double_tap_pref" translatable="false">shortcut_two_fingers_double_tap_pref</string>
|
||||
<string name="accessibility_shortcuts_advanced_collapsed" translatable="false">advanced_shortcuts_collapsed</string>
|
||||
</resources>
|
||||
27
Settings/res/values/aliases.xml
Normal file
27
Settings/res/values/aliases.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2014 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.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<item name="confirm_lock_pattern" type="layout">@layout/confirm_lock_pattern_base</item>
|
||||
<item name="confirm_lock_pattern_normal" type="layout">@layout/confirm_lock_pattern_normal_base</item>
|
||||
<item name="confirm_lock_password" type="layout">@layout/confirm_lock_password_base</item>
|
||||
<item name="fingerprint_enroll_find_sensor" type="layout">@layout/fingerprint_enroll_find_sensor_base</item>
|
||||
<item name="fingerprint_enroll_enrolling" type="layout">@layout/fingerprint_enroll_enrolling_base</item>
|
||||
<item name="fingerprint_enroll_finish" type="layout">@layout/fingerprint_enroll_finish_base</item>
|
||||
<item name="sfps_enroll_finish" type="layout">@layout/sfps_enroll_finish_base</item>
|
||||
<item name="choose_lock_pattern" type="layout">@layout/choose_lock_pattern_common</item>
|
||||
</resources>
|
||||
|
||||
1520
Settings/res/values/arrays.xml
Normal file
1520
Settings/res/values/arrays.xml
Normal file
File diff suppressed because it is too large
Load Diff
206
Settings/res/values/attrs.xml
Normal file
206
Settings/res/values/attrs.xml
Normal file
@@ -0,0 +1,206 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2008 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.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<declare-styleable name="PercentageBarChart">
|
||||
<!-- Background color -->
|
||||
<attr name="emptyColor" format="color" />
|
||||
<!-- Minimum tick width for each slice in the bar chart. -->
|
||||
<attr name="minTickWidth" format="dimension" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="ChartView">
|
||||
<!-- optimal width of the chart -->
|
||||
<attr name="optimalWidth" format="dimension" />
|
||||
<!-- how to weight extra space beyond optimal width -->
|
||||
<attr name="optimalWidthWeight" format="float" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="ChartSweepView">
|
||||
<attr name="sweepDrawable" format="reference" />
|
||||
<attr name="followAxis">
|
||||
<enum name="horizontal" value="0" />
|
||||
<enum name="vertical" value="1" />
|
||||
</attr>
|
||||
<attr name="neighborMargin" format="dimension" />
|
||||
<attr name="labelSize" format="dimension" />
|
||||
<attr name="labelTemplate" format="reference" />
|
||||
<attr name="labelColor" format="color" />
|
||||
<attr name="safeRegion" format="dimension" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="ChartGridView">
|
||||
<attr name="primaryDrawable" format="reference" />
|
||||
<attr name="secondaryDrawable" format="reference" />
|
||||
<attr name="borderDrawable" format="reference" />
|
||||
<attr name="android:textColor" />
|
||||
<attr name="android:textAppearance" />
|
||||
</declare-styleable>
|
||||
|
||||
<attr name="apnPreferenceStyle" format="reference" />
|
||||
|
||||
<attr name="slicePreferenceStyle" format="reference" />
|
||||
|
||||
<attr name="cardPreferenceStyle" format="reference" />
|
||||
|
||||
<declare-styleable name="FixedLineSummaryPreference">
|
||||
<attr name="summaryLineCount" format="integer" />
|
||||
</declare-styleable>
|
||||
|
||||
<!-- For Search -->
|
||||
<declare-styleable name="Preference">
|
||||
<!-- Synonyms for search results -->
|
||||
<attr name="keywords" format="string" />
|
||||
<!-- Whether or not the preference is searchable, by default it's true. -->
|
||||
<attr name="searchable" format="boolean" />
|
||||
<!-- Classname of a PreferenceController corresponding to the preference -->
|
||||
<attr name="controller" format="string" />
|
||||
<!-- Customized subtitle if it's an unavailable slice -->
|
||||
<attr name="unavailableSliceSubtitle" format="string" />
|
||||
<!-- Whether or not the preference is for work profile, by default it's false. -->
|
||||
<attr name="forWork" format="boolean" />
|
||||
<!-- Identifier for highlighting the menu preference on 2-pane -->
|
||||
<attr name="highlightableMenuKey" format="string" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="PreferenceScreen">
|
||||
<!-- Determines if static preferences defined in addStaticPreferences are added before or after the radio buttons -->
|
||||
<attr name="staticPreferenceLocation">
|
||||
<enum name="prepend" value="0" />
|
||||
<enum name="append" value="1" />
|
||||
</attr>
|
||||
</declare-styleable>
|
||||
|
||||
<!-- For DotsPageIndicator -->
|
||||
<declare-styleable name="DotsPageIndicator">
|
||||
<attr name="dotDiameter" format="dimension" />
|
||||
<attr name="dotGap" format="dimension" />
|
||||
<attr name="animationDuration" format="integer" />
|
||||
<attr name="pageIndicatorColor" format="color" />
|
||||
<attr name="currentPageIndicatorColor" format="color" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="MessageView">
|
||||
<attr name="messageText" format="reference" />
|
||||
</declare-styleable>
|
||||
|
||||
<!-- For ConversationMessageView -->
|
||||
<declare-styleable name="ConversationMessageView" parent="MessageView">
|
||||
<attr name="incoming" format="boolean" />
|
||||
<attr name="messageText" />
|
||||
<attr name="timestampText" format="reference" />
|
||||
<attr name="iconText" format="reference" />
|
||||
<attr name="iconTextColor" format="reference|color" />
|
||||
<attr name="iconBackgroundColor" format="reference|color" />
|
||||
</declare-styleable>
|
||||
|
||||
<!-- For AppGridView -->
|
||||
<declare-styleable name="AppGridView">
|
||||
<attr name="appCount" format="integer" />
|
||||
</declare-styleable>
|
||||
|
||||
<!-- TODO: Clean up this -->
|
||||
<attr name="switchBarTheme" format="reference" />
|
||||
|
||||
<attr name="preferenceBackgroundColor" format="color" />
|
||||
|
||||
<!-- Confirm device credentials screen -->
|
||||
<attr name="confirmDeviceCredentialsSideMargin" format="dimension" />
|
||||
<attr name="confirmDeviceCredentialsTopMargin" format="dimension" />
|
||||
|
||||
<declare-styleable name="VideoPreference">
|
||||
<attr name="animation" format="reference" />
|
||||
<attr name="preview" format="reference" />
|
||||
<attr name="vectorAnimation" format="reference" />
|
||||
</declare-styleable>
|
||||
|
||||
<!-- For AspectRatioFrameLayout -->
|
||||
<declare-styleable name="AspectRatioFrameLayout">
|
||||
<attr name="aspectRatio" format="float" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="ListWithEntrySummaryPreference">
|
||||
<!-- Summaries of entry -->
|
||||
<attr name="entrySummaries" format="reference" />
|
||||
</declare-styleable>
|
||||
|
||||
<!-- For UsageView -->
|
||||
<declare-styleable name="UsageView">
|
||||
<attr name="android:colorAccent" />
|
||||
<attr name="sideLabels" format="reference" />
|
||||
<attr name="bottomLabels" format="reference" />
|
||||
<attr name="textColor" format="color" />
|
||||
<attr name="android:gravity" />
|
||||
</declare-styleable>
|
||||
|
||||
<!-- For Face enroll accessibility toggle -->
|
||||
<declare-styleable name="FaceEnrollAccessibilityToggle" parent="MessageView">
|
||||
<attr name="messageText" />
|
||||
</declare-styleable>
|
||||
|
||||
<!-- For TwoStatesButtonPreference -->
|
||||
<declare-styleable name="TwoStateButtonPreference">
|
||||
<attr name="textOn" format="reference" />
|
||||
<attr name="textOff" format="reference" />
|
||||
</declare-styleable>
|
||||
|
||||
<!-- For LabeledSeekBarPreference -->
|
||||
<declare-styleable name="LabeledSeekBarPreference">
|
||||
<attr name="textStart" format="reference" />
|
||||
<attr name="textEnd" format="reference" />
|
||||
<attr name="tickMark" format="reference" />
|
||||
<attr name="iconStart" format="reference" />
|
||||
<attr name="iconEnd" format="reference" />
|
||||
<attr name="iconStartContentDescription" format="reference" />
|
||||
<attr name="iconEndContentDescription" format="reference" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="TintDrawable">
|
||||
<attr name="android:tint" />
|
||||
<attr name="android:drawable" />
|
||||
</declare-styleable>
|
||||
|
||||
<attr name="twoStateButtonPreferenceStyle" format="reference" />
|
||||
|
||||
<attr name="fingerprint_layout_theme" format="reference" />
|
||||
<attr name="face_layout_theme" format="reference" />
|
||||
<attr name="ic_menu_moreoverflow" format="reference" />
|
||||
<attr name="side_margin" format="reference|dimension" />
|
||||
<attr name="wifi_signal_color" format="reference" />
|
||||
|
||||
<declare-styleable name="BiometricsEnrollView">
|
||||
<attr name="biometricsEnrollStyle" format="reference" />
|
||||
<attr name="biometricsEnrollIcon" format="reference|color" />
|
||||
<attr name="biometricsMovingTargetFill" format="reference|color" />
|
||||
<attr name="biometricsMovingTargetFillError" format="reference|color" />
|
||||
<attr name="biometricsEnrollProgress" format="reference|color" />
|
||||
<attr name="biometricsEnrollProgressHelp" format="reference|color" />
|
||||
<attr name="biometricsEnrollProgressHelpWithTalkback" format="reference|color" />
|
||||
</declare-styleable>
|
||||
|
||||
<attr name="notification_importance_button_background_color_unselected" format="color" />
|
||||
<attr name="notification_importance_button_border_color_unselected" format="color" />
|
||||
<attr name="notification_importance_button_foreground_color_unselected" format="color" />
|
||||
|
||||
<attr name="notification_importance_button_background_color_selected" format="color" />
|
||||
<attr name="notification_importance_button_border_color_selected" format="color" />
|
||||
<attr name="notification_importance_button_foreground_color_selected" format="color" />
|
||||
|
||||
<!-- For BackgroundPreference -->
|
||||
<declare-styleable name="BackgroundPreference">
|
||||
<attr name="background" format="reference" />
|
||||
</declare-styleable>
|
||||
</resources>
|
||||
222
Settings/res/values/colors.xml
Normal file
222
Settings/res/values/colors.xml
Normal file
@@ -0,0 +1,222 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 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.
|
||||
-->
|
||||
|
||||
<resources
|
||||
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android">
|
||||
|
||||
<color name="setup_wizard_wifi_color_dark">#89ffffff</color>
|
||||
<color name="setup_wizard_wifi_color_light">#89000000</color>
|
||||
|
||||
<color name="running_processes_system_ram">#ff384248</color>
|
||||
<color name="running_processes_free_ram">#ffced7db</color>
|
||||
|
||||
<color name="sim_noitification">@*android:color/accent_device_default_light</color>
|
||||
|
||||
<!-- Accent color that matches the settings launcher icon -->
|
||||
<color name="icon_accent">#ffabffec</color>
|
||||
|
||||
<!-- Accessibility SUW colors -->
|
||||
<color name="material_blue_500">#4285F4</color>
|
||||
<color name="material_blue_700">#3367D6</color>
|
||||
<color name="material_grey_100">#f5f5f5</color>
|
||||
|
||||
<color name="message_text_incoming">#E4E3DA</color>
|
||||
<color name="message_text_outgoing">#1B1C17</color>
|
||||
<color name="timestamp_text_outgoing">#99323232</color>
|
||||
<color name="timestamp_text_incoming">#99ffffff</color>
|
||||
<color name="message_bubble_incoming">#52534D</color>
|
||||
<color name="message_bubble_outgoing">#C7C8B7</color>
|
||||
<color name="message_icon_background_incoming">#E6F451</color>
|
||||
<color name="message_icon_background_outgoing">#FBBC04</color>
|
||||
<color name="message_icon_color">#DADADA</color>
|
||||
|
||||
<color name="usage_graph_dots">#B0BEC5</color>
|
||||
|
||||
<!-- Gestures settings -->
|
||||
<color name="gestures_setting_background_color">#ffffff</color>
|
||||
|
||||
<!-- Color for the background of the shortcut icons.-->
|
||||
<color name="shortcut_background">#fff5f5f5</color>
|
||||
|
||||
<!-- Dashboard/homepage icon background colors -->
|
||||
<color name="homepage_network_background">#2196F3</color>
|
||||
<color name="homepage_connected_device_background">#72B70F</color>
|
||||
<color name="homepage_app_and_notification_background">#FF7E0F</color>
|
||||
<color name="homepage_battery_background">#258982</color>
|
||||
<color name="homepage_display_background">#FFA727</color>
|
||||
<color name="homepage_sound_background">#01B1AF</color>
|
||||
<color name="homepage_storage_background">#C14CE6</color>
|
||||
<color name="homepage_security_background">#0F9D58</color>
|
||||
<color name="homepage_accounts_background">#F15B8D</color>
|
||||
<color name="homepage_accessibility_background">#5011C1</color>
|
||||
<color name="homepage_system_background">#9E9E9E</color>
|
||||
<color name="homepage_support_background">#26459C</color>
|
||||
<color name="homepage_generic_icon_background">#1A73E8</color>
|
||||
<color name="homepage_location_background">#2EC7DC</color>
|
||||
<color name="homepage_about_background">#6F86DA</color>
|
||||
|
||||
<color name="contextual_card_dismissal_background">@*android:color/material_grey_100</color>
|
||||
<color name="contextual_card_background">@*android:color/background_device_default_light</color>
|
||||
<!-- End of dashboard/homepage icon background colors -->
|
||||
|
||||
<color name="battery_good_color_light">#43a047</color> <!-- Material Green 600 -->
|
||||
<color name="battery_bad_color_light">#f44336</color> <!-- Material Red 500 -->
|
||||
|
||||
<!-- TODO: Figure out colors -->
|
||||
<color name="face_anim_particle_color_1">#ff00bcd4</color> <!-- Material Cyan 500 -->
|
||||
<color name="face_anim_particle_color_2">#ffef6c00</color> <!-- Material Orange 800 -->
|
||||
<color name="face_anim_particle_color_3">#ff4caf50</color> <!-- Material Green 500 -->
|
||||
<color name="face_anim_particle_color_4">#fffdd835</color> <!-- Material Yellow 600 -->
|
||||
<color name="face_anim_particle_error">#ff9e9e9e</color> <!-- Material Gray 500 -->
|
||||
|
||||
<!-- Face and fingerprint enrollment -->
|
||||
<color name="biometric_enroll_intro_color_bar">#1e8e3e</color>
|
||||
<color name="biometric_enroll_intro_color_icon">#1a73e8</color>
|
||||
<color name="biometric_enroll_intro_color_outline">#e3e3e3</color>
|
||||
|
||||
<!-- notification settings -->
|
||||
<color name="notification_importance_button_unselected">#DADCE0</color>
|
||||
|
||||
<!-- launcher icon color -->
|
||||
<color name="icon_launcher_setting_color">@*android:color/accent_device_default_light</color>
|
||||
|
||||
<!-- Search bar background color -->
|
||||
<color name="search_bar_background">?androidprv:attr/materialColorSurfaceBright</color>
|
||||
|
||||
<color name="face_enroll_icon_color">#42a5f5</color> <!-- Blue 400 -->
|
||||
|
||||
<color name="back_gesture_indicator">#4182ef</color>
|
||||
|
||||
<!-- Palette list preference colors. -->
|
||||
<color name="palette_list_gradient_background">@android:color/white</color>
|
||||
<color name="palette_list_color_red">#d93025</color> <!-- Material Red 600 -->
|
||||
<color name="palette_list_color_orange">#e8710a</color> <!-- Material Orange 600 -->
|
||||
<color name="palette_list_color_yellow">#f9ab00</color> <!-- Material Yellow 600 -->
|
||||
<color name="palette_list_color_green">#1e8e3e</color> <!-- Material Green 600 -->
|
||||
<color name="palette_list_color_cyan">#12b5cb</color> <!-- Material Cyan 600 -->
|
||||
<color name="palette_list_color_blue">#1a73e8</color> <!-- Material Blue 600 -->
|
||||
<color name="palette_list_color_purple">#9334e6</color> <!-- Material Purple 600 -->
|
||||
<color name="palette_list_color_gray">#80868b</color> <!-- Material Gray 600 -->
|
||||
|
||||
<!-- Palette list preference dark mode colors. -->
|
||||
<color name="palette_list_dark_mode_color_red">#f28b82</color> <!-- Material Red 300 -->
|
||||
<color name="palette_list_dark_mode_color_orange">#fcad70</color> <!-- Material Orange 300 -->
|
||||
<color name="palette_list_dark_mode_color_yellow">#fdd663</color> <!-- Material Yellow 300 -->
|
||||
<color name="palette_list_dark_mode_color_green">#81c995</color> <!-- Material Green 300 -->
|
||||
<color name="palette_list_dark_mode_color_cyan">#78d9ec</color> <!-- Material Cyan 300 -->
|
||||
<color name="palette_list_dark_mode_color_blue">#8AB4F8</color> <!-- Material Blue 300 -->
|
||||
<color name="palette_list_dark_mode_color_purple">#c58af9</color> <!-- Material Purple 300 -->
|
||||
<color name="palette_list_dark_mode_color_gray">#dadce0</color> <!-- Material Gray 300 -->
|
||||
|
||||
<!-- SIM colors updated for GAR -->
|
||||
<color name="SIM_color_cyan">#ff006D74</color> <!-- Material Custom Cyan -->
|
||||
<color name="SIM_color_blue800">#ff185ABC</color> <!-- Material Blue 800 -->
|
||||
<color name="SIM_color_green800">#ff137333</color> <!-- Material Green 800 -->
|
||||
<color name="SIM_color_purple800">#ff7627bb</color> <!-- Material Purple 800 -->
|
||||
<color name="SIM_color_pink800">#ffb80672</color> <!-- Material Pink 800 -->
|
||||
<color name="SIM_color_orange">#ff995400</color> <!-- Material Custom Orange -->
|
||||
|
||||
<!-- Dark mode SIM colors -->
|
||||
<color name="SIM_dark_mode_color_cyan">#ff4DD0E1</color> <!-- Material Cyan 300 -->
|
||||
<color name="SIM_dark_mode_color_blue">#ff8AB4F8</color> <!-- Material Blue 300 -->
|
||||
<color name="SIM_dark_mode_color_green">#ff81C995</color> <!-- Material Green 300 -->
|
||||
<color name="SIM_dark_mode_color_purple">#ffC58AF9</color> <!-- Material Purple 300 -->
|
||||
<color name="SIM_dark_mode_color_pink">#ffff8bcb</color> <!-- Material Pink 300 -->
|
||||
<color name="SIM_dark_mode_color_orange">#fffcad70</color> <!-- Material Orange 300 -->
|
||||
|
||||
<!-- Accessibility colors -->
|
||||
<color name="accessibility_text_reading_background">@android:color/white</color>
|
||||
<!-- Accessibility Settings icon background colors -->
|
||||
<color name="accessibility_feature_background">#5F6368</color> <!-- Google grey 700 -->
|
||||
<color name="accessibility_magnification_background">#F50D60</color>
|
||||
<color name="accessibility_daltonizer_background">#00BCD4</color>
|
||||
<color name="accessibility_color_inversion_background">#546E7A</color>
|
||||
|
||||
<color name="battery_info_error_color_red">#fce8e6</color> <!-- Material Red 50 -->
|
||||
<!-- Dialog error color. -->
|
||||
<color name="settings_dialog_colorError">#d93025</color> <!-- Red 600 -->
|
||||
|
||||
<!-- Fingerprint enrollment color -->
|
||||
<color name="fingerprint_enrollment_finish_color_outline">#1A73E8</color>
|
||||
|
||||
<!-- Side fingerprint sensor guided enrollment fill colors -->
|
||||
<color name="sfps_enrollment_fp_captured_color">#d2e3fc</color> <!-- Blue 100 -->
|
||||
<color name="sfps_enrollment_fp_error_color">#fad2cf</color> <!-- Red 100 -->
|
||||
<color name="sfps_enrollment_progress_bar_bg_color">#E8EAED</color> <!-- Gray 200 -->
|
||||
<color name="sfps_enrollment_progress_bar_fill_color">#1a73e8</color> <!-- Blue 600 -->
|
||||
<color name="sfps_enrollment_progress_bar_error_color">#d93025</color> <!-- Red 600 -->
|
||||
|
||||
<!-- Material inverse ripple color, useful for inverted backgrounds. -->
|
||||
<color name="ripple_material_inverse">@*android:color/ripple_material_dark</color>
|
||||
|
||||
<!-- Battery error text color -->
|
||||
<color name="battery_info_error_color_black">@*android:color/primary_text_default_material_light</color>
|
||||
|
||||
<!-- Background for multiple user settings page avatars -->
|
||||
<color name="user_avatar_color_bg">?androidprv:attr/materialColorSurfaceContainer</color>
|
||||
|
||||
<!-- Icon tint color for battery usage system icon -->
|
||||
<color name="battery_usage_system_icon_color">?android:attr/textColorPrimary</color>
|
||||
|
||||
<!-- Power anomaly color for icons, button and text -->
|
||||
<color name="power_anomaly_app_warning_hint_color">#D56E0C</color>
|
||||
<color name="power_anomaly_primary_button_text_color">#FFFFFF</color>
|
||||
|
||||
<!-- UDFPS colors -->
|
||||
<color name="udfps_enroll_icon">#699FF3</color>
|
||||
<color name="udfps_moving_target_fill">#C2D7F7</color>
|
||||
<!-- 50% of udfps_moving_target_fill-->
|
||||
<color name="udfps_moving_target_fill_error">#80C2D7F7</color>
|
||||
<color name="udfps_enroll_progress">#699FF3</color>
|
||||
<color name="udfps_enroll_progress_help">#70699FF3</color>
|
||||
<color name="udfps_enroll_progress_help_with_talkback">#FFEE675C</color>
|
||||
|
||||
<!-- Flash notifications colors -->
|
||||
<!-- Screen flash notification color selected stroke in color selection dialog -->
|
||||
<color name="screen_flash_color_button_inner_circle_stroke_color">#D4D4D4</color>
|
||||
<color name="screen_flash_color_button_outer_circle_stroke_color">#000000</color>
|
||||
|
||||
<!-- Screen flash notification color options in color selection dialog -->
|
||||
<color name="screen_flash_preset_opaque_color_01">#0000FE</color> <!-- 100% Blue -->
|
||||
<color name="screen_flash_preset_opaque_color_02">#0080FF</color> <!-- 100% Azure -->
|
||||
<color name="screen_flash_preset_opaque_color_03">#00FFFF</color> <!-- 100% Cyan -->
|
||||
<color name="screen_flash_preset_opaque_color_04">#00FF7F</color> <!-- 100% Spring green -->
|
||||
<color name="screen_flash_preset_opaque_color_05">#00FF01</color> <!-- 100% Green -->
|
||||
<color name="screen_flash_preset_opaque_color_06">#80FF00</color> <!-- 100% Chartreuse green -->
|
||||
<color name="screen_flash_preset_opaque_color_07">#FFFF00</color> <!-- 100% Yellow -->
|
||||
<color name="screen_flash_preset_opaque_color_08">#FF7F00</color> <!-- 100% Orange -->
|
||||
<color name="screen_flash_preset_opaque_color_09">#FE0000</color> <!-- 100% Red -->
|
||||
<color name="screen_flash_preset_opaque_color_10">#FF017E</color> <!-- 100% Rose -->
|
||||
<color name="screen_flash_preset_opaque_color_11">#FF00FE</color> <!-- 100% Magenta -->
|
||||
<color name="screen_flash_preset_opaque_color_12">#7F00FF</color> <!-- 100% Violet -->
|
||||
|
||||
<!-- Screen flash notification color when activating -->
|
||||
<color name="screen_flash_preset_opacity_color_01">#4D0000FE</color> <!-- 30% Blue -->
|
||||
<color name="screen_flash_preset_opacity_color_02">#660080FF</color> <!-- 40% Azure -->
|
||||
<color name="screen_flash_preset_opacity_color_03">#4D00FFFF</color> <!-- 30% Cyan -->
|
||||
<color name="screen_flash_preset_opacity_color_04">#6600FF7F</color> <!-- 40% Spring green -->
|
||||
<color name="screen_flash_preset_opacity_color_05">#6600FF01</color> <!-- 40% Green -->
|
||||
<color name="screen_flash_preset_opacity_color_06">#6680FF00</color> <!-- 40% Chartreuse green -->
|
||||
<color name="screen_flash_preset_opacity_color_07">#66FFFF00</color> <!-- 40% Yellow -->
|
||||
<color name="screen_flash_preset_opacity_color_08">#66FF7F00</color> <!-- 40% Orange -->
|
||||
<color name="screen_flash_preset_opacity_color_09">#66FE0000</color> <!-- 40% Red -->
|
||||
<color name="screen_flash_preset_opacity_color_10">#4DFF017E</color> <!-- 30% Rose -->
|
||||
<color name="screen_flash_preset_opacity_color_11">#4DFF00FE</color> <!-- 30% Magenta -->
|
||||
<color name="screen_flash_preset_opacity_color_12">#667F00FF</color> <!-- 40% Violet -->
|
||||
|
||||
<!-- Switch bar disabled state color-->
|
||||
<color name="switch_bar_state_disabled_color">#1F1F1F1F</color>
|
||||
</resources>
|
||||
815
Settings/res/values/config.xml
Normal file
815
Settings/res/values/config.xml
Normal file
@@ -0,0 +1,815 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 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.
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
|
||||
<!-- If false, MIN is displayed. If true, MSID is displayed. -->
|
||||
<bool name="config_msid_enable" translatable="false">false</bool>
|
||||
|
||||
<string name="additional_system_update" translatable="false"></string>
|
||||
<string name="additional_system_update_menu" translatable="false"></string>
|
||||
|
||||
<!-- TODO: This is purely enforced by the interface, and does not affect what
|
||||
strings may be inserted into the actual content provider.
|
||||
With the addition of shortcuts, it seems more likely that users will
|
||||
find this limiting; it would be good to have the interface work with
|
||||
very long strings too. -->
|
||||
<integer name="maximum_user_dictionary_word_length" translatable="false">48</integer>
|
||||
|
||||
<!-- Carrier_enabled editable -->
|
||||
<bool name="config_allow_edit_carrier_enabled" translatable="false">false</bool>
|
||||
|
||||
<!-- When true enable color temperature setting. -->
|
||||
<bool name="config_enableColorTemperature">false</bool>
|
||||
|
||||
<!-- Whether to show Camera laser sensor switch in Developer Options -->
|
||||
<bool name="config_show_camera_laser_sensor">false</bool>
|
||||
|
||||
<!-- Intent action to open Avatar Picker app -->
|
||||
<string name="config_avatar_picker_action" translatable="false">
|
||||
com.android.avatarpicker.FULL_SCREEN_ACTIVITY
|
||||
</string>
|
||||
<!-- User avatar dialog result broadcast explicit package -->
|
||||
<string name="config_avatar_picker_package" translatable="false">
|
||||
com.android.avatarpicker
|
||||
</string>
|
||||
|
||||
<!-- Package name and fully-qualified class name for the wallpaper picker activity. -->
|
||||
<string name="config_wallpaper_picker_package" translatable="false">com.android.settings</string>
|
||||
<string name="config_wallpaper_picker_class" translatable="false">com.android.settings.Settings$WallpaperSettingsActivity</string>
|
||||
<!-- Fully-qualified class name for the styles & wallpaper picker activity. -->
|
||||
<string name="config_styles_and_wallpaper_picker_class" translatable="false"></string>
|
||||
<!-- Action name for the wallpaper picker activity. -->
|
||||
<string name="config_wallpaper_picker_action" translatable="false"></string>
|
||||
<!-- Action name for the styles & wallpaper picker activity. -->
|
||||
<string name="config_styles_and_wallpaper_picker_action" translatable="false"></string>
|
||||
<!-- Intent extra for wallpaper picker activity. -->
|
||||
<string name="config_wallpaper_picker_launch_extra" translatable="false">com.android.wallpaper.LAUNCH_SOURCE</string>
|
||||
|
||||
<!-- Manufacturer backup settings to launch -->
|
||||
<string name="config_backup_settings_intent" translatable="false"></string>
|
||||
|
||||
<!-- Manufacturer backup settings label -->
|
||||
<string name="config_backup_settings_label" translatable="true"></string>
|
||||
|
||||
<!-- Double twist sensor type and vendor used by gesture setting -->
|
||||
<string name="gesture_double_twist_sensor_type" translatable="false"></string>
|
||||
<string name="gesture_double_twist_sensor_vendor" translatable="false"></string>
|
||||
|
||||
<!-- If the Storage Manager settings are enabled. -->
|
||||
<bool name="config_storage_manager_settings_enabled">false</bool>
|
||||
|
||||
<!-- If the support features are enabled. -->
|
||||
<bool name="config_support_enabled">false</bool>
|
||||
|
||||
<!-- List containing the component names of pre-installed screen reader services. -->
|
||||
<string-array name="config_preinstalled_screen_reader_services" translatable="false">
|
||||
<!--
|
||||
<item>com.example.package.first/com.example.class.FirstService</item>
|
||||
<item>com.example.package.second/com.example.class.SecondService</item>
|
||||
-->
|
||||
</string-array>
|
||||
|
||||
<!-- List containing the component names of pre-installed captioning services. -->
|
||||
<string-array name="config_preinstalled_captions_services" translatable="false">
|
||||
<!--
|
||||
<item>com.example.package.first/com.example.class.FirstService</item>
|
||||
<item>com.example.package.second/com.example.class.SecondService</item>
|
||||
-->
|
||||
</string-array>
|
||||
|
||||
<!-- List containing the component names of pre-installed audio and captioning services. -->
|
||||
<string-array name="config_preinstalled_audio_services" translatable="false">
|
||||
<!--
|
||||
<item>com.example.package.first/com.example.class.FirstService</item>
|
||||
<item>com.example.package.second/com.example.class.SecondService</item>
|
||||
-->
|
||||
</string-array>
|
||||
|
||||
<!-- List containing the component names of pre-installed display services. -->
|
||||
<string-array name="config_preinstalled_display_services" translatable="false">
|
||||
<!--
|
||||
<item>com.example.package.first/com.example.class.FirstService</item>
|
||||
<item>com.example.package.second/com.example.class.SecondService</item>
|
||||
-->
|
||||
</string-array>
|
||||
|
||||
<!-- List containing the component names of pre-installed speech services. -->
|
||||
<string-array name="config_preinstalled_speech_services" translatable="false">
|
||||
<!--
|
||||
<item>com.example.package.first/com.example.class.FirstService</item>
|
||||
<item>com.example.package.second/com.example.class.SecondService</item>
|
||||
-->
|
||||
</string-array>
|
||||
|
||||
<!-- List containing the component names of pre-installed interaction control services. -->
|
||||
<string-array name="config_preinstalled_interaction_control_services" translatable="false">
|
||||
<!--
|
||||
<item>com.example.package.first/com.example.class.FirstService</item>
|
||||
<item>com.example.package.second/com.example.class.SecondService</item>
|
||||
-->
|
||||
</string-array>
|
||||
|
||||
<!-- List containing the order of services in screen reader category by {@link ComponentName}.
|
||||
All {@link ComponentName} in a category need to be specified to guarantee correct
|
||||
behavior.-->
|
||||
<string-array name="config_order_screen_reader_services" translatable="false">
|
||||
<!--
|
||||
<item>com.example.package.first/com.example.class.FirstService</item>
|
||||
<item>com.example.package.second/com.example.class.SecondService</item>
|
||||
-->
|
||||
</string-array>
|
||||
|
||||
<!-- List containing the order of services in captions category by preference key or
|
||||
{@link ComponentName}. All preference keys in a category need to be specified to guarantee
|
||||
correct behavior.-->
|
||||
<string-array name="config_order_captions_services" translatable="false">
|
||||
<!--
|
||||
<item>com.example.package.first/com.example.class.FirstService</item>
|
||||
<item>com.example.package.second/com.example.class.SecondService</item>
|
||||
<item>captioning_preference_screen</item>
|
||||
<item>rtt_setting</item>
|
||||
<item>...</item>
|
||||
-->
|
||||
</string-array>
|
||||
|
||||
<!-- List containing the order of services in audio and caption category by preference key or
|
||||
{@link ComponentName}. All preference keys in a category need to be specified to guarantee
|
||||
correct behavior.-->
|
||||
<string-array name="config_order_audio_services" translatable="false">
|
||||
<!--
|
||||
<item>com.example.package.first/com.example.class.FirstService</item>
|
||||
<item>com.example.package.second/com.example.class.SecondService</item>
|
||||
<item>toggle_primary_mono</item>
|
||||
<item>seekbar_primary_balance</item>
|
||||
<item>...</item>
|
||||
-->
|
||||
</string-array>
|
||||
|
||||
<!-- List containing the order of services in display category by preference key or
|
||||
{@link ComponentName}. All preference keys in a category need to be specified to guarantee
|
||||
correct behavior.-->
|
||||
<string-array name="config_order_display_services" translatable="false">
|
||||
<!--
|
||||
<item>com.example.package.first/com.example.class.FirstService</item>
|
||||
<item>com.example.package.second/com.example.class.SecondService</item>
|
||||
<item>font_size_preference_screen</item>
|
||||
<item>dark_ui_mode_accessibility</item>
|
||||
<item>...</item>
|
||||
-->
|
||||
</string-array>
|
||||
|
||||
<!-- List containing the order of services in speech category by preference key or
|
||||
{@link ComponentName}. All preference keys in a category need to be specified to guarantee
|
||||
correct behavior.-->
|
||||
<string-array name="config_order_speech_services" translatable="false">
|
||||
<!--
|
||||
<item>com.example.package.first/com.example.class.FirstService</item>
|
||||
<item>com.example.package.second/com.example.class.SecondService</item>
|
||||
<item>font_size_preference_screen</item>
|
||||
<item>dark_ui_mode_accessibility</item>
|
||||
<item>...</item>
|
||||
-->
|
||||
</string-array>
|
||||
|
||||
<!-- List containing the order of services in interaction control category by preference key or
|
||||
{@link ComponentName}. All preference keys in a category need to be specified to guarantee
|
||||
correct behavior.-->
|
||||
<string-array name="config_order_interaction_control_services" translatable="false">
|
||||
<!--
|
||||
<item>com.example.package.first/com.example.class.FirstService</item>
|
||||
<item>com.example.package.second/com.example.class.SecondService</item>
|
||||
<item>autoclick_preference</item>
|
||||
<item>toggle_power_button_ends_call_preference</item>
|
||||
<item>...</item>
|
||||
-->
|
||||
</string-array>
|
||||
|
||||
<!-- List of packages that should be allowlisted for slice uri access. Do not translate -->
|
||||
<string-array name="slice_allowlist_package_names" translatable="false"/>
|
||||
|
||||
<!-- Whether to use a UI variant that minimizes the number of UI elements on screen. This is
|
||||
typically used when there is not enough space to display everything, because pattern view
|
||||
doesn't interact well with scroll view -->
|
||||
<bool name="config_lock_pattern_minimal_ui">true</bool>
|
||||
|
||||
<!-- List of a11y components on the device allowed to be enabled by Settings Slices -->
|
||||
<string-array name="config_settings_slices_accessibility_components" translatable="false"/>
|
||||
|
||||
<!-- Whether or not to show the night light suggestion. -->
|
||||
<bool name="config_night_light_suggestion_enabled">true</bool>
|
||||
|
||||
<!-- The number of vibration intensity levels supported by the device.
|
||||
|
||||
Note that this should correspond to the ability to vary the vibration amplitude, with
|
||||
enough dynamic range to have at least as many distinct intensity levels as defined here.
|
||||
|
||||
Supported values are 1, 2, 3. If '1', the settings app will use a toggle for the settings,
|
||||
otherwise a slider. If '3', the settings app maps intensities directly to the levels
|
||||
supported by the Vibrator HAL APIs. If '2', then the levels will be mapped to
|
||||
VIBRATION_INTENSITY_LOW and VIBRATION_INTENSITY_HIGH, which gives the most range for
|
||||
scaling vibrations. The medium intensity will be skipped.
|
||||
|
||||
The default intensity values are configured at
|
||||
frameworks/base/core/res/res/values/config.xml's config_default[type]VibrationIntensity.
|
||||
Make sure that each default intensity value is consistent with the supported levels set
|
||||
here. If this settings supports only 2 levels, for example, then the default intensity
|
||||
should be either LOW (1) or HIGH (3).
|
||||
-->
|
||||
<integer name="config_vibration_supported_intensity_levels">1</integer>
|
||||
|
||||
<!-- Whether or not to show Media vibration settings in the vibration and haptics screen.
|
||||
Can be overridden for specific product builds if the target device does not support it -->
|
||||
<bool name="config_media_vibration_supported">true</bool>
|
||||
|
||||
<!-- Whether to show Keyboard vibration settings in the vibration and haptics screen. -->
|
||||
<bool name="config_keyboard_vibration_supported">false</bool>
|
||||
|
||||
<!--
|
||||
Whether or not the homepage should be powered by legacy suggestion (versus contextual cards)
|
||||
Default to true as not all devices support contextual cards.
|
||||
-->
|
||||
<bool name="config_use_legacy_suggestion">true</bool>
|
||||
|
||||
<!-- Whether or not homepage should display user's account avatar -->
|
||||
<bool name="config_show_avatar_in_homepage">false</bool>
|
||||
|
||||
<!-- Whether or not emergency info tile should display in device info page -->
|
||||
<bool name="config_show_emergency_info_in_device_info">true</bool>
|
||||
|
||||
<!-- Whether or not branded account info tile should display in device info page -->
|
||||
<bool name="config_show_branded_account_in_device_info">true</bool>
|
||||
|
||||
<!-- Whether or not device header widget tile should display in device info page -->
|
||||
<bool name="config_show_device_header_in_device_info">true</bool>
|
||||
|
||||
<!-- Whether or not TopLevelSettings should force rounded icon for injected tiles -->
|
||||
<bool name="config_force_rounded_icon_TopLevelSettings">true</bool>
|
||||
|
||||
<!-- Whether dismissal timestamp should be kept before deletion -->
|
||||
<bool name="config_keep_contextual_card_dismissal_timestamp">false</bool>
|
||||
|
||||
<!-- Settings intelligence package name -->
|
||||
<string name="config_settingsintelligence_package_name" translatable="false">
|
||||
com.android.settings.intelligence
|
||||
</string>
|
||||
|
||||
<!-- Package Installer package name -->
|
||||
<string name="config_package_installer_package_name" translatable="false">
|
||||
com.android.packageinstaller
|
||||
</string>
|
||||
|
||||
<!-- Settings intelligence interaction log intent action -->
|
||||
<string name="config_settingsintelligence_log_action" translatable="false"></string>
|
||||
|
||||
<!-- Whether Settings intelligence supports presenting Slices. -->
|
||||
<bool name="config_settingsintelligence_slice_supported">false</bool>
|
||||
|
||||
<!-- AOSP Emergency app package name -->
|
||||
<string name="config_aosp_emergency_package_name" translatable="false">
|
||||
com.android.emergency
|
||||
</string>
|
||||
|
||||
<!-- AOSP Emergency app intent action -->
|
||||
<string name="config_aosp_emergency_intent_action" translatable="false">
|
||||
android.settings.EDIT_EMERGENCY_INFO
|
||||
</string>
|
||||
|
||||
<!-- Emergency app package name -->
|
||||
<string name="config_emergency_package_name" translatable="false">
|
||||
com.android.emergency
|
||||
</string>
|
||||
|
||||
<!-- Emergency app intent action -->
|
||||
<string name="config_emergency_intent_action" translatable="false">
|
||||
android.settings.EDIT_EMERGENCY_INFO
|
||||
</string>
|
||||
|
||||
<!-- Email address for the homepage contextual cards feedback -->
|
||||
<string name="config_contextual_card_feedback_email" translatable="false"></string>
|
||||
|
||||
<!-- ComponentName to launch a vendor-specific enrollment activity if available -->
|
||||
<string name="config_face_enroll" translatable="false"></string>
|
||||
|
||||
<!-- ComponentName to launch a vendor-specific posture guidance activity if available -->
|
||||
<string name="config_face_enroll_guidance_page" translatable="false"></string>
|
||||
|
||||
<!-- Whether to support posture listening for face auth, default is 0(DEVICE_POSTURE_UNKNOWN)
|
||||
means setting will try listening on device posture changes.
|
||||
0 : DEVICE_POSTURE_UNKNOWN
|
||||
1 : DEVICE_POSTURE_CLOSED
|
||||
2 : DEVICE_POSTURE_HALF_OPENED
|
||||
3 : DEVICE_POSTURE_OPENED
|
||||
4 : DEVICE_POSTURE_FLIPPED
|
||||
-->
|
||||
<integer name="config_face_enroll_supported_posture">0</integer>
|
||||
|
||||
<!-- Whether to show the "less secure" info section on the face enroll intro screen -->
|
||||
<bool name="config_face_intro_show_less_secure">false</bool>
|
||||
|
||||
<!-- Whether to show the "require eyes" info section on the face enroll intro screen -->
|
||||
<bool name="config_face_intro_show_require_eyes">true</bool>
|
||||
|
||||
<!-- Whether to use the Lottie animation for the face education enrollment screen -->
|
||||
<bool name="config_face_education_use_lottie">false</bool>
|
||||
|
||||
<!-- Whether to support enrollment during setup wizard flow -->
|
||||
<bool name="config_suw_support_face_enroll">true</bool>
|
||||
|
||||
<!-- App intent -->
|
||||
<string name="config_account_intent_uri" translatable="false"></string>
|
||||
|
||||
<!-- Whether or not the dock settings are to be displayed for this device when docked -->
|
||||
<bool name="has_dock_settings">false</bool>
|
||||
<!-- Whether there is a boot sounds checkbox -->
|
||||
<bool name="has_boot_sounds">false</bool>
|
||||
|
||||
<!-- Display additional System Update menu if true -->
|
||||
<bool name="config_additional_system_update_setting_enable">false</bool>
|
||||
|
||||
<!-- Whether the bluetooth activation confirmation dialogs should be auto dismissed.
|
||||
Can be overridden for specific product builds. -->
|
||||
<bool name="auto_confirm_bluetooth_activation_dialog">false</bool>
|
||||
|
||||
<!-- Whether the device name is shown in About device or not -->
|
||||
<bool name="config_show_device_name">true</bool>
|
||||
|
||||
<!-- Whether to show a preference item for the manual in About phone -->
|
||||
<bool name="config_show_manual">false</bool>
|
||||
<!-- Whether to show a preference item for regulatory information in About phone -->
|
||||
<bool name="config_show_regulatory_info">false</bool>
|
||||
<!-- Package name of regulatory information overlay which provides mapping and contents.
|
||||
Fetch resource from overlay package directly if this is set. -->
|
||||
<string name="config_regulatory_info_overlay_package_name" translatable="false" />
|
||||
|
||||
<!-- Whether none security option is hide or not (country specific). -->
|
||||
<bool name="config_hide_none_security_option">false</bool>
|
||||
|
||||
<!-- Whether swipe security option is hidden or not -->
|
||||
<bool name="config_hide_swipe_security_option">false</bool>
|
||||
|
||||
<!-- Whether Wi-Fi settings should be shown or not.
|
||||
This also controls whether Wi-fi related sub-settings (e.g. Wi-Fi preferences) will
|
||||
surface in search results or not.-->
|
||||
<bool name="config_show_wifi_settings">true</bool>
|
||||
|
||||
<!-- Whether Wi-Fi hotspot settings should be shown or not. -->
|
||||
<bool name="config_show_wifi_hotspot_settings">true</bool>
|
||||
|
||||
<!-- Whether Wi-Fi hotspot speed should be shown or not. -->
|
||||
<bool name="config_show_wifi_hotspot_speed">true</bool>
|
||||
|
||||
<!-- Whether toggle_airplane is available or not. -->
|
||||
<bool name="config_show_toggle_airplane">true</bool>
|
||||
|
||||
<!-- Whether private_dns_settings is available or not. -->
|
||||
<bool name="config_show_private_dns_settings">true</bool>
|
||||
|
||||
<!-- Whether memory from app_info_settings is available or not. -->
|
||||
<bool name="config_show_app_info_settings_memory">false</bool>
|
||||
|
||||
<!-- Whether battery from app_info_settings is available or not. -->
|
||||
<bool name="config_show_app_info_settings_battery">true</bool>
|
||||
|
||||
<!-- Whether location scanning is available or not. -->
|
||||
<bool name="config_show_location_scanning">true</bool>
|
||||
|
||||
<!-- Whether media_volume should be shown or not. -->
|
||||
<bool name="config_show_media_volume">true</bool>
|
||||
|
||||
<!-- Whether alarm_volume should be shown or not. -->
|
||||
<bool name="config_show_alarm_volume">true</bool>
|
||||
|
||||
<!-- Whether call_volume should be shown or not. -->
|
||||
<bool name="config_show_call_volume">true</bool>
|
||||
|
||||
<!-- Whether notification_volume should be shown or not. -->
|
||||
<bool name="config_show_notification_volume">true</bool>
|
||||
|
||||
<!-- Whether notification_ringtone should be shown or not. -->
|
||||
<bool name="config_show_notification_ringtone">true</bool>
|
||||
|
||||
<!-- Whether screen_locking_sounds should be shown or not. -->
|
||||
<bool name="config_show_screen_locking_sounds">true</bool>
|
||||
|
||||
<!-- Whether charging_sounds should be shown or not. -->
|
||||
<bool name="config_show_charging_sounds">true</bool>
|
||||
|
||||
<!-- Whether touch_sounds should be shown or not. -->
|
||||
<bool name="config_show_touch_sounds">true</bool>
|
||||
|
||||
<!-- Whether encryption_and_credentials_encryption_status should be shown or not. -->
|
||||
<bool name="config_show_encryption_and_credentials_encryption_status">true</bool>
|
||||
|
||||
<!-- Whether premium_sms should be shown or not. -->
|
||||
<bool name="config_show_premium_sms">true</bool>
|
||||
|
||||
<!-- Whether data_saver should be shown or not. -->
|
||||
<bool name="config_show_data_saver">true</bool>
|
||||
|
||||
<!-- Whether enabled_vr_listeners should be shown or not. -->
|
||||
<bool name="config_show_enabled_vr_listeners">true</bool>
|
||||
|
||||
<!-- Whether phone_language should be shown or not. -->
|
||||
<bool name="config_show_phone_language">true</bool>
|
||||
|
||||
<!-- Whether virtual_keyboard_pref should be shown or not. -->
|
||||
<bool name="config_show_virtual_keyboard_pref">true</bool>
|
||||
|
||||
<!-- Whether physical_keyboard_pref should be shown or not. -->
|
||||
<bool name="config_show_physical_keyboard_pref">true</bool>
|
||||
|
||||
<!-- Whether spellcheckers_settings should be shown or not. -->
|
||||
<bool name="config_show_spellcheckers_settings">true</bool>
|
||||
|
||||
<!-- Whether tts_settings_summary should be shown or not. -->
|
||||
<bool name="config_show_tts_settings_summary">true</bool>
|
||||
|
||||
<!-- Whether pointer_speed should be shown or not. -->
|
||||
<bool name="config_show_pointer_speed">true</bool>
|
||||
|
||||
<!-- Whether vibrate_input_devices should be shown or not. -->
|
||||
<bool name="config_show_vibrate_input_devices">true</bool>
|
||||
|
||||
<!-- Whether manage_device_admin should be shown or not. -->
|
||||
<bool name="config_show_manage_device_admin">true</bool>
|
||||
|
||||
<!-- Whether unlock_set_or_change should be shown or not. -->
|
||||
<bool name="config_show_unlock_set_or_change">true</bool>
|
||||
|
||||
<!-- Whether screen_pinning_settings should be shown or not. -->
|
||||
<bool name="config_show_screen_pinning_settings">true</bool>
|
||||
|
||||
<!-- Whether manage_trust_agents should be shown or not. -->
|
||||
<bool name="config_show_manage_trust_agents">true</bool>
|
||||
|
||||
<!-- Whether show_password should be shown or not. -->
|
||||
<bool name="config_show_show_password">true</bool>
|
||||
|
||||
<!-- Whether trust_agent_click_intent should be shown or not. -->
|
||||
<bool name="config_show_trust_agent_click_intent">true</bool>
|
||||
|
||||
<!-- Whether wallpaper attribution should be shown or not. -->
|
||||
<bool name="config_show_wallpaper_attribution">true</bool>
|
||||
|
||||
<!-- Whether assist_and_voice_input should be shown or not. -->
|
||||
<bool name="config_show_assist_and_voice_input">true</bool>
|
||||
|
||||
<!-- Whether reset_dashboard should be shown or not. -->
|
||||
<bool name="config_show_reset_dashboard">true</bool>
|
||||
|
||||
<!-- Whether system_update_settings should be shown or not. -->
|
||||
<bool name="config_show_system_update_settings">true</bool>
|
||||
|
||||
<!-- Whether device_model should be shown or not. -->
|
||||
<bool name="config_show_device_model">true</bool>
|
||||
|
||||
<!-- Whether top_level_accessibility should be shown or not. -->
|
||||
<bool name="config_show_top_level_accessibility">true</bool>
|
||||
|
||||
<!-- Whether top_level_battery should be shown or not. -->
|
||||
<bool name="config_show_top_level_battery">true</bool>
|
||||
|
||||
<!-- Whether to use compact battery status string. -->
|
||||
<bool name="config_use_compact_battery_status">false</bool>
|
||||
|
||||
<!-- Whether top_level_connected_devices should be shown or not. -->
|
||||
<bool name="config_show_top_level_connected_devices">true</bool>
|
||||
|
||||
<!-- Whether top_level_display should be shown or not. -->
|
||||
<bool name="config_show_top_level_display">true</bool>
|
||||
|
||||
<!-- Whether wifi_ip_address should be shown or not. -->
|
||||
<bool name="config_show_wifi_ip_address">true</bool>
|
||||
|
||||
<!-- Whether wifi_mac_address should be shown or not. -->
|
||||
<bool name="config_show_wifi_mac_address">true</bool>
|
||||
|
||||
<!-- Whether to disable "Uninstall Updates" menu item for System apps or not. -->
|
||||
<bool name="config_disable_uninstall_update">false</bool>
|
||||
|
||||
<!-- Slice Uri to query nearby devices. -->
|
||||
<string name="config_nearby_devices_slice_uri" translatable="false">content://com.google.android.gms.nearby.fastpair/device_status_list_item</string>
|
||||
|
||||
<!-- BT Slice intent action. To support Settings 2 panel, BT slice can't use PendingIntent.send(). Therefore, here defines the Slice intent action. -->
|
||||
<string name="config_bt_slice_intent_action" translatable="false"></string>
|
||||
<!-- BT Slice pending intent action. To support Settings 2 panel, BT slice can't use PendingIntent.send(). Therefore, here defines the Slice pending intent action. -->
|
||||
<string name="config_bt_slice_pending_intent_action" translatable="false"></string>
|
||||
<!-- BT Slice EXTRA_INTENT. To support Settings 2 panel, BT slice can't use PendingIntent.send(). Therefore, here defines the Slice EXTRA_INTENT. -->
|
||||
<string name="config_bt_slice_extra_intent" translatable="false"></string>
|
||||
<!-- BT Slice EXTRA_PENDING_INTENT. To support Settings 2 panel, BT slice can't use PendingIntent.send(). Therefore, here defines the Slice EXTRA_PENDING_INTENT. -->
|
||||
<string name="config_bt_slice_extra_pending_intent" translatable="false"></string>
|
||||
|
||||
<!-- Grayscale settings intent -->
|
||||
<string name="config_grayscale_settings_intent" translatable="false"></string>
|
||||
|
||||
<!-- List containing the injected tile keys which are suppressed. -->
|
||||
<string-array name="config_suppress_injected_tile_keys" translatable="false"/>
|
||||
|
||||
<!-- Reset application package name -->
|
||||
<string-array name="config_skip_reset_apps_package_name" translatable="false">
|
||||
<item>android</item>
|
||||
<item>com.android.providers.downloads</item>
|
||||
<item>com.android.systemui</item>
|
||||
<item>com.android.vending</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Settings panel keeps observe this uri -->
|
||||
<string-array name="config_panel_keep_observe_uri" translatable="false">
|
||||
<item>content://com.android.settings.slices/intent/media_output_indicator</item>
|
||||
</string-array>
|
||||
|
||||
<!-- List containing the apps keep in battery mode = "Optimized" -->
|
||||
<string-array name="config_force_battery_optimize_mode_apps" translatable="false">
|
||||
</string-array>
|
||||
|
||||
<!-- List containing the apps keep in battery mode = "Unrestricted" -->
|
||||
<string-array name="config_force_battery_unrestrict_mode_apps" translatable="false">
|
||||
</string-array>
|
||||
|
||||
<!-- Uri to query non-public Slice Uris. -->
|
||||
<string name="config_non_public_slice_query_uri" translatable="false"></string>
|
||||
|
||||
<!-- RTT setting intent action -->
|
||||
<string name="config_rtt_setting_intent_action" translatable="false"></string>
|
||||
|
||||
<!-- Package name of dialer supports RTT setting-->
|
||||
<string name="config_rtt_setting_package_name" translatable="false"></string>
|
||||
|
||||
<!-- Whether nfc detection point preview image is available or not. -->
|
||||
<bool name="config_nfc_detection_point">false</bool>
|
||||
|
||||
<!-- Whether to show Smooth Display feature in Settings Options -->
|
||||
<bool name="config_show_smooth_display">false</bool>
|
||||
|
||||
<!-- Whether to show emergency settings in top-level Settings -->
|
||||
<bool name="config_show_emergency_settings">true</bool>
|
||||
|
||||
<!-- Whether to show emergency gesture in Settings -->
|
||||
<bool name="config_show_emergency_gesture_settings">true</bool>
|
||||
|
||||
<!-- Optional package name if another 1p app wants to take over the emergency gesture settings UI -->
|
||||
<string name="emergency_gesture_settings_package"></string>
|
||||
|
||||
<!-- Whether to show the Preference for Adaptive connectivity -->
|
||||
<bool name="config_show_adaptive_connectivity">false</bool>
|
||||
|
||||
<!-- Authority of advanced device battery prediction -->
|
||||
<string name="config_battery_prediction_authority" translatable="false"></string>
|
||||
|
||||
<!-- Whether to handle slot change events -->
|
||||
<bool name="config_handle_sim_slot_change">false</bool>
|
||||
|
||||
<!-- whether use partner overlay theme for outside setupwizard flow -->
|
||||
<bool name="config_suc_use_partner_resource">false</bool>
|
||||
|
||||
<!-- Cell broacast receiver package name -->
|
||||
<string name="config_cell_broadcast_receiver_package" translatable="false">com.android.cellbroadcastreceiver.module</string>
|
||||
|
||||
<!-- These media Uri are not defined in framework yet. Replace with framework defined variables once it's available. -->
|
||||
<!-- Media Uri to view images storage category. -->
|
||||
<string name="config_images_storage_category_uri" translatable="false">content://com.android.providers.media.documents/root/images_root</string>
|
||||
|
||||
<!-- Media Uri to view videos storage category. -->
|
||||
<string name="config_videos_storage_category_uri" translatable="false">content://com.android.providers.media.documents/root/videos_root</string>
|
||||
|
||||
<!-- Media Uri to view audio storage category. -->
|
||||
<string name="config_audio_storage_category_uri" translatable="false">content://com.android.providers.media.documents/root/audio_root</string>
|
||||
|
||||
<!-- Media Uri to view documents & other storage category. -->
|
||||
<string name="config_documents_and_other_storage_category_uri" translatable="false">content://com.android.providers.media.documents/root/documents_root</string>
|
||||
|
||||
<!-- Whether to show Smart Storage toggle -->
|
||||
<bool name="config_show_smart_storage_toggle">true</bool>
|
||||
|
||||
<!-- Display settings screen, Color mode options. Must be the same length and order as
|
||||
config_color_mode_options_values below. Only the values that also appear in
|
||||
frameworks/base/core/res/res/values/config.xml's config_availableColorModes are shown. -->
|
||||
<string-array name="config_color_mode_options_strings" translatable="false">
|
||||
<item>@string/color_mode_option_natural</item>
|
||||
<item>@string/color_mode_option_boosted</item>
|
||||
<item>@string/color_mode_option_saturated</item>
|
||||
<item>@string/color_mode_option_automatic</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Display settings screen, Color mode options. Must be the same length and order as
|
||||
config_color_mode_options_strings above. Only the values that also appear in
|
||||
frameworks/base/core/res/res/values/config.xml's config_availableColorModes are shown. -->
|
||||
<integer-array name="config_color_mode_options_values" translatable="false">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- App aspect ratio settings screen, user aspect ratio override options. Must be the same
|
||||
length and order as config_userAspectRatioOverrideValues below. -->
|
||||
<string-array name="config_userAspectRatioOverrideEntries" translatable="false">
|
||||
<item>@string/user_aspect_ratio_app_default</item>
|
||||
<item>@string/user_aspect_ratio_fullscreen</item>
|
||||
<item>@string/user_aspect_ratio_half_screen</item>
|
||||
<item>@string/user_aspect_ratio_device_size</item>
|
||||
<item>@string/user_aspect_ratio_16_9</item>
|
||||
<item>@string/user_aspect_ratio_4_3</item>
|
||||
<item>@string/user_aspect_ratio_3_2</item>
|
||||
</string-array>
|
||||
|
||||
<!-- App aspect ratio settings screen, user aspect ratio override options. Must be the same
|
||||
length and order as config_userAspectRatioOverrideEntries above. The values must
|
||||
correspond to PackageManager.UserMinAspectRatio -->
|
||||
<integer-array name="config_userAspectRatioOverrideValues" translatable="false">
|
||||
<item>0</item> <!-- USER_MIN_ASPECT_RATIO_UNSET -->
|
||||
<item>6</item> <!-- USER_MIN_ASPECT_RATIO_FULLSCREEN -->
|
||||
<item>1</item> <!-- USER_MIN_ASPECT_RATIO_SPLIT_SCREEN -->
|
||||
<item>2</item> <!-- USER_MIN_ASPECT_RATIO_DISPLAY_SIZE -->
|
||||
<item>4</item> <!-- USER_MIN_ASPECT_RATIO_16_9 -->
|
||||
<item>3</item> <!-- USER_MIN_ASPECT_RATIO_4_3 -->
|
||||
<item>5</item> <!-- USER_MIN_ASPECT_RATIO_3_2 -->
|
||||
</integer-array>
|
||||
|
||||
<!-- The settings/preference description for each settable device state defined in the array
|
||||
"config_perDeviceStateRotationLockDefaults".
|
||||
The item in position "i" describes the auto-rotation setting for the device state also in
|
||||
position "i" in the array "config_perDeviceStateRotationLockDefaults". -->
|
||||
<string-array name="config_settableAutoRotationDeviceStatesDescriptions">
|
||||
<!-- Example:
|
||||
<item>Auto-rotate when folded</item>
|
||||
<item>@null</item> No description for state in position 1
|
||||
<item>Auto-rotate when unfolded</item>
|
||||
-->
|
||||
</string-array>
|
||||
|
||||
<!-- The option list for switch screen resolution -->
|
||||
<string-array name="config_screen_resolution_options_strings" translatable="false">
|
||||
<item>@string/screen_resolution_option_high</item>
|
||||
<item>@string/screen_resolution_option_full</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Whether to aggregate for network selection list-->
|
||||
<bool name="config_network_selection_list_aggregation_enabled">false</bool>
|
||||
|
||||
<!-- Max network scan search time in seconds -->
|
||||
<integer name="config_network_scan_helper_max_search_time_sec">300</integer>
|
||||
|
||||
<!-- Whether to give option to add restricted profiles -->
|
||||
<bool name="config_offer_restricted_profiles">false</bool>
|
||||
|
||||
<!-- An array of packages for which Applications whose per-app locale cannot be changed. -->
|
||||
<string-array name="config_disallowed_app_localeChange_packages" translatable="false">
|
||||
<!--
|
||||
<item>com.example.package.first</item>
|
||||
<item>com.example.package.second</item>
|
||||
<item>...</item>
|
||||
-->
|
||||
</string-array>
|
||||
|
||||
<!-- The ratio to use when using the two-pane settings layout -->
|
||||
<item name="config_activity_embed_split_ratio" format="float" type="dimen">0.3636</item>
|
||||
|
||||
<!-- The smallest value of the smallest-width (sw) of the window in any rotation when the split
|
||||
should be used. -->
|
||||
<integer name="config_activity_embed_split_min_sw_dp">600</integer>
|
||||
|
||||
<!-- The smallest value of current width of the window when the split should be used. -->
|
||||
<integer name="config_activity_embed_split_min_cur_dp">720</integer>
|
||||
|
||||
<!-- The number of visible app icons while entering app list related pages for preloading.
|
||||
Take the "Unrestricted data" page as the example, the visible app icons could be 15
|
||||
on 6.4 inches screen size whether the font size and display size are both small. -->
|
||||
<integer name="config_num_visible_app_icons">20</integer>
|
||||
|
||||
<!-- Whether the dream setup activity should be enabled as part of setupwizard -->
|
||||
<bool name="dream_setup_supported">false</bool>
|
||||
|
||||
<!-- Whether to show communal settings at the top level. -->
|
||||
<bool name="config_show_communal_settings">false</bool>
|
||||
|
||||
<!-- The extra value for battery tip -->
|
||||
<integer name="config_battery_extra_tip_value">12</integer>
|
||||
|
||||
<!-- Whether to enable the advanced vpn feature. The default is not to. -->
|
||||
<bool name="config_advanced_vpn_enabled">false</bool>
|
||||
|
||||
<!-- Whether to show the VPN options menu. The default is to show it. -->
|
||||
<bool name="config_show_vpn_options">true</bool>
|
||||
|
||||
<!-- An array of uid name for which packages exempt from Wi-Fi permission check. -->
|
||||
<string-array name="config_exempt_wifi_permission_uid_name" translatable="false">
|
||||
<item>@string/config_settingsintelligence_package_name</item>
|
||||
<item>android.uid.system:1000</item>
|
||||
</string-array>
|
||||
|
||||
<!-- The default value for RedactionInterstitial in SUW -->
|
||||
<bool name="default_allow_sensitive_lockscreen_content">true</bool>
|
||||
|
||||
<!-- Whether to enable the app battery usage list page feature. -->
|
||||
<bool name="config_app_battery_usage_list_enabled">false</bool>
|
||||
|
||||
<!-- Whether sim related information is visible to the end user. -->
|
||||
<bool name="config_show_sim_info">true</bool>
|
||||
|
||||
<!-- In the case of receiving both help and progress message, display progress message. -->
|
||||
<bool name="enrollment_progress_priority_over_help">false</bool>
|
||||
<!-- Prioritize help message by their occurrence -->
|
||||
<bool name="enrollment_prioritize_acquire_messages">false</bool>
|
||||
<!-- Control messages displayed during enrollment -->
|
||||
<bool name="enrollment_message_display_controller_flag">false</bool>
|
||||
|
||||
<!-- Whether the toggle for Auto-rotate with Face Detection should be shown. -->
|
||||
<bool name="config_auto_rotate_face_detection_available">true</bool>
|
||||
|
||||
<!-- Whether to display the 3G option at network mode.-->
|
||||
<bool name="config_display_network_mode_3g_option">true</bool>
|
||||
|
||||
<!-- The radius of the enrollment progress bar, in dp -->
|
||||
<integer name="config_udfpsEnrollProgressBar" translatable="false">
|
||||
280
|
||||
</integer>
|
||||
|
||||
<!-- Default udfps icon. Same path as ic_fingerprint.xml -->
|
||||
<string name="config_udfpsIcon" translatable="false">
|
||||
M25.5,16.3283C28.47,14.8433 31.9167,14 35.5834,14C39.2501,14 42.6968,14.8433 45.6668,16.3283
|
||||
M20,28.6669C22.7683,24.3402 28.7084,21.3335 35.5834,21.3335C42.4585,21.3335 48.3985,
|
||||
24.3402 51.1669,28.6669
|
||||
M22.8607,47.0002C21.834,44.3235 21.834,41.5002 21.834,41.5002C21.834,
|
||||
34.4051 27.7374,28.6667 35.5841,28.6667C43.4308,28.6667 49.3341,34.4051 49.3341,41.5002
|
||||
M49.3344,41.5003V42.0319C49.3344,44.7636 47.1161,47.0003 44.3661,47.0003C41.9461,
|
||||
47.0003 39.8744,45.2403 39.471,42.857L38.9577,
|
||||
39.7769C38.591,37.5953 36.7027,36.0002 34.5027,
|
||||
36.0002C26.5826,36.0002 29.846,49.1087 35.291,50.6487
|
||||
M44.9713,54.6267C42.5513,56.7167 39.2879,58.0001 35.5846,58.0001C32.2296,
|
||||
58.0001 29.2229,56.9551 26.8945,55.195
|
||||
</string>
|
||||
|
||||
<!-- Whether auto data switching on secondary SIM enables cross-SIM calling on both SIMs. -->
|
||||
<bool name="config_auto_data_switch_enables_cross_sim_calling">false</bool>
|
||||
|
||||
<!-- Whether checking adaptive charging to define battery manager visibility. -->
|
||||
<bool name="config_battery_manager_consider_ac">false</bool>
|
||||
|
||||
<!-- Whether to display Cloned Apps page in Settings (Settings > Apps > Cloned Apps).-->
|
||||
<bool name="config_cloned_apps_page_enabled">false</bool>
|
||||
|
||||
<!-- Whether to initiate Account login during Private Space setup.-->
|
||||
<bool name="config_privatespace_account_login_enabled">false</bool>
|
||||
|
||||
<!-- Certificates of apps which are allowed to use activity embedding with Settings.-->
|
||||
<string-array name="config_known_host_certs" translatable="false">
|
||||
<item></item>
|
||||
</string-array>
|
||||
|
||||
<!-- Whether to display the "Enable wireless display" menu -->
|
||||
<bool name="config_show_wifi_display_enable_menu">true</bool>
|
||||
|
||||
<!-- List of packages that should be hidden for MVNO. Do not translate -->
|
||||
<string-array name="datausage_hiding_carrier_service_package_names" translatable="false"/>
|
||||
|
||||
<!-- List of MVNO. Do not translate -->
|
||||
<integer-array name="datausage_hiding_carrier_service_carrier_id" translatable="false"/>
|
||||
|
||||
<!-- App locale change intent action-->
|
||||
<string name ="config_app_locale_intent_action" translatable="false" />
|
||||
|
||||
<!-- Allowed packages to show the confirmation dialog for a system locale suggestion -->
|
||||
<string-array name="allowed_packages_for_locale_confirmation_diallog" translatable="false"/>
|
||||
|
||||
<!-- Array of text reading preview layouts. Must contain at least 1 layout -->
|
||||
<array name="config_text_reading_preview_samples">
|
||||
<item>@layout/accessibility_text_reading_preview_app_grid</item>
|
||||
<item>@layout/screen_zoom_preview_1</item>
|
||||
<item>@layout/accessibility_text_reading_preview_mail_content</item>
|
||||
</array>
|
||||
|
||||
<!-- Package responsible for updating Mainline Modules -->
|
||||
<string name="config_mainline_module_update_package" translatable="false">com.android.vending</string>
|
||||
|
||||
<!-- Whether location services setting is available or not. -->
|
||||
<bool name="config_show_location_services">true</bool>
|
||||
|
||||
<!-- Whether to disable location toggle for ChromeOS devices-->
|
||||
<bool name="config_disable_location_toggle_for_chrome">false</bool>
|
||||
|
||||
<!-- Whether to display pSIM conversion menu in Settings.-->
|
||||
<bool name="config_psim_conversion_menu_enabled">false</bool>
|
||||
|
||||
<!-- Array of carrier id to allow the pSIM conversion-->
|
||||
<integer-array name="config_psim_conversion_menu_enabled_carrier" translatable="false">
|
||||
</integer-array>
|
||||
|
||||
<!-- Array of carrier id that uses reusable activation code-->
|
||||
<integer-array name="config_carrier_use_rac" translatable="false">
|
||||
</integer-array>
|
||||
</resources>
|
||||
491
Settings/res/values/dimens.xml
Normal file
491
Settings/res/values/dimens.xml
Normal file
@@ -0,0 +1,491 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2009 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.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<dimen name="match_parent">-1px</dimen>
|
||||
|
||||
<dimen name="app_icon_size">40dip</dimen>
|
||||
<dimen name="min_tap_target_size">48dp</dimen>
|
||||
<dimen name="screen_margin_sides">64dip</dimen>
|
||||
<dimen name="content_margin_left">16dip</dimen>
|
||||
<dimen name="description_margin_top">26dip</dimen>
|
||||
<dimen name="description_margin_sides">40dip</dimen>
|
||||
<dimen name="bind_app_widget_dialog_checkbox_bottom_padding">16dip</dimen>
|
||||
<dimen name="installed_app_details_bullet_offset">8dip</dimen>
|
||||
|
||||
<dimen name="data_usage_chart_height">228dip</dimen>
|
||||
<dimen name="usage_number_text_size">36sp</dimen>
|
||||
|
||||
<dimen name="balance_seekbar_center_marker_height">14dp</dimen>
|
||||
<dimen name="balance_seekbar_center_marker_width">1dp</dimen>
|
||||
|
||||
<dimen name="pager_tabs_title_padding">16dp</dimen>
|
||||
<dimen name="pager_tabs_selected_indicator_height">3dp</dimen>
|
||||
|
||||
<dimen name="captioning_preview_height">300dp</dimen>
|
||||
|
||||
<dimen name="color_mode_preview_height">320dp</dimen>
|
||||
|
||||
<dimen name="ring_progress_bar_thickness">4dp</dimen>
|
||||
|
||||
<dimen name="notification_importance_toggle_marginTop">28dp</dimen>
|
||||
<dimen name="notification_importance_button_separation">16dp</dimen>
|
||||
<dimen name="notification_importance_drawable_padding">8dp</dimen>
|
||||
<dimen name="notification_importance_description_text">14sp</dimen>
|
||||
<dimen name="notification_importance_button_text">16sp</dimen>
|
||||
<dimen name="notification_importance_button_padding">14dp</dimen>
|
||||
|
||||
<dimen name="conversation_icon_size">32dp</dimen>
|
||||
|
||||
<dimen name="zen_mode_settings_button_margin_vertical">24dp</dimen>
|
||||
<dimen name="zen_schedule_rule_checkbox_padding">7dp</dimen>
|
||||
<dimen name="zen_schedule_day_margin">17dp</dimen>
|
||||
|
||||
<dimen name="rect_button_radius">8dp</dimen>
|
||||
|
||||
<!-- Default text size for captioning preview samples. Uses dp rather than sp because captions are not scaled. -->
|
||||
<dimen name="captioning_preview_text_size">48dp</dimen>
|
||||
|
||||
<!-- ActionBar contentInsetStart -->
|
||||
<dimen name="actionbar_contentInsetStart">16dp</dimen>
|
||||
<dimen name="actionbar_subsettings_contentInsetStart">72dp</dimen>
|
||||
|
||||
<!-- Dashboard image tile size -->
|
||||
<dimen name="dashboard_tile_image_size">36dp</dimen>
|
||||
|
||||
<!-- Dashboard foreground image size -->
|
||||
<dimen name="dashboard_tile_foreground_image_size">24dp</dimen>
|
||||
|
||||
<!-- Dashboard foreground image inset (from background edge to foreground edge) -->
|
||||
<dimen name="dashboard_tile_foreground_image_inset">6dp</dimen>
|
||||
|
||||
<!-- Preference icon foreground image inset (from background edge to foreground edge) -->
|
||||
<dimen name="preference_icon_foreground_image_inset">12dp</dimen>
|
||||
|
||||
<!-- Search bar -->
|
||||
<dimen name="search_bar_margin">16dp</dimen>
|
||||
<dimen name="search_bar_height">52dp</dimen>
|
||||
<dimen name="search_bar_text_size">20sp</dimen>
|
||||
<dimen name="search_bar_corner_radius">28dp</dimen>
|
||||
<dimen name="search_bar_content_inset">56dp</dimen>
|
||||
<dimen name="search_bar_padding_start">4dp</dimen>
|
||||
<dimen name="search_bar_padding_start_two_pane">8dp</dimen>
|
||||
<dimen name="search_bar_padding_end">16dp</dimen>
|
||||
<dimen name="search_bar_padding_end_two_pane">24dp</dimen>
|
||||
<dimen name="search_bar_title_padding_start">-4dp</dimen>
|
||||
<dimen name="search_bar_title_padding_start_regular_two_pane">8dp</dimen>
|
||||
|
||||
<!-- Avatar -->
|
||||
<dimen name="avatar_length">48dp</dimen>
|
||||
<dimen name="avatar_margin_top">56dp</dimen>
|
||||
<dimen name="avatar_margin_end">24dp</dimen>
|
||||
<dimen name="multiple_users_avatar_size">20dp</dimen>
|
||||
<dimen name="multiple_users_user_icon_size">40dp</dimen>
|
||||
|
||||
<!-- Homepage -->
|
||||
<dimen name="homepage_title_margin_bottom">8dp</dimen>
|
||||
<dimen name="homepage_title_margin_horizontal">24dp</dimen>
|
||||
<dimen name="homepage_padding_horizontal_two_pane">24dp</dimen>
|
||||
<dimen name="homepage_preference_corner_radius">28dp</dimen>
|
||||
<dimen name="homepage_preference_min_height">88sp</dimen>
|
||||
<dimen name="homepage_preference_icon_padding_start">32dp</dimen>
|
||||
<dimen name="homepage_preference_icon_padding_start_two_pane">8dp</dimen>
|
||||
<dimen name="homepage_preference_text_padding_start">16dp</dimen>
|
||||
<dimen name="homepage_preference_text_padding_start_two_pane">24dp</dimen>
|
||||
<dimen name="homepage_app_bar_corner_radius">32dp</dimen>
|
||||
<dimen name="homepage_app_bar_padding_two_pane">6dp</dimen>
|
||||
<!-- bottom: search_bar_margin - homepage_app_bar_padding_two_pane -->
|
||||
<dimen name="homepage_app_bar_margin_bottom_two_pane">10dp</dimen>
|
||||
<!-- horizontal: homepage_padding_horizontal_two_pane - homepage_app_bar_padding_two_pane -->
|
||||
<dimen name="homepage_app_bar_margin_horizontal_two_pane">18dp</dimen>
|
||||
|
||||
<!-- SIM Dialog padding -->
|
||||
<dimen name="sim_color_spinner_padding">12dip</dimen>
|
||||
<dimen name="sim_label_padding">16dip</dimen>
|
||||
<dimen name="sim_content_padding">24dip</dimen>
|
||||
|
||||
<!-- Bluetooth Preferences -->
|
||||
<dimen name="bluetooth_dialog_padding">8dip</dimen>
|
||||
<dimen name="bluetooth_dialog_padding_top">20dp</dimen>
|
||||
<dimen name="bluetooth_pairing_padding">24dp</dimen>
|
||||
<dimen name="bluetooth_pairing_edittext_padding">21dp</dimen>
|
||||
<dimen name="bluetooth_checkbox_padding">16dp</dimen>
|
||||
|
||||
<!-- CompanionAppWidgetPreferencce Padding -->
|
||||
<dimen name="bluetooth_companion_app_widget">20dp</dimen>
|
||||
|
||||
<!-- WiFi Preferences -->
|
||||
<dimen name="wifi_detail_page_header_image_size">32dp</dimen>
|
||||
|
||||
<!-- Internet Preferences -->
|
||||
<dimen name="airplane_mode_message_margin_vertical">24dp</dimen>
|
||||
<dimen name="reset_internet_ring_progress_right_margin">4dp</dimen>
|
||||
|
||||
<!-- Color picker -->
|
||||
<dimen name="color_swatch_size">16dp</dimen>
|
||||
<dimen name="color_swatch_stroke_width">4dp</dimen>
|
||||
|
||||
<!-- RedactionInterstitial -->
|
||||
<dimen name="redaction_vertical_margins">8dp</dimen>
|
||||
|
||||
<!-- Fingerprint -->
|
||||
<dimen name="fingerprint_dot_radius">8dp</dimen>
|
||||
<dimen name="fingerprint_pulse_radius">50dp</dimen>
|
||||
<item name="fingerprint_sensor_location_fraction_x" type="fraction">50%</item>
|
||||
<item name="fingerprint_sensor_location_fraction_y" type="fraction">30%</item>
|
||||
<dimen name="fingerprint_find_sensor_graphic_size">190dp</dimen>
|
||||
<dimen name="fingerprint_error_text_appear_distance">16dp</dimen>
|
||||
<dimen name="fingerprint_error_text_disappear_distance">-8dp</dimen>
|
||||
<dimen name="sfps_enrollment_finished_icon_max_size">295dp</dimen>
|
||||
<dimen name="fingerprint_progress_bar_max_size">240dp</dimen>
|
||||
<dimen name="fingerprint_progress_bar_min_size">120dp</dimen>
|
||||
<dimen name="sfps_progress_bar_translate_x">2dp</dimen>
|
||||
<dimen name="sfps_progress_bar_translate_y">2dp</dimen>
|
||||
<dimen name="sfps_lottie_translate_x">12dp</dimen>
|
||||
<dimen name="sfps_lottie_translate_y">12dp</dimen>
|
||||
<dimen name="udfps_lottie_translate_y">0dp</dimen>
|
||||
<dimen name="udfps_lottie_padding_top">20dp</dimen>
|
||||
|
||||
<!-- Face -->
|
||||
<item name="face_preview_translate_y" format="float" type="dimen">0</item>
|
||||
<item name="face_preview_translate_x" format="float" type="dimen">0</item>
|
||||
<item name="face_preview_scale" format="float" type="dimen">1.0</item>
|
||||
<dimen name="face_enroll_intro_illustration_margin_bottom">0dp</dimen>
|
||||
|
||||
<!-- Keyboard -->
|
||||
<dimen name="keyboard_picker_margin_large">68dp</dimen>
|
||||
<dimen name="keyboard_picker_margin">24dp</dimen>
|
||||
<dimen name="keyboard_picker_margin_one_pane_large">48dp</dimen>
|
||||
<dimen name="keyboard_picker_margin_one_pane">24dp</dimen>
|
||||
<dimen name="keyboard_picker_margin_small">16dp</dimen>
|
||||
<dimen name="keyboard_picker_radius">28dp</dimen>
|
||||
<dimen name="keyboard_picker_text_size">16sp</dimen>
|
||||
|
||||
<!-- RemoteAuth-->
|
||||
<dimen name="remoteauth_fragment_padding_horizontal">40dp</dimen>
|
||||
<dimen name="remoteauth_fragment_subtitle_text_size">14sp</dimen>
|
||||
<dimen name="remoteauth_icon_small_size">24dp</dimen>
|
||||
<dimen name="remoteauth_touchable_area_minimum_span">48dp</dimen>
|
||||
<dimen name="remoteauth_padding_horizontal">24dp</dimen>
|
||||
<dimen name="remoteauth_device_name_text_size">20sp</dimen>
|
||||
<dimen name="remoteauth_device_vertical_margin">12dp</dimen>
|
||||
<dimen name="remoteauth_introduction_fragment_padding_horizontal">30dp</dimen>
|
||||
<dimen name="remoteauth_introduction_description_start_margin">8dp</dimen>
|
||||
<dimen name="remoteauth_introduction_subheading_text_size">18sp</dimen>
|
||||
<dimen name="remoteauth_carousel_progress_margin">28dp</dimen>
|
||||
<dimen name="remoteauth_carousel_progress_circle_diameter">8dp</dimen>
|
||||
<dimen name="remoteauth_carousel_progress_circle_margin">4dp</dimen>
|
||||
<dimen name="remoteauth_enrolling_authenticator_vertical_margin">12dp</dimen>
|
||||
<dimen name="remoteauth_enrolling_authenticator_horizontal_margin">16dp</dimen>
|
||||
<dimen name="remoteauth_enrolling_progress_bar_size">16dp</dimen>
|
||||
<dimen name="remoteauth_settings_top_margin">22dp</dimen>
|
||||
<dimen name="remoteauth_settings_device_horizontal_margin">16dp</dimen>
|
||||
|
||||
|
||||
<!-- Lock pattern view size, align sysui biometric_auth_pattern_view_size -->
|
||||
<dimen name="biometric_auth_pattern_view_size">348dp</dimen>
|
||||
<dimen name="biometric_auth_pattern_view_max_size">@dimen/biometric_auth_pattern_view_size</dimen>
|
||||
|
||||
<!-- Delete managed profile dialog -->
|
||||
<dimen name="delete_profile_dialog_padding_top">16dp</dimen>
|
||||
<dimen name="delete_profile_dialog_padding_left_right">24dp</dimen>
|
||||
<dimen name="mdm_app_info_height">72dp</dimen>
|
||||
<dimen name="mdm_app_info_padding_top_bottom">8dp</dimen>
|
||||
<dimen name="mdm_app_name_padding_left">16dp</dimen>
|
||||
<dimen name="mdm_app_icon_width_height">56dp</dimen>
|
||||
|
||||
<!-- Launcher Icons -->
|
||||
<dimen name="shortcut_size_maskable">120dp</dimen>
|
||||
<dimen name="shortcut_size">40dp</dimen>
|
||||
|
||||
<!-- Admin support contact details dialog. -->
|
||||
<dimen name="admin_details_dialog_padding">24dp</dimen>
|
||||
<dimen name="admin_details_dialog_padding_bottom">32dp</dimen>
|
||||
<dimen name="admin_details_dialog_title_bottom_padding">16dp</dimen>
|
||||
<dimen name="admin_details_dialog_icon_size">32dp</dimen>
|
||||
|
||||
<!-- Display, Screen zoom -->
|
||||
<dimen name="conversation_message_list_padding">10dp</dimen>
|
||||
<dimen name="conversation_message_contact_icon_text_size">32sp</dimen>
|
||||
<dimen name="conversation_message_text_size">16sp</dimen>
|
||||
<dimen name="conversation_status_text_size">12sp</dimen>
|
||||
<dimen name="conversation_bubble_width_snap">20dp</dimen>
|
||||
<dimen name="message_bubble_left_right_padding">9dp</dimen>
|
||||
<dimen name="message_padding_default">18dp</dimen>
|
||||
<dimen name="message_text_left_right_padding">14dp</dimen>
|
||||
<dimen name="message_text_top_padding">10dp</dimen>
|
||||
<dimen name="message_text_bottom_padding">12dp</dimen>
|
||||
<dimen name="message_metadata_top_padding">4dp</dimen>
|
||||
<dimen name="message_icon_inset">11dp</dimen>
|
||||
|
||||
<!-- Text Reading Settings -->
|
||||
<dimen name="text_reading_preview_layout_padding_horizontal_min">
|
||||
@*android:dimen/list_item_padding_start_material</dimen>
|
||||
<dimen name="text_reading_preview_background_padding_horizontal_min">18dp</dimen>
|
||||
|
||||
<dimen name="text_reading_preview_layout_padding_horizontal_min_suw">
|
||||
@dimen/text_reading_preview_layout_padding_horizontal_min</dimen>
|
||||
<dimen name="text_reading_preview_background_padding_horizontal_min_suw">
|
||||
@dimen/text_reading_preview_background_padding_horizontal_min</dimen>
|
||||
|
||||
<!-- Accessibility Settings -->
|
||||
<dimen name="accessibility_layout_margin_start_end">16dp</dimen>
|
||||
<dimen name="accessibility_imageview_size">176dp</dimen>
|
||||
<dimen name="accessibility_illustration_view_radius">28dp</dimen>
|
||||
|
||||
<!-- Accessibility icon -->
|
||||
<dimen name="accessibility_icon_size">32dp</dimen>
|
||||
<dimen name="accessibility_icon_foreground_size">18dp</dimen>
|
||||
|
||||
<!-- Accessibility quick settings tooltip -->
|
||||
<dimen name="accessibility_qs_tooltip_margin">20dp</dimen>
|
||||
<dimen name="accessibility_qs_tooltip_margin_top">27dp</dimen>
|
||||
|
||||
<!-- Padding for Gestures settings screen -->
|
||||
<dimen name="gestures_play_button_size">36dp</dimen>
|
||||
|
||||
<!-- Minimum height for setting a lock pattern -->
|
||||
<dimen name="choose_lockscreen_min_height">200dp</dimen>
|
||||
|
||||
<!-- Choose lock Password requirement dimensions -->
|
||||
<dimen name="password_requirement_view_margin_top">16dp</dimen>
|
||||
|
||||
<!-- Screen lock option button dimensions -->
|
||||
<dimen name="screen_lock_options_button_margin_top">32dp</dimen>
|
||||
|
||||
<!-- Choose lock Password requirement font size -->
|
||||
<dimen name="password_requirement_font_size">16sp</dimen>
|
||||
|
||||
<!-- Select dialog -->
|
||||
<dimen name="select_dialog_padding_start">20dp</dimen>
|
||||
<dimen name="select_dialog_item_margin_start">12dp</dimen>
|
||||
<dimen name="select_dialog_summary_padding_bottom">8dp</dimen>
|
||||
|
||||
<!-- Battery meter view size -->
|
||||
<dimen name="battery_meter_width">66dp</dimen>
|
||||
<dimen name="battery_meter_height">100dp</dimen>
|
||||
|
||||
<!-- Margin for the reset screens -->
|
||||
<dimen name="reset_button_margin_end">20dp</dimen>
|
||||
|
||||
<!-- Homepage cards size and padding -->
|
||||
<dimen name="contextual_card_icon_size">24dp</dimen>
|
||||
<dimen name="contextual_card_vertical_margin">8dp</dimen>
|
||||
<dimen name="contextual_card_side_margin">4dp</dimen>
|
||||
<dimen name="contextual_card_icon_padding_start">14dp</dimen>
|
||||
<dimen name="contextual_card_text_padding_start">16dp</dimen>
|
||||
<dimen name="contextual_card_padding_end">16dp</dimen>
|
||||
<dimen name="contextual_card_corner_radius">@*android:dimen/config_dialogCornerRadius</dimen>
|
||||
<dimen name="contextual_full_card_padding_end">12dp</dimen>
|
||||
<dimen name="contextual_half_card_padding_top">12dp</dimen>
|
||||
<dimen name="contextual_half_card_padding_bottom">16dp</dimen>
|
||||
<dimen name="contextual_half_card_title_margin_top">12dp</dimen>
|
||||
|
||||
<!-- Homepage dismissal cards size and padding -->
|
||||
<dimen name="contextual_card_dismissal_margin_top">12dp</dimen>
|
||||
<dimen name="contextual_card_dismissal_side_margin">16dp</dimen>
|
||||
<dimen name="contextual_card_dismissal_button_margin_start">4dp</dimen>
|
||||
<dimen name="contextual_card_dismissal_button_margin_end">6dp</dimen>
|
||||
|
||||
<!-- Horizontal divider size and margin -->
|
||||
<dimen name="horizontal_divider_height">.75dp</dimen>
|
||||
|
||||
<!-- Signal icon in NetworkSelectSetting -->
|
||||
<dimen name="signal_strength_icon_size">24dp</dimen>
|
||||
|
||||
<!-- Condition cards size and padding -->
|
||||
<dimen name="contextual_condition_card_title_margin_bottom">2dp</dimen>
|
||||
<dimen name="contextual_condition_half_card_padding_top">12dp</dimen>
|
||||
<dimen name="contextual_condition_half_card_title_margin_top">12dp</dimen>
|
||||
<dimen name="contextual_condition_half_card_summary_margin_bottom">12dp</dimen>
|
||||
<dimen name="contextual_condition_full_card_padding_start">24dp</dimen>
|
||||
<dimen name="contextual_condition_full_card_padding_end">16dp</dimen>
|
||||
<dimen name="contextual_condition_full_card_padding_top">12dp</dimen>
|
||||
<dimen name="contextual_condition_full_card_padding_bottom">12dp</dimen>
|
||||
<dimen name="contextual_condition_header_padding_top">10dp</dimen>
|
||||
<dimen name="contextual_condition_header_padding_bottom">10dp</dimen>
|
||||
<dimen name="contextual_condition_header_icons_margin_start">14dp</dimen>
|
||||
<dimen name="contextual_condition_header_indicator_padding_top">4dp</dimen>
|
||||
<dimen name="contextual_condition_header_indicator_padding_start">16dp</dimen>
|
||||
<dimen name="contextual_condition_header_indicator_padding_end">16dp</dimen>
|
||||
<dimen name="contextual_condition_footer_height">48dp</dimen>
|
||||
<dimen name="contextual_condition_footer_padding_top">10dp</dimen>
|
||||
<dimen name="contextual_condition_footer_padding_end">10dp</dimen>
|
||||
<dimen name="contextual_condition_header_icon_width_height">24dp</dimen>
|
||||
<dimen name="contextual_condition_header_icon_margin_end">24dp</dimen>
|
||||
|
||||
<!-- QR code picture size -->
|
||||
<dimen name="qrcode_size">264dp</dimen>
|
||||
<dimen name="qrcode_preview_size">360dp</dimen>
|
||||
|
||||
<!-- Elevation of bluetooth icon -->
|
||||
<dimen name="bt_icon_elevation">4dp</dimen>
|
||||
|
||||
<!-- Maximum height for SliceView, override on slices/view/src/main/res/values/dimens.xml -->
|
||||
<dimen name="abc_slice_large_height">1800dp</dimen>
|
||||
|
||||
<dimen name="back_gesture_indicator_width">60dp</dimen>
|
||||
|
||||
<!-- Header title size of advanced bluetooth device -->
|
||||
<dimen name="advanced_bluetooth_header_title_text_size">16sp</dimen>
|
||||
|
||||
<!-- Battery meter icon size of advanced bluetooth device -->
|
||||
<dimen name="advanced_bluetooth_battery_meter_width">7.8dp</dimen>
|
||||
<dimen name="advanced_bluetooth_battery_meter_height">13dp</dimen>
|
||||
<dimen name="advanced_bluetooth_battery_width">15.5dp</dimen>
|
||||
<dimen name="advanced_bluetooth_battery_height">27.5dp</dimen>
|
||||
<dimen name="advanced_bluetooth_battery_right_margin">-4dp</dimen>
|
||||
|
||||
<!-- Header layout of LE audio bluetooth device at bluretooth device detalis -->
|
||||
<dimen name="le_bluetooth_battery_top_margin">5dp</dimen>
|
||||
<dimen name="le_bluetooth_battery_start_margin">10dp</dimen>
|
||||
<dimen name="le_bluetooth_summary_drawable_padding">6dp</dimen>
|
||||
<dimen name="le_bluetooth_summary_start_margin">20dp</dimen>
|
||||
<dimen name="le_bluetooth_summary_padding">1.5dp</dimen>
|
||||
<dimen name="le_bluetooth_summary_min_width">64dp</dimen>
|
||||
|
||||
<!-- Header layout of bluetooth find broadcast page -->
|
||||
<dimen name="bluetooth_find_broadcast_button_one_size">220dp</dimen>
|
||||
<dimen name="bluetooth_find_broadcast_button_two_size">150dp</dimen>
|
||||
<dimen name="bluetooth_find_broadcast_button_start_margin">16dp</dimen>
|
||||
<dimen name="bluetooth_find_broadcast_header_top_margin">4dp</dimen>
|
||||
<dimen name="bluetooth_find_broadcast_progress_width">155dp</dimen>
|
||||
<dimen name="bluetooth_find_broadcast_progress_height">4dp</dimen>
|
||||
<dimen name="bluetooth_find_broadcast_progress_margin_top">8dp</dimen>
|
||||
|
||||
<!-- Developer option bluetooth settings dialog -->
|
||||
<dimen name="developer_option_dialog_margin_start">8dp</dimen>
|
||||
<dimen name="developer_option_dialog_margin_top">8dp</dimen>
|
||||
<dimen name="developer_option_dialog_min_height">48dp</dimen>
|
||||
<dimen name="developer_option_dialog_padding_start">16dp</dimen>
|
||||
|
||||
<!-- Developer options shared data screens related dimensions -->
|
||||
<dimen name="list_preferred_item_padding">16dp</dimen>
|
||||
|
||||
<!-- Output switcher panel related dimensions -->
|
||||
<dimen name="output_switcher_slice_max_height">600dp</dimen>
|
||||
<dimen name="output_switcher_panel_icon_size">52dp</dimen>
|
||||
|
||||
<!-- Notification channels panel related dimensions -->
|
||||
<dimen name="notif_channel_panel_max_height">600dp</dimen>
|
||||
|
||||
<!-- Settings panel related dimensions -->
|
||||
<dimen name="settings_panel_corner_radius">28dp</dimen>
|
||||
<dimen name="settings_panel_title_margin">24dp</dimen>
|
||||
<dimen name="settings_panel_title_margin_bottom">16dp</dimen>
|
||||
<dimen name="settings_panel_width">@dimen/match_parent</dimen>
|
||||
|
||||
<!-- Panel slices dimensions -->
|
||||
<dimen name="panel_slice_vertical_padding">8dp</dimen>
|
||||
<dimen name="panel_slice_Horizontal_padding">24dp</dimen>
|
||||
|
||||
<!-- Text padding for EmptyTextSettings -->
|
||||
<dimen name="empty_text_padding">24dp</dimen>
|
||||
<dimen name="empty_text_layout_height">450dp</dimen>
|
||||
|
||||
<!-- Battery usage chart view component -->
|
||||
<dimen name="chartview_text_padding">6dp</dimen>
|
||||
<dimen name="chartview_divider_width">1dp</dimen>
|
||||
<dimen name="chartview_divider_height">4dp</dimen>
|
||||
<dimen name="chartview_transom_width">4dp</dimen>
|
||||
<dimen name="chartview_transom_radius">4dp</dimen>
|
||||
<dimen name="chartview_transom_icon_size">18dp</dimen>
|
||||
<dimen name="chartview_transom_padding_top">2dp</dimen>
|
||||
<dimen name="chartview_transom_layout_height">12dp</dimen>
|
||||
<dimen name="chartview_layout_height">182dp</dimen>
|
||||
<dimen name="chartview_trapezoid_radius">5dp</dimen>
|
||||
<dimen name="chartview_trapezoid_margin_start">1dp</dimen>
|
||||
<dimen name="chartview_trapezoid_margin_bottom">2dp</dimen>
|
||||
|
||||
<!-- Battery tips card view component -->
|
||||
<dimen name="battery_tips_card_corner_radius_small">4dp</dimen>
|
||||
<dimen name="battery_tips_card_corner_radius_normal">24dp</dimen>
|
||||
<dimen name="battery_hints_chip_corner_radius">8dp</dimen>
|
||||
|
||||
<!-- Dimensions for Dream settings cards -->
|
||||
<dimen name="dream_item_min_column_width">174dp</dimen>
|
||||
<dimen name="dream_item_corner_radius">28dp</dimen>
|
||||
<dimen name="dream_item_content_padding">8dp</dimen>
|
||||
<dimen name="dream_item_icon_size">20dp</dimen>
|
||||
<dimen name="dream_item_summary_text_size">14sp</dimen>
|
||||
<dimen name="dream_item_title_margin_top">16dp</dimen>
|
||||
<dimen name="dream_item_title_margin_bottom">8dp</dimen>
|
||||
<dimen name="dream_item_title_text_size">16sp</dimen>
|
||||
<dimen name="dream_item_icon_padding">18dp</dimen>
|
||||
<dimen name="dream_item_title_margin_horizontal">8dp</dimen>
|
||||
<dimen name="dream_preference_card_padding">16dp</dimen>
|
||||
<dimen name="dream_preview_placeholder_width">52dp</dimen>
|
||||
|
||||
<!-- Sims/Data mobile/Calls/SMS select dialog-->
|
||||
<dimen name="sims_select_margin_bottom">24dp</dimen>
|
||||
<dimen name="sims_select_margin_top">8dp</dimen>
|
||||
|
||||
<!-- Biometrics UDFPS enroll default dimensions-->
|
||||
<dimen name="enroll_padding_start">0dp</dimen>
|
||||
<dimen name="enroll_padding_end">0dp</dimen>
|
||||
<dimen name="enroll_margin_end">0dp</dimen>
|
||||
<dimen name="rotation_90_enroll_padding_start">0dp</dimen>
|
||||
<dimen name="rotation_90_enroll_padding_end">0dp</dimen>
|
||||
<dimen name="rotation_90_enroll_margin_end">0dp</dimen>
|
||||
|
||||
<!-- QR code picture size -->
|
||||
<dimen name="qrcode_preview_margin">40dp</dimen>
|
||||
<dimen name="qrcode_preview_radius">30dp</dimen>
|
||||
<dimen name="qrcode_icon_size">27dp</dimen>
|
||||
<!-- Margin for SD card setup completion Image -->
|
||||
<dimen name="setup_completion_margin_top">88dp</dimen>
|
||||
|
||||
<!-- QR code action button -->
|
||||
<dimen name="action_button_icon_size">18dp</dimen>
|
||||
|
||||
<!-- Biometrics Face enroll education dimensions-->
|
||||
<dimen name="face_enroll_icon_large_width">300dp</dimen>
|
||||
<dimen name="face_enroll_icon_large_height">300dp</dimen>
|
||||
<dimen name="illustration_lottie_height">440dp</dimen>
|
||||
<dimen name="illustration_accessibility_margin_top">0dp</dimen>
|
||||
<dimen name="face_enroll_education_lottie_frame_margin_top">-24dp</dimen>
|
||||
<dimen name="lottie_animation_view_margin_top">-52dp</dimen>
|
||||
<dimen name="limited_vision_button_margin_top">0dp</dimen>
|
||||
<dimen name="limited_vision_button_margin_bottom">0dp</dimen>
|
||||
<dimen name="limited_vision_button_toggle_margin_top">20dp</dimen>
|
||||
|
||||
<!-- Default margin for side fps enroll find sensor lottie -->
|
||||
<dimen name="sfps_enroll_find_sensor_lottie_margin">0dp</dimen>
|
||||
|
||||
<!-- Flash notifications dimensions -->
|
||||
<dimen name="screen_flash_color_button_frame_size">48dp</dimen>
|
||||
<dimen name="screen_flash_color_button_outer_circle_size">48dp</dimen>
|
||||
<dimen name="screen_flash_color_button_outer_circle_stroke_width">2dp</dimen>
|
||||
<dimen name="screen_flash_color_button_inner_circle_size">42dp</dimen>
|
||||
<dimen name="screen_flash_color_button_inner_circle_padding">3dp</dimen>
|
||||
<dimen name="screen_flash_color_button_inner_circle_stroke">1dp</dimen>
|
||||
|
||||
<!-- An arbitrarily large number to make the max size fit the parent -->
|
||||
<dimen name="animation_max_size">1000dp</dimen>
|
||||
|
||||
<!-- Credential Manager settings dimensions -->
|
||||
<dimen name="credman_primary_provider_pref_left_padding">80dp</dimen>
|
||||
<dimen name="credman_primary_provider_pref_left_padding_compact">24dp</dimen>
|
||||
|
||||
<!-- Color contrast screen -->
|
||||
<dimen name="contrast_button_total_size">90dp</dimen>
|
||||
<dimen name="contrast_button_inner_size">82dp</dimen>
|
||||
<dimen name="contrast_button_radius">20dp</dimen>
|
||||
<dimen name="contrast_button_stroke_width">2dp</dimen>
|
||||
<dimen name="contrast_button_text_size">14sp</dimen>
|
||||
<dimen name="contrast_button_text_spacing">4dp</dimen>
|
||||
<dimen name="contrast_button_horizontal_spacing">16dp</dimen>
|
||||
</resources>
|
||||
49
Settings/res/values/ids.xml
Normal file
49
Settings/res/values/ids.xml
Normal file
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
**
|
||||
** Copyright 2014, 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.
|
||||
*/
|
||||
-->
|
||||
<resources>
|
||||
<item type="id" name="preference_highlighted" />
|
||||
|
||||
<item type="id" name="lock_none" />
|
||||
<item type="id" name="lock_pin" />
|
||||
<item type="id" name="lock_password" />
|
||||
|
||||
<item type="id" name="encrypt_dont_require_password" />
|
||||
|
||||
<item type="id" name="tag_row_view" />
|
||||
|
||||
<!-- Used for custom accessibility actions in the Drag-and-Drop locale list -->
|
||||
<item type="id" name="action_drag_move_up" />
|
||||
<item type="id" name="action_drag_move_down" />
|
||||
<item type="id" name="action_drag_move_top" />
|
||||
<item type="id" name="action_drag_move_bottom" />
|
||||
<item type="id" name="action_drag_remove" />
|
||||
|
||||
<!-- Go to location settings button id -->
|
||||
<item type="id" name="go_to_location_setting" />
|
||||
|
||||
<!-- For a menu item allowing users to edit a SIM display name -->
|
||||
<item type="id" name="edit_sim_name" />
|
||||
|
||||
<!-- For a layout container to add AppLocaleDetails into -->
|
||||
<item type="id" name="layout_app_locale_details" />
|
||||
|
||||
<!-- For screen lock options button -->
|
||||
<item type="id" name="screen_lock_options" />
|
||||
|
||||
</resources>
|
||||
37
Settings/res/values/integers.xml
Normal file
37
Settings/res/values/integers.xml
Normal file
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2018 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.
|
||||
-->
|
||||
<resources>
|
||||
<!-- Reserve all the job ids in settings -->
|
||||
<integer name="job_anomaly_clean_up">100</integer>
|
||||
<integer name="job_anomaly_config_update">101</integer>
|
||||
<integer name="job_anomaly_detection">102</integer>
|
||||
<integer name="device_index_update">103</integer>
|
||||
<integer name="sim_notification_send">104</integer>
|
||||
<integer name="sim_slot_changed">105</integer>
|
||||
|
||||
<!-- Controls the maximum number of faces enrollable during SUW -->
|
||||
<integer name="suw_max_faces_enrollable">1</integer>
|
||||
<!-- Controls the maximum number of fingerprints enrollable during SUW -->
|
||||
<integer name="suw_max_fingerprints_enrollable">1</integer>
|
||||
|
||||
<!-- Minimum display time (in millis) for help messages in fingerprint enrollment. -->
|
||||
<integer name="enrollment_help_minimum_time_display">0</integer>
|
||||
<!-- Minimum display time (in millis) for progress messages in fingerprint enrollment. -->
|
||||
<integer name="enrollment_progress_minimum_time_display">0</integer>
|
||||
<!-- The time (in millis) to wait to collect messages in fingerprint enrollment before displaying it. -->
|
||||
<integer name="enrollment_collect_time">0</integer>
|
||||
</resources>
|
||||
40
Settings/res/values/menu_keys.xml
Normal file
40
Settings/res/values/menu_keys.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2021 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.
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
|
||||
<string name="menu_key_network" translatable="false">top_level_network</string>
|
||||
<string name="menu_key_communal" translatable="false">top_level_communal</string>
|
||||
<string name="menu_key_connected_devices" translatable="false">top_level_connected_devices</string>
|
||||
<string name="menu_key_apps" translatable="false">top_level_apps</string>
|
||||
<string name="menu_key_notifications" translatable="false">top_level_notifications</string>
|
||||
<string name="menu_key_battery" translatable="false">top_level_battery</string>
|
||||
<string name="menu_key_storage" translatable="false">top_level_storage</string>
|
||||
<string name="menu_key_sound" translatable="false">top_level_sound</string>
|
||||
<string name="menu_key_display" translatable="false">top_level_display</string>
|
||||
<string name="menu_key_wallpaper" translatable="false">top_level_wallpaper</string>
|
||||
<string name="menu_key_accessibility" translatable="false">top_level_accessibility</string>
|
||||
<string name="menu_key_safety_center" translatable="false">top_level_safety_center</string>
|
||||
<string name="menu_key_security" translatable="false">top_level_security</string>
|
||||
<string name="menu_key_privacy" translatable="false">top_level_privacy</string>
|
||||
<string name="menu_key_location" translatable="false">top_level_location</string>
|
||||
<string name="menu_key_emergency" translatable="false">top_level_emergency</string>
|
||||
<string name="menu_key_accounts" translatable="false">top_level_accounts</string>
|
||||
<string name="menu_key_system" translatable="false">top_level_system</string>
|
||||
<string name="menu_key_about_device" translatable="false">top_level_about_device</string>
|
||||
<string name="menu_key_support" translatable="false">top_level_support</string>
|
||||
|
||||
</resources>
|
||||
13020
Settings/res/values/strings.xml
Normal file
13020
Settings/res/values/strings.xml
Normal file
File diff suppressed because it is too large
Load Diff
1011
Settings/res/values/styles.xml
Normal file
1011
Settings/res/values/styles.xml
Normal file
File diff suppressed because it is too large
Load Diff
78
Settings/res/values/styles_preference.xml
Normal file
78
Settings/res/values/styles_preference.xml
Normal file
@@ -0,0 +1,78 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2016 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.
|
||||
-->
|
||||
|
||||
<!-- This file only contains custom attribute and style definition for preferences -->
|
||||
<!-- Things unrelated to preference framework UI customization should go to other styles files -->
|
||||
<resources>
|
||||
|
||||
<style name="SettingsPreferenceTheme" parent="@style/PreferenceTheme.SettingsLib">
|
||||
<item name="apnPreferenceStyle">@style/ApnPreference</item>
|
||||
<item name="cardPreferenceStyle">@style/CardPreference</item>
|
||||
<item name="slicePreferenceStyle">@style/SlicePreference</item>
|
||||
<item name="seekBarPreferenceStyle">@style/SettingsSeekBarPreference</item>
|
||||
<item name="twoStateButtonPreferenceStyle">@style/TwoStateButtonPreference</item>
|
||||
<item name="preferenceFragmentCompatStyle">@style/SettingsPreferenceFragmentStyle</item>
|
||||
</style>
|
||||
|
||||
<style name="PreferenceTheme.SetupWizard" parent="@style/SettingsPreferenceTheme">
|
||||
<item name="preferenceFragmentCompatStyle">@style/SetupWizardPreferenceFragmentStyle</item>
|
||||
</style>
|
||||
|
||||
<style name="ApnPreference" parent="@style/Preference.Material">
|
||||
<item name="android:layout">@layout/apn_preference_layout</item>
|
||||
</style>
|
||||
|
||||
<style name="CardPreference" parent="@style/Preference.Material">
|
||||
<item name="android:layout">@layout/card_preference_layout</item>
|
||||
</style>
|
||||
|
||||
<style name="SlicePreference" parent="@style/Preference.Material">
|
||||
<item name="android:layout">@layout/slice_preference_layout</item>
|
||||
</style>
|
||||
|
||||
<style name="SettingsSeekBarPreference" parent="@style/Preference.Material">
|
||||
<item name="android:layout">@layout/preference_widget_seekbar_settings</item>
|
||||
<item name="iconSpaceReserved">@bool/settingslib_config_icon_space_reserved</item>
|
||||
</style>
|
||||
|
||||
<style name="SyncSwitchPreference" parent="@style/SettingsSwitchPreferenceCompat.SettingsLib">
|
||||
<item name="android:widgetLayout">@layout/preference_widget_sync_toggle</item>
|
||||
</style>
|
||||
|
||||
<style name="TwoStateButtonPreference" parent="@style/Preference.Material">
|
||||
<item name="android:layout">@layout/two_state_button</item>
|
||||
</style>
|
||||
|
||||
<style name="SettingsMultiSelectListPreference" parent="@style/Preference.Material">
|
||||
<item name="android:positiveButtonText">@android:string/ok</item>
|
||||
<item name="android:negativeButtonText">@android:string/cancel</item>
|
||||
<item name="iconSpaceReserved">@bool/settingslib_config_icon_space_reserved</item>
|
||||
</style>
|
||||
|
||||
<style name="SettingsPreferenceFragmentStyle" parent="@style/PreferenceFragment.Material">
|
||||
<item name="android:divider">@*android:drawable/list_divider_material</item>
|
||||
</style>
|
||||
|
||||
<style name="SetupWizardPreferenceFragmentStyle" parent="PreferenceFragment.Material">
|
||||
<item name="android:layout">@layout/setup_preference</item>
|
||||
</style>
|
||||
|
||||
<style name="VpnAppManagementPreferenceStyle" parent="@style/PreferenceFragment.Material">
|
||||
<item name="layout">@layout/vpn_app_management_preference</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
248
Settings/res/values/themes.xml
Normal file
248
Settings/res/values/themes.xml
Normal file
@@ -0,0 +1,248 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 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.
|
||||
-->
|
||||
|
||||
<resources
|
||||
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android">
|
||||
|
||||
<style name="Transparent">
|
||||
<item name="alertDialogTheme">@style/Theme.AlertDialog</item>
|
||||
<item name="android:windowBackground">@android:color/transparent</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowIsFloating">true</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Settings" parent="Theme.SettingsBase">
|
||||
<item name="android:clipToPadding">false</item>
|
||||
<item name="android:clipChildren">false</item>
|
||||
<item name="preferenceTheme">@style/SettingsPreferenceTheme</item>
|
||||
<item name="android:listPreferredItemHeight">72dip</item>
|
||||
<item name="android:homeAsUpIndicator">@drawable/ic_arrow_back</item>
|
||||
<item name="android:navigationBarColor">@android:color/transparent</item>
|
||||
<item name="android:datePickerDialogTheme">@style/PickerDialogTheme.Settings</item>
|
||||
|
||||
<item name="fingerprint_layout_theme">@style/FingerprintLayoutTheme</item>
|
||||
<item name="face_layout_theme">@style/FaceLayoutTheme</item>
|
||||
<item name="ic_menu_moreoverflow">@*android:drawable/ic_menu_moreoverflow_holo_dark</item>
|
||||
|
||||
<!-- For edge-to-edge -->
|
||||
<item name="android:navigationBarColor">@android:color/transparent</item>
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
|
||||
<!-- For wifi icon -->
|
||||
<item name="wifi_signal">@drawable/wifi_signal</item>
|
||||
<item name="wifi_signal_color">?android:attr/colorAccent</item>
|
||||
<item name="wifi_friction">@drawable/wifi_friction</item>
|
||||
|
||||
<item name="side_margin">0dp</item>
|
||||
<item name="sudListItemIconColor">?android:attr/colorAccent</item>
|
||||
|
||||
<!-- Redefine the ActionBar style for contentInsetStart -->
|
||||
<item name="android:actionBarStyle">@style/Widget.ActionBar</item>
|
||||
|
||||
<item name="preferenceBackgroundColor">@drawable/preference_background</item>
|
||||
|
||||
<!-- For AndroidX AlertDialog -->
|
||||
<item name="alertDialogTheme">@style/Theme.AlertDialog</item>
|
||||
|
||||
<item name="*android:lockPatternStyle">@style/LockPatternStyle</item>
|
||||
|
||||
<!-- For AppBarLayout -->
|
||||
<item name="colorPrimary">@*android:color/primary_device_default_settings_light</item>
|
||||
<item name="colorPrimaryVariant">@android:color/white</item>
|
||||
|
||||
<!-- For slice view in settings -->
|
||||
<item name="sliceViewStyle">@style/Widget.SliceView.Settings</item>
|
||||
|
||||
<item name="notification_importance_button_background_color_unselected">@android:color/transparent</item>
|
||||
<item name="notification_importance_button_border_color_unselected">?androidprv:attr/materialColorOutlineVariant</item>
|
||||
<item name="notification_importance_button_foreground_color_unselected">?androidprv:attr/materialColorOnSurfaceVariant</item>
|
||||
|
||||
<item name="notification_importance_button_background_color_selected">?androidprv:attr/materialColorSecondaryContainer</item>
|
||||
<item name="notification_importance_button_border_color_selected">?androidprv:attr/materialColorOnSecondaryContainer</item>
|
||||
<item name="notification_importance_button_foreground_color_selected">?androidprv:attr/materialColorOnSecondaryContainer</item>
|
||||
</style>
|
||||
|
||||
<!-- Variant of the settings theme with no action bar. -->
|
||||
<style name="Theme.Settings.NoActionBar">
|
||||
<item name="android:windowActionBar">false</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="colorSurface">@color/settingslib_colorSurface</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.SubSettings.Base" parent="Theme.Settings.NoActionBar">
|
||||
<!-- Redefine the ActionBar style for contentInsetStart -->
|
||||
<item name="android:actionBarStyle">@style/Widget.ActionBar.SubSettings</item>
|
||||
|
||||
<item name="android:navigationBarColor">@android:color/transparent</item>
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.SubSettings" parent="Theme.SubSettings.Base"/>
|
||||
|
||||
<style name="Theme.ProvisioningActivity" parent="@android:style/Theme.Translucent.NoTitleBar">
|
||||
<item name="android:windowAnimationStyle">@null</item>
|
||||
<item name="android:windowIsTranslucent">true</item>
|
||||
<item name="android:windowBackground">@android:color/transparent</item>
|
||||
<item name="android:windowContentOverlay">@null</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowIsFloating">true</item>
|
||||
<item name="android:backgroundDimEnabled">false</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.LocalePickerWithRegionActivity" parent="Theme.Settings">
|
||||
<item name="android:textColorHint">?android:attr/textColorSecondary</item>
|
||||
</style>
|
||||
|
||||
<!-- TODO: Clean up this -->
|
||||
<style name="ThemeOverlay.SwitchBar.Settings"
|
||||
parent="@*android:style/ThemeOverlay.DeviceDefault.ActionBar" />
|
||||
|
||||
<style name="ThemeOverlay.AlertDialog" parent="@android:style/ThemeOverlay.Material.Dialog.Alert">
|
||||
<item name="android:windowSoftInputMode">adjustResize</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.AlertDialog.Base" parent="@style/Theme.AppCompat.DayNight.Dialog.Alert">
|
||||
<item name="colorAccent">@*android:color/accent_device_default_light</item>
|
||||
<item name="android:colorError">@color/settings_dialog_colorError</item>
|
||||
<item name="android:colorBackground">@*android:color/surface_light</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.AlertDialog" parent="Theme.AlertDialog.Base">
|
||||
<item name="android:windowSoftInputMode">adjustResize</item>
|
||||
<item name="android:clipToPadding">true</item>
|
||||
<item name="android:clipChildren">true</item>
|
||||
<item name="android:textDirection">locale</item>
|
||||
<item name="android:layoutDirection">locale</item>
|
||||
|
||||
<!-- Redefine the ActionBar style for contentInsetStart -->
|
||||
<item name="android:actionBarStyle">@style/Widget.ActionBar</item>
|
||||
|
||||
<!-- copied from Theme.DeviceDefault.Dialog.Alert -->
|
||||
<item name="dialogCornerRadius">@*android:dimen/config_dialogCornerRadius</item>
|
||||
<item name="android:windowTitleStyle">@*android:style/DialogWindowTitle.DeviceDefault</item>
|
||||
<item name="android:textAppearanceMedium">@style/TextAppearance.DialogMessage</item>
|
||||
<item name="buttonBarButtonStyle">@*android:style/Widget.DeviceDefault.Button.ButtonBar.AlertDialog</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="Theme.AlertDialog.SimConfirmDialog">
|
||||
<item name="buttonBarStyle">@style/SimConfirmDialog.ButtonBarStyle</item>
|
||||
<item name="buttonBarButtonStyle">@style/SimConfirmDialog.OutlineButton</item>
|
||||
<item name="android:textAllCaps">false</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.ConfirmDeviceCredentialsDark" parent="@android:style/Theme.DeviceDefault">
|
||||
<item name="android:windowActionBar">false</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowBackground">?android:attr/colorPrimary</item>
|
||||
|
||||
<item name="confirmDeviceCredentialsSideMargin">32dp</item>
|
||||
<item name="confirmDeviceCredentialsTopMargin">32dp</item>
|
||||
|
||||
<item name="*android:lockPatternStyle">@style/LockPatternStyle</item>
|
||||
|
||||
<item name="android:windowAnimationStyle">@style/ConfirmDeviceCredentialsAnimationStyle</item>
|
||||
</style>
|
||||
|
||||
<style name="FallbackHome" parent="@android:style/Theme.DeviceDefault.NoActionBar">
|
||||
<item name="android:windowBackground">@android:color/transparent</item>
|
||||
<item name="android:colorBackgroundCacheHint">@null</item>
|
||||
<item name="android:windowShowWallpaper">true</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowTranslucentStatus">false</item>
|
||||
<item name="android:windowTranslucentNavigation">false</item>
|
||||
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
|
||||
<item name="android:statusBarColor">#00000000</item>
|
||||
<item name="android:navigationBarColor">#00000000</item>
|
||||
</style>
|
||||
|
||||
<style name="FallbackHome.SetupWizard" parent="@android:style/Theme.Material.NoActionBar.Fullscreen">
|
||||
<item name="android:windowBackground">@drawable/fallback_home_unprovisioned_background</item>
|
||||
<item name="android:colorBackgroundCacheHint">@null</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
|
||||
<item name="android:statusBarColor">#00000000</item>
|
||||
<item name="android:navigationBarColor">#00000000</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.BluetoothPermission" parent="@style/Theme.AlertDialog">
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Settings.HomeBase" parent="Theme.Settings.NoActionBar">
|
||||
<item name="colorPrimary">@*android:color/primary_device_default_settings_light</item>
|
||||
<item name="colorAccent">@*android:color/accent_device_default_light</item>
|
||||
<item name="preferenceTheme">@style/SettingsPreferenceTheme</item>
|
||||
|
||||
<!-- action bar, needed for search bar icon tinting -->
|
||||
<item name="android:actionBarTheme">@*android:style/ThemeOverlay.DeviceDefault.ActionBar</item>
|
||||
|
||||
<!-- Define this color for material design -->
|
||||
<item name="colorPrimaryVariant">@android:color/white</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Settings.Home" parent="Theme.Settings.HomeBase">
|
||||
<item name="colorPrimaryDark">@*android:color/primary_dark_device_default_settings_light</item>
|
||||
<item name="android:windowLightStatusBar">true</item>
|
||||
<item name="android:navigationBarDividerColor">@*android:color/ripple_material_light</item>
|
||||
<!-- Homepage should follow device default design, the values is same as device default theme.-->
|
||||
<item name="android:navigationBarColor">@android:color/white</item>
|
||||
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Settings.Home.NoAnimation">
|
||||
<item name="android:windowAnimationStyle">@null</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Settings.ContextualCard" parent="Theme.Settings.Home">
|
||||
<item name="android:textAppearanceListItem">@style/TextAppearance.HomepageCardTitle</item>
|
||||
</style>
|
||||
|
||||
<!-- Note that Dialog themes do not set list dividers -->
|
||||
<style name="Theme.Panel" parent="@*android:style/Theme.DeviceDefault.Settings.Dialog">
|
||||
<item name="android:windowBackground">@null</item>
|
||||
<item name="android:windowTranslucentNavigation">true</item>
|
||||
<item name="android:dividerHorizontal">@*android:drawable/list_divider_material</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:listDivider">@*android:drawable/list_divider_material</item>
|
||||
<item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Panel.Material" parent="Theme.Panel">
|
||||
<item name="android:switchStyle">@style/Switch.SettingsLib</item>
|
||||
<item name="switchStyle">@style/SwitchCompat.SettingsLib</item>
|
||||
|
||||
<item name="notification_importance_button_background_color_unselected">@android:color/transparent</item>
|
||||
<item name="notification_importance_button_border_color_unselected">@android:color/system_outline_variant_light</item>
|
||||
<item name="notification_importance_button_foreground_color_unselected">@android:color/system_on_surface_variant_light</item>
|
||||
|
||||
<item name="notification_importance_button_background_color_selected">@android:color/system_secondary_container_light</item>
|
||||
<item name="notification_importance_button_border_color_selected">@android:color/system_on_secondary_container_light</item>
|
||||
<item name="notification_importance_button_foreground_color_selected">@android:color/system_on_secondary_container_light</item>
|
||||
</style>
|
||||
|
||||
<!-- Material theme for the pages containing TabLayout and ViewPager -->
|
||||
<style name="Theme.TabTheme" parent="@style/Theme.MaterialComponents.DayNight">
|
||||
<item name="colorPrimary">@*android:color/edge_effect_device_default_light</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.CollapsingToolbar.Settings" parent="@style/Theme.MaterialComponents.DayNight">
|
||||
<item name="elevationOverlayEnabled">true</item>
|
||||
<item name="elevationOverlayColor">?attr/colorPrimary</item>
|
||||
<item name="colorPrimary">@*android:color/primary_device_default_settings_light</item>
|
||||
<item name="colorAccent">@*android:color/accent_device_default_light</item>
|
||||
</style>
|
||||
</resources>
|
||||
276
Settings/res/values/themes_suw.xml
Normal file
276
Settings/res/values/themes_suw.xml
Normal file
@@ -0,0 +1,276 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2018 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.
|
||||
-->
|
||||
|
||||
<!-- SUW related themes -->
|
||||
<resources>
|
||||
<style name="GlifTheme" parent="SudThemeGlif.DayNight">
|
||||
<!-- For all AndroidX Alert Dialogs -->
|
||||
<item name="alertDialogTheme">@style/ThemeOverlay.AlertDialog</item>
|
||||
<item name="android:windowBackground">?android:attr/colorBackground</item>
|
||||
<item name="*android:preferencePanelStyle">@*android:style/PreferencePanel.Dialog</item>
|
||||
<item name="fingerprint_layout_theme">@style/FingerprintLayoutTheme</item>
|
||||
<item name="face_layout_theme">@style/FaceLayoutTheme</item>
|
||||
<item name="ic_menu_moreoverflow">@*android:drawable/ic_menu_moreoverflow_material</item>
|
||||
<item name="side_margin">0dip</item>
|
||||
<item name="wifi_signal_color">@color/setup_wizard_wifi_color_dark</item>
|
||||
<item name="wifi_signal">@drawable/wifi_signal</item>
|
||||
<item name="wifi_friction">@drawable/wifi_friction</item>
|
||||
<item name="preferenceBackgroundColor">?android:attr/colorBackground</item>
|
||||
<item name="preferenceTheme">@style/PreferenceTheme.SetupWizard</item>
|
||||
|
||||
<!-- LockPatternView colors -->
|
||||
<item name="*android:lockPatternStyle">@style/LockPatternStyle</item>
|
||||
</style>
|
||||
|
||||
<style name="GlifTheme.Light" parent="SudThemeGlif.Light">
|
||||
<!-- For all AndroidX Alert Dialogs -->
|
||||
<item name="alertDialogTheme">@style/ThemeOverlay.AlertDialog</item>
|
||||
<item name="android:windowBackground">?android:attr/colorBackground</item>
|
||||
<item name="*android:preferencePanelStyle">@*android:style/PreferencePanel.Dialog</item>
|
||||
<item name="fingerprint_layout_theme">@style/FingerprintLayoutTheme</item>
|
||||
<item name="face_layout_theme">@style/FaceLayoutTheme</item>
|
||||
<item name="ic_menu_moreoverflow">@*android:drawable/ic_menu_moreoverflow_material</item>
|
||||
<item name="side_margin">0dip</item>
|
||||
<item name="wifi_signal_color">@color/setup_wizard_wifi_color_light</item>
|
||||
<item name="wifi_signal">@drawable/wifi_signal</item>
|
||||
<item name="wifi_friction">@drawable/wifi_friction</item>
|
||||
<item name="preferenceBackgroundColor">?android:attr/colorBackground</item>
|
||||
<item name="preferenceTheme">@style/PreferenceTheme.SetupWizard</item>
|
||||
|
||||
<item name="*android:lockPatternStyle">@style/LockPatternStyle</item>
|
||||
</style>
|
||||
|
||||
<style name="GlifV2Theme" parent="SudThemeGlifV2.DayNight">
|
||||
<!-- For all AndroidX Alert Dialogs -->
|
||||
<item name="alertDialogTheme">@style/GlifV2ThemeAlertDialog</item>
|
||||
<item name="android:windowBackground">?android:attr/colorBackground</item>
|
||||
<item name="*android:preferencePanelStyle">@*android:style/PreferencePanel.Dialog</item>
|
||||
<item name="fingerprint_layout_theme">@style/FingerprintLayoutTheme</item>
|
||||
<item name="face_layout_theme">@style/FaceLayoutTheme</item>
|
||||
<item name="ic_menu_moreoverflow">@*android:drawable/ic_menu_moreoverflow_material</item>
|
||||
<item name="side_margin">0dip</item>
|
||||
<item name="wifi_signal_color">@color/setup_wizard_wifi_color_dark</item>
|
||||
<item name="wifi_signal">@drawable/wifi_signal</item>
|
||||
<item name="wifi_friction">@drawable/wifi_friction</item>
|
||||
<item name="preferenceBackgroundColor">?android:attr/colorBackground</item>
|
||||
<item name="preferenceTheme">@style/PreferenceTheme.SetupWizard</item>
|
||||
|
||||
<!-- LockPatternView colors -->
|
||||
<item name="*android:lockPatternStyle">@style/LockPatternStyle</item>
|
||||
</style>
|
||||
|
||||
<style name="GlifV2Theme.Light" parent="SudThemeGlifV2.Light">
|
||||
<!-- For all AndroidX Alert Dialogs -->
|
||||
<item name="alertDialogTheme">@style/GlifV2ThemeAlertDialog.Light</item>
|
||||
<item name="android:windowBackground">?android:attr/colorBackground</item>
|
||||
<item name="*android:preferencePanelStyle">@*android:style/PreferencePanel.Dialog</item>
|
||||
<item name="fingerprint_layout_theme">@style/FingerprintLayoutTheme</item>
|
||||
<item name="face_layout_theme">@style/FaceLayoutTheme</item>
|
||||
<item name="ic_menu_moreoverflow">@*android:drawable/ic_menu_moreoverflow_material</item>
|
||||
<item name="side_margin">0dip</item>
|
||||
<item name="wifi_signal_color">@color/setup_wizard_wifi_color_light</item>
|
||||
<item name="wifi_signal">@drawable/wifi_signal</item>
|
||||
<item name="wifi_friction">@drawable/wifi_friction</item>
|
||||
<item name="preferenceBackgroundColor">?android:attr/colorBackground</item>
|
||||
<item name="preferenceTheme">@style/PreferenceTheme.SetupWizard</item>
|
||||
|
||||
<item name="*android:lockPatternStyle">@style/LockPatternStyle</item>
|
||||
</style>
|
||||
|
||||
<style name="GlifV3Theme" parent="SudThemeGlifV3.DayNight">
|
||||
<!-- For all AndroidX Alert Dialogs -->
|
||||
<item name="alertDialogTheme">@style/GlifV2ThemeAlertDialog</item>
|
||||
<item name="android:windowBackground">?android:attr/colorBackground</item>
|
||||
<item name="*android:preferencePanelStyle">@*android:style/PreferencePanel.Dialog</item>
|
||||
<item name="fingerprint_layout_theme">@style/FingerprintLayoutTheme</item>
|
||||
<item name="face_layout_theme">@style/FaceLayoutTheme</item>
|
||||
<item name="ic_menu_moreoverflow">@*android:drawable/ic_menu_moreoverflow_material</item>
|
||||
<item name="side_margin">0dip</item>
|
||||
<item name="wifi_signal_color">@color/setup_wizard_wifi_color_dark</item>
|
||||
<item name="wifi_signal">@drawable/wifi_signal</item>
|
||||
<item name="wifi_friction">@drawable/wifi_friction</item>
|
||||
<item name="preferenceBackgroundColor">?android:attr/colorBackground</item>
|
||||
<item name="preferenceTheme">@style/PreferenceTheme.SetupWizard</item>
|
||||
|
||||
<!-- LockPatternView colors -->
|
||||
<item name="*android:lockPatternStyle">@style/LockPatternStyle</item>
|
||||
</style>
|
||||
|
||||
<style name="GlifV3Theme.Footer" parent="@style/SudThemeGlifV3.DayNight">
|
||||
<item name="android:clipChildren">true</item>
|
||||
<item name="android:clipToPadding">true</item>
|
||||
</style>
|
||||
|
||||
<style name="GlifV3Theme.Light" parent="SudThemeGlifV3.Light">
|
||||
<!-- For all AndroidX Alert Dialogs -->
|
||||
<item name="alertDialogTheme">@style/GlifV2ThemeAlertDialog.Light</item>
|
||||
<item name="android:windowBackground">?android:attr/colorBackground</item>
|
||||
<item name="*android:preferencePanelStyle">@*android:style/PreferencePanel.Dialog</item>
|
||||
<item name="fingerprint_layout_theme">@style/FingerprintLayoutTheme</item>
|
||||
<item name="face_layout_theme">@style/FaceLayoutTheme</item>
|
||||
<item name="ic_menu_moreoverflow">@*android:drawable/ic_menu_moreoverflow_material</item>
|
||||
<item name="side_margin">0dip</item>
|
||||
<item name="wifi_signal_color">@color/setup_wizard_wifi_color_light</item>
|
||||
<item name="wifi_signal">@drawable/wifi_signal</item>
|
||||
<item name="wifi_friction">@drawable/wifi_friction</item>
|
||||
<item name="preferenceBackgroundColor">?android:attr/colorBackground</item>
|
||||
<item name="preferenceTheme">@style/PreferenceTheme.SetupWizard</item>
|
||||
|
||||
<item name="*android:lockPatternStyle">@style/LockPatternStyle</item>
|
||||
</style>
|
||||
|
||||
<style name="GlifV4Theme" parent="SudThemeGlifV4.DayNight">
|
||||
<!-- For all AndroidX Alert Dialogs -->
|
||||
<item name="alertDialogTheme">@style/GlifV2ThemeAlertDialog</item>
|
||||
<item name="android:windowBackground">?android:attr/colorBackground</item>
|
||||
<item name="*android:preferencePanelStyle">@*android:style/PreferencePanel.Dialog</item>
|
||||
<item name="fingerprint_layout_theme">@style/FingerprintLayoutTheme</item>
|
||||
<item name="face_layout_theme">@style/FaceLayoutTheme</item>
|
||||
<item name="ic_menu_moreoverflow">@*android:drawable/ic_menu_moreoverflow_material</item>
|
||||
<item name="side_margin">0dip</item>
|
||||
<item name="wifi_signal_color">@color/setup_wizard_wifi_color_dark</item>
|
||||
<item name="wifi_signal">@drawable/wifi_signal</item>
|
||||
<item name="wifi_friction">@drawable/wifi_friction</item>
|
||||
<item name="preferenceBackgroundColor">?android:attr/colorBackground</item>
|
||||
<item name="preferenceTheme">@style/PreferenceTheme.SetupWizard</item>
|
||||
|
||||
<!-- LockPatternView colors -->
|
||||
<item name="*android:lockPatternStyle">@style/LockPatternStyle</item>
|
||||
</style>
|
||||
|
||||
<style name="GlifV4Theme.Light" parent="SudThemeGlifV4.Light">
|
||||
<!-- For all AndroidX Alert Dialogs -->
|
||||
<item name="alertDialogTheme">@style/GlifV2ThemeAlertDialog.Light</item>
|
||||
<item name="android:windowBackground">?android:attr/colorBackground</item>
|
||||
<item name="*android:preferencePanelStyle">@*android:style/PreferencePanel.Dialog</item>
|
||||
<item name="fingerprint_layout_theme">@style/FingerprintLayoutTheme</item>
|
||||
<item name="face_layout_theme">@style/FaceLayoutTheme</item>
|
||||
<item name="ic_menu_moreoverflow">@*android:drawable/ic_menu_moreoverflow_material</item>
|
||||
<item name="side_margin">0dip</item>
|
||||
<item name="wifi_signal_color">@color/setup_wizard_wifi_color_light</item>
|
||||
<item name="wifi_signal">@drawable/wifi_signal</item>
|
||||
<item name="wifi_friction">@drawable/wifi_friction</item>
|
||||
<item name="preferenceBackgroundColor">?android:attr/colorBackground</item>
|
||||
<item name="preferenceTheme">@style/PreferenceTheme.SetupWizard</item>
|
||||
|
||||
<item name="*android:lockPatternStyle">@style/LockPatternStyle</item>
|
||||
</style>
|
||||
|
||||
<style name="GlifV3Theme.Light.NoActionBar" parent="GlifV3Theme.Light">
|
||||
<item name="android:windowActionBar">false</item>
|
||||
</style>
|
||||
|
||||
<style name="GlifV3Theme.NoActionBar" parent="GlifV3Theme">
|
||||
<item name="android:windowActionBar">false</item>
|
||||
</style>
|
||||
|
||||
<style name="GlifV2Theme.Transparent">
|
||||
<item name="android:windowBackground">@android:color/transparent</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowIsFloating">true</item>
|
||||
<item name="android:windowAnimationStyle">@null</item>
|
||||
</style>
|
||||
|
||||
<style name="GlifV2Theme.Light.Transparent">
|
||||
<item name="android:windowBackground">@android:color/transparent</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowIsFloating">true</item>
|
||||
<item name="android:windowAnimationStyle">@null</item>
|
||||
</style>
|
||||
|
||||
<style name="GlifV2ThemeAlertDialog" parent="SuwAlertDialogThemeCompat">
|
||||
<item name="android:windowSoftInputMode">adjustResize</item>
|
||||
</style>
|
||||
|
||||
<style name="GlifV2ThemeAlertDialog.Light" parent="SuwAlertDialogThemeCompat.Light">
|
||||
<item name="android:windowSoftInputMode">adjustResize</item>
|
||||
</style>
|
||||
|
||||
<style name="GlifV3Theme.Transparent">
|
||||
<item name="android:windowBackground">@android:color/transparent</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowIsFloating">true</item>
|
||||
<item name="android:windowAnimationStyle">@null</item>
|
||||
</style>
|
||||
|
||||
<style name="GlifV3Theme.Light.Transparent">
|
||||
<item name="android:windowBackground">@android:color/transparent</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowIsFloating">true</item>
|
||||
<item name="android:windowAnimationStyle">@null</item>
|
||||
</style>
|
||||
|
||||
<style name="SetupWizardTheme.Transparent" parent="GlifTheme">
|
||||
<item name="android:windowBackground">@android:color/transparent</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowIsFloating">true</item>
|
||||
<item name="android:windowAnimationStyle">@null</item>
|
||||
</style>
|
||||
|
||||
<style name="SetupWizardTheme.Light.Transparent" parent="GlifTheme.Light">
|
||||
<item name="android:windowBackground">@android:color/transparent</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowIsFloating">true</item>
|
||||
<item name="android:windowAnimationStyle">@null</item>
|
||||
</style>
|
||||
|
||||
<style name="SuwAlertDialogThemeCompat" parent="@style/Theme.AppCompat.Dialog.Alert">
|
||||
<!-- Referenced SudThemeGlifV3 style -->
|
||||
<item name="android:textAllCaps">false</item>
|
||||
|
||||
<item name="android:windowSoftInputMode">adjustResize</item>
|
||||
<!-- copied from Theme.DeviceDefault.Dialog.Alert -->
|
||||
<item name="colorAccent">@*android:color/accent_device_default_dark</item>
|
||||
<item name="dialogCornerRadius">@*android:dimen/config_dialogCornerRadius</item>
|
||||
|
||||
<item name="android:fontFamily">@*android:string/config_bodyFontFamily</item>
|
||||
</style>
|
||||
|
||||
<style name="SuwAlertDialogThemeCompat.Light" parent="@style/Theme.AppCompat.Light.Dialog.Alert">
|
||||
<!-- Referenced SudThemeGlifV3.Light style -->
|
||||
<item name="android:textAllCaps">false</item>
|
||||
|
||||
<item name="android:windowSoftInputMode">adjustResize</item>
|
||||
<!-- copied from Theme.DeviceDefault.Light.Dialog.Alert -->
|
||||
<item name="colorAccent">@*android:color/accent_device_default_light</item>
|
||||
<item name="dialogCornerRadius">@*android:dimen/config_dialogCornerRadius</item>
|
||||
|
||||
<item name="android:fontFamily">@*android:string/config_bodyFontFamily</item>
|
||||
</style>
|
||||
|
||||
<!-- This theme was applied to Settings pages which are running under SUW. -->
|
||||
<style name="SettingsPreferenceTheme.SetupWizard" parent="@style/PreferenceTheme.SettingsLib">
|
||||
<item name="android:clipToPadding">true</item>
|
||||
<item name="android:clipChildren">true</item>
|
||||
<item name="android:textAppearanceListItem">@style/TextAppearance.PreferenceTitle.SettingsLib</item>
|
||||
<item name="preferenceTheme">@style/PreferenceTheme.SettingsLib</item>
|
||||
<item name="android:switchStyle">@style/Switch.SettingsLib</item>
|
||||
<item name="switchStyle">@style/SwitchCompat.SettingsLib</item>
|
||||
<item name="preferenceFragmentCompatStyle">@style/SetupWizardPreferenceFragmentStyle</item>
|
||||
</style>
|
||||
|
||||
<!-- DayNight themes -->
|
||||
<style name="GlifTheme.DayNight" parent="GlifTheme.Light" />
|
||||
<style name="GlifV2Theme.DayNight" parent="GlifV2Theme.Light" />
|
||||
<style name="GlifV3Theme.DayNight" parent="GlifV3Theme.Light" />
|
||||
<style name="GlifV4Theme.DayNight" parent="GlifV4Theme.Light" />
|
||||
<style name="GlifV3Theme.DayNight.NoActionBar" parent="GlifV3Theme.Light.NoActionBar" />
|
||||
<style name="GlifV2Theme.DayNight.Transparent" parent="GlifV2Theme.Light.Transparent" />
|
||||
<style name="GlifV3Theme.DayNight.Transparent" parent="GlifV3Theme.Light.Transparent" />
|
||||
<style name="SetupWizardTheme.DayNight.Transparent" parent="SetupWizardTheme.Light.Transparent" />
|
||||
<style name="SuwAlertDialogThemeCompat.DayNight" parent="SuwAlertDialogThemeCompat.Light" />
|
||||
</resources>
|
||||
Reference in New Issue
Block a user