fix: 首次提交
This commit is contained in:
679
SettingsLib/res/values/arrays.xml
Normal file
679
SettingsLib/res/values/arrays.xml
Normal file
@@ -0,0 +1,679 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
**
|
||||
** Copyright 2015 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">
|
||||
|
||||
<!-- Wi-Fi settings -->
|
||||
|
||||
<!-- Match this with the order of NetworkInfo.DetailedState. --> <skip />
|
||||
<!-- Wi-Fi settings. The status messages when the network is unknown. -->
|
||||
<string-array name="wifi_status">
|
||||
<!-- Status message of Wi-Fi when it is idle. -->
|
||||
<item></item>
|
||||
<!-- Status message of Wi-Fi when it is scanning. -->
|
||||
<item>Scanning\u2026</item>
|
||||
<!-- Status message of Wi-Fi when it is connecting. -->
|
||||
<item>Connecting\u2026</item>
|
||||
<!-- Status message of Wi-Fi when it is authenticating. -->
|
||||
<item>Authenticating\u2026</item>
|
||||
<!-- Status message of Wi-Fi when it is obtaining IP address. -->
|
||||
<item>Obtaining IP address\u2026</item>
|
||||
<!-- Status message of Wi-Fi when it is connected. -->
|
||||
<item>Connected</item>
|
||||
<!-- Status message of Wi-Fi when it is suspended. -->
|
||||
<item>Suspended</item>
|
||||
<!-- Status message of Wi-Fi when it is disconnecting. -->
|
||||
<item>Disconnecting\u2026</item>
|
||||
<!-- Status message of Wi-Fi when it is disconnected. -->
|
||||
<item>Disconnected</item>
|
||||
<!-- Status message of Wi-Fi when it is a failure. -->
|
||||
<item>Unsuccessful</item>
|
||||
<!-- Status message of Wi-Fi when it is blocked. -->
|
||||
<item>Blocked</item>
|
||||
<!-- Status message of Wi-Fi when connectiong is being verified. -->
|
||||
<item>Temporarily avoiding poor connection</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Match this with the order of NetworkInfo.DetailedState. --> <skip />
|
||||
<!-- Wi-Fi settings. The status messages when the network is known. -->
|
||||
<string-array name="wifi_status_with_ssid">
|
||||
<!-- Status message of Wi-Fi when it is idle. -->
|
||||
<item></item>
|
||||
<!-- Status message of Wi-Fi when it is scanning. -->
|
||||
<item>Scanning\u2026</item>
|
||||
<!-- Status message of Wi-Fi when it is connecting to a network. -->
|
||||
<item>Connecting to <xliff:g id="network_name">%1$s</xliff:g>\u2026</item>
|
||||
<!-- Status message of Wi-Fi when it is authenticating with a network. -->
|
||||
<item>Authenticating with <xliff:g id="network_name">%1$s</xliff:g>\u2026</item>
|
||||
<!-- Status message of Wi-Fi when it is obtaining IP address from a network. -->
|
||||
<item>Obtaining IP address from <xliff:g id="network_name">%1$s</xliff:g>\u2026</item>
|
||||
<!-- Status message of Wi-Fi when it is connected to a network. -->
|
||||
<item>Connected to <xliff:g id="network_name">%1$s</xliff:g></item>
|
||||
<!-- Status message of Wi-Fi when it is suspended. -->
|
||||
<item>Suspended</item>
|
||||
<!-- Status message of Wi-Fi when it is disconnecting from a network. -->
|
||||
<item>Disconnecting from <xliff:g id="network_name">%1$s</xliff:g>\u2026</item>
|
||||
<!-- Status message of Wi-Fi when it is disconnected. -->
|
||||
<item>Disconnected</item>
|
||||
<!-- Status message of Wi-Fi when it is a failure. -->
|
||||
<item>Unsuccessful</item>
|
||||
<!-- Status message of Wi-Fi when it is blocked. -->
|
||||
<item>Blocked</item>
|
||||
<!-- Status message of Wi-Fi when connectiong is being verified. -->
|
||||
<item>Temporarily avoiding poor connection</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Titles for HDCP checking preference. [CHAR LIMIT=35] -->
|
||||
<string-array name="hdcp_checking_titles">
|
||||
<item>Never check</item>
|
||||
<item>Check for DRM content only</item>
|
||||
<item>Always check</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Values for HDCP checking preference. -->
|
||||
<string-array name="hdcp_checking_values" translatable="false" >
|
||||
<item>never</item>
|
||||
<item>drm-only</item>
|
||||
<item>always</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Summaries for HDCP checking preference. [CHAR LIMIT=100]-->
|
||||
<string-array name="hdcp_checking_summaries" >
|
||||
<item>Never use HDCP checking</item>
|
||||
<item>Use HDCP checking for DRM content only</item>
|
||||
<item>Always use HDCP checking</item>
|
||||
</string-array>
|
||||
|
||||
|
||||
<!-- Bluetooth settings -->
|
||||
<!-- Titles for Bluetooth HCI Snoop Logging -->
|
||||
<string-array name="bt_hci_snoop_log_entries">
|
||||
<item>Disabled</item>
|
||||
<item>Enabled Filtered</item>
|
||||
<item>Enabled</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Values for Bluetooth HCI Snoop Logging -->
|
||||
<string-array name="bt_hci_snoop_log_values" translatable="false">
|
||||
<item>disabled</item>
|
||||
<item>filtered</item>
|
||||
<item>full</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Titles for Bluetooth HCI Snoop Filtered Logging -->
|
||||
<string-array name="bt_hci_snoop_log_filters_entries">
|
||||
<item>Leave only ACL headers</item>
|
||||
<item>Filter A2DP media packets</item>
|
||||
<item>Filter RFCOMM channel</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Values for Bluetooth HCI Snoop Filtered Logging -->
|
||||
<string-array name="bt_hci_snoop_log_filters_values" translatable="false">
|
||||
<item>headers</item>
|
||||
<item>profiles.a2dp</item>
|
||||
<item>profiles.rfcomm</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Titles for Bluetooth HCI Snoop Filtered Logging -->
|
||||
<string-array name="bt_hci_snoop_log_profile_filter_entries">
|
||||
<item>Disable</item>
|
||||
<item>Fill with string of characters</item>
|
||||
<item>Leave only header</item>
|
||||
<item>Fully remove</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Values for Bluetooth HCI Snoop Filtered Logging -->
|
||||
<string-array name="bt_hci_snoop_log_profile_filter_values" translatable="false">
|
||||
<item>disabled</item>
|
||||
<item>magic</item>
|
||||
<item>header</item>
|
||||
<item>fullfilter</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Titles for Bluetooth AVRCP Versions -->
|
||||
<string-array name="bluetooth_avrcp_versions">
|
||||
<item>AVRCP 1.5 (Default)</item>
|
||||
<item>AVRCP 1.3</item>
|
||||
<item>AVRCP 1.4</item>
|
||||
<item>AVRCP 1.6</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Values for Bluetooth AVRCP Versions -->
|
||||
<string-array name="bluetooth_avrcp_version_values">
|
||||
<item>avrcp15</item>
|
||||
<item>avrcp13</item>
|
||||
<item>avrcp14</item>
|
||||
<item>avrcp16</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Titles for Bluetooth MAP Versions -->
|
||||
<string-array name="bluetooth_map_versions">
|
||||
<item>MAP 1.2 (Default)</item>
|
||||
<item>MAP 1.3</item>
|
||||
<item>MAP 1.4</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Values for Bluetooth MAP Versions -->
|
||||
<string-array name="bluetooth_map_version_values">
|
||||
<item>map12</item>
|
||||
<item>map13</item>
|
||||
<item>map14</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Titles for Bluetooth Audio Codec selection preference. [CHAR LIMIT=50] -->
|
||||
<string-array name="bluetooth_a2dp_codec_titles">
|
||||
<item>Use System Selection (Default)</item>
|
||||
<item>SBC</item>
|
||||
<item>AAC</item>
|
||||
<item><xliff:g id="qualcomm">Qualcomm®</xliff:g> <xliff:g id="aptx">aptX™</xliff:g> audio</item>
|
||||
<item><xliff:g id="qualcomm">Qualcomm®</xliff:g> <xliff:g id="aptx_hd">aptX™ HD</xliff:g> audio</item>
|
||||
<item>LDAC</item>
|
||||
<item>LC3</item>
|
||||
<item>Opus</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Summaries for Bluetooth Audio Codec selection preference. [CHAR LIMIT=50]-->
|
||||
<string-array name="bluetooth_a2dp_codec_summaries" >
|
||||
<item>Use System Selection (Default)</item>
|
||||
<item>SBC</item>
|
||||
<item>AAC</item>
|
||||
<item><xliff:g id="qualcomm">Qualcomm®</xliff:g> <xliff:g id="aptx">aptX™</xliff:g> audio</item>
|
||||
<item><xliff:g id="qualcomm">Qualcomm®</xliff:g> <xliff:g id="aptx_hd">aptX™ HD</xliff:g> audio</item>
|
||||
<item>LDAC</item>
|
||||
<item>LC3</item>
|
||||
<item>Opus</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Titles for Bluetooth Audio Codec Sample Rate selection preference. [CHAR LIMIT=50] -->
|
||||
<string-array name="bluetooth_a2dp_codec_sample_rate_titles">
|
||||
<item>Use System Selection (Default)</item>
|
||||
<item>44.1 kHz</item>
|
||||
<item>48.0 kHz</item>
|
||||
<item>88.2 kHz</item>
|
||||
<item>96.0 kHz</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Summaries for Bluetooth Audio Codec Sample Rate selection preference. [CHAR LIMIT=50]-->
|
||||
<string-array name="bluetooth_a2dp_codec_sample_rate_summaries" >
|
||||
<item>Use System Selection (Default)</item>
|
||||
<item>44.1 kHz</item>
|
||||
<item>48.0 kHz</item>
|
||||
<item>88.2 kHz</item>
|
||||
<item>96.0 kHz</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Titles for Bluetooth Audio Codec Bits Per Sample selection preference. [CHAR LIMIT=50] -->
|
||||
<string-array name="bluetooth_a2dp_codec_bits_per_sample_titles">
|
||||
<item>Use System Selection (Default)</item>
|
||||
<item>16 bits/sample</item>
|
||||
<item>24 bits/sample</item>
|
||||
<item>32 bits/sample</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Summaries for Bluetooth Audio Codec Bits Per Sample selection preference. [CHAR LIMIT=50]-->
|
||||
<string-array name="bluetooth_a2dp_codec_bits_per_sample_summaries" >
|
||||
<item>Use System Selection (Default)</item>
|
||||
<item>16 bits/sample</item>
|
||||
<item>24 bits/sample</item>
|
||||
<item>32 bits/sample</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Titles for Bluetooth Audio Codec Channel Mode selection preference. [CHAR LIMIT=50] -->
|
||||
<string-array name="bluetooth_a2dp_codec_channel_mode_titles">
|
||||
<item>Use System Selection (Default)</item>
|
||||
<item>Mono</item>
|
||||
<item>Stereo</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Summaries for Bluetooth Audio Codec Channel Mode selection preference. [CHAR LIMIT=50]-->
|
||||
<string-array name="bluetooth_a2dp_codec_channel_mode_summaries" >
|
||||
<item>Use System Selection (Default)</item>
|
||||
<item>Mono</item>
|
||||
<item>Stereo</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Titles for Bluetooth Audio Codec LDAC Playback Quality selection preference. [CHAR LIMIT=70] -->
|
||||
<string-array name="bluetooth_a2dp_codec_ldac_playback_quality_titles">
|
||||
<item>Optimized for Audio Quality (990kbps/909kbps)</item>
|
||||
<item>Balanced Audio And Connection Quality (660kbps/606kbps)</item>
|
||||
<item>Optimized for Connection Quality (330kbps/303kbps)</item>
|
||||
<item>Best Effort (Adaptive Bit Rate)</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Summaries for Bluetooth Audio Codec LDAC Playback Quality selection preference. [CHAR LIMIT=70]-->
|
||||
<string-array name="bluetooth_a2dp_codec_ldac_playback_quality_summaries" >
|
||||
<item>Optimized for Audio Quality</item>
|
||||
<item>Balanced Audio And Connection Quality</item>
|
||||
<item>Optimized for Connection Quality</item>
|
||||
<item>Best Effort (Adaptive Bit Rate)</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Summaries for Android Auto Bluetooth Audio Active Device status. [CHAR LIMIT=50]-->
|
||||
<string-array name="bluetooth_audio_active_device_summaries" >
|
||||
<!-- Status message when the device is not Active. -->
|
||||
<item></item>
|
||||
<!-- Status message when the device is Active for Media and Phone. -->
|
||||
<item>, active</item>
|
||||
<!-- Status message when the device is Active for Media only. -->
|
||||
<item>, active (media)</item>
|
||||
<!-- Status message when the device is Active for Phone only. -->
|
||||
<item>, active (phone)</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Titles for logd limit size selection preference. [CHAR LIMIT=14] -->
|
||||
<string-array name="select_logd_size_titles">
|
||||
<item>Off</item>
|
||||
<item>64K</item>
|
||||
<item>256K</item>
|
||||
<item>1M</item>
|
||||
<item>4M</item>
|
||||
<item>8M</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Titles for logd limit size lowram selection preference. [CHAR LIMIT=14] -->
|
||||
<string-array name="select_logd_size_lowram_titles">
|
||||
<item>Off</item>
|
||||
<item>64K</item>
|
||||
<item>256K</item>
|
||||
<item>1M</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Values for logd limit size selection preference. -->
|
||||
<string-array name="select_logd_size_values" translatable="false" >
|
||||
<item>32768</item>
|
||||
<item>65536</item>
|
||||
<item>262144</item>
|
||||
<item>1048576</item>
|
||||
<item>4194304</item>
|
||||
<item>8388608</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Summaries for logd limit size selection preference. [CHAR LIMIT=50]-->
|
||||
<string-array name="select_logd_size_summaries" >
|
||||
<item>Off</item>
|
||||
<item>64K per log buffer</item>
|
||||
<item>256K per log buffer</item>
|
||||
<item>1M per log buffer</item>
|
||||
<item>4M per log buffer</item>
|
||||
<item>8M per log buffer</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Values for logpersist state selection preference. -->
|
||||
<string-array name="select_logpersist_values" translatable="false" >
|
||||
<item></item>
|
||||
<item>all</item>
|
||||
<item>default,security,kernel</item>
|
||||
<item>kernel</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Titles for logpersist state selection preference. [CHAR LIMIT=26] -->
|
||||
<string-array name="select_logpersist_titles">
|
||||
<item>Off</item>
|
||||
<item>All</item>
|
||||
<item>All but radio</item>
|
||||
<item>kernel only</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Summaries for logpersist state selection preference. [CHAR LIMIT=50]-->
|
||||
<string-array name="select_logpersist_summaries" >
|
||||
<item>Off</item>
|
||||
<item>All log buffers</item>
|
||||
<item>All but radio log buffers</item>
|
||||
<item>kernel log buffer only</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Titles for window animation scale preference. [CHAR LIMIT=35] -->
|
||||
<string-array name="window_animation_scale_entries">
|
||||
<item>Animation off</item>
|
||||
<item>Animation scale .5x</item>
|
||||
<item>Animation scale 1x</item>
|
||||
<item>Animation scale 1.5x</item>
|
||||
<item>Animation scale 2x</item>
|
||||
<item>Animation scale 5x</item>
|
||||
<item>Animation scale 10x</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Values for window animation scale preference. -->
|
||||
<string-array name="window_animation_scale_values" translatable="false" >
|
||||
<item>0</item>
|
||||
<item>.5</item>
|
||||
<item>1</item>
|
||||
<item>1.5</item>
|
||||
<item>2</item>
|
||||
<item>5</item>
|
||||
<item>10</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Titles for transition animation scale preference. [CHAR LIMIT=35] -->
|
||||
<string-array name="transition_animation_scale_entries">
|
||||
<item>Animation off</item>
|
||||
<item>Animation scale .5x</item>
|
||||
<item>Animation scale 1x</item>
|
||||
<item>Animation scale 1.5x</item>
|
||||
<item>Animation scale 2x</item>
|
||||
<item>Animation scale 5x</item>
|
||||
<item>Animation scale 10x</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Values for transition animation scale preference. -->
|
||||
<string-array name="transition_animation_scale_values" translatable="false" >
|
||||
<item>0</item>
|
||||
<item>.5</item>
|
||||
<item>1</item>
|
||||
<item>1.5</item>
|
||||
<item>2</item>
|
||||
<item>5</item>
|
||||
<item>10</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Titles for animator duration scale preference. [CHAR LIMIT=35] -->
|
||||
<string-array name="animator_duration_scale_entries">
|
||||
<item>Animation off</item>
|
||||
<item>Animation scale .5x</item>
|
||||
<item>Animation scale 1x</item>
|
||||
<item>Animation scale 1.5x</item>
|
||||
<item>Animation scale 2x</item>
|
||||
<item>Animation scale 5x</item>
|
||||
<item>Animation scale 10x</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Values for animator duration scale preference. -->
|
||||
<string-array name="animator_duration_scale_values" translatable="false" >
|
||||
<item>0</item>
|
||||
<item>.5</item>
|
||||
<item>1</item>
|
||||
<item>1.5</item>
|
||||
<item>2</item>
|
||||
<item>5</item>
|
||||
<item>10</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Titles for overlay display devices preference. [CHAR LIMIT=35] -->
|
||||
<string-array name="overlay_display_devices_entries">
|
||||
<item>None</item>
|
||||
<item>480p</item>
|
||||
<item>480p (secure)</item>
|
||||
<item>720p</item>
|
||||
<item>720p (secure)</item>
|
||||
<item>1080p</item>
|
||||
<item>1080p (secure)</item>
|
||||
<item>4K</item>
|
||||
<item>4K (secure)</item>
|
||||
<item>4K (upscaled)</item>
|
||||
<item>4K (upscaled, secure)</item>
|
||||
<item>720p, 1080p (dual screen)</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Values for overlay display devices preference. -->
|
||||
<string-array name="overlay_display_devices_values" translatable="false" >
|
||||
<item></item>
|
||||
<item>720x480/142</item>
|
||||
<item>720x480/142,secure</item>
|
||||
<item>1280x720/213</item>
|
||||
<item>1280x720/213,secure</item>
|
||||
<item>1920x1080/320</item>
|
||||
<item>1920x1080/320,secure</item>
|
||||
<item>3840x2160/320</item>
|
||||
<item>3840x2160/320,secure</item>
|
||||
<item>1920x1080/320|3840x2160/640</item>
|
||||
<item>1920x1080/320|3840x2160/640,secure</item>
|
||||
<item>1280x720/213;1920x1080/320</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Titles for OpenGL traces preference. [CHAR LIMIT=35] -->
|
||||
<string-array name="enable_opengl_traces_entries">
|
||||
<item>None</item>
|
||||
<item>Logcat</item>
|
||||
<item>Systrace (Graphics)</item>
|
||||
<item>Call stack on glGetError</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Values for OpenGL traces preference. -->
|
||||
<string-array name="enable_opengl_traces_values" translatable="false" >
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>systrace</item>
|
||||
<item>error</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Titles for non-rectangular clipping preference. [CHAR LIMIT=35] -->
|
||||
<string-array name="show_non_rect_clip_entries">
|
||||
<item>Off</item>
|
||||
<item>Draw non-rectangular clip region in blue</item>
|
||||
<item>Highlight tested drawing commands in green</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Values for non-rectangular clipping preference. -->
|
||||
<string-array name="show_non_rect_clip_values" translatable="false" >
|
||||
<item>hide</item>
|
||||
<item>region</item>
|
||||
<item>highlight</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Titles for frame time tracking preference. [CHAR LIMIT=50] -->
|
||||
<string-array name="track_frame_time_entries">
|
||||
<item>Off</item>
|
||||
<item>On screen as bars</item>
|
||||
<item>In <xliff:g id="as_typed_command">adb shell dumpsys gfxinfo</xliff:g></item>
|
||||
</string-array>
|
||||
|
||||
<!-- Values for frame time tracking preference. -->
|
||||
<string-array name="track_frame_time_values" translatable="false" >
|
||||
<item>false</item>
|
||||
<item>visual_bars</item>
|
||||
<item>true</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Titles for debug overdraw preference. [CHAR LIMIT=50] -->
|
||||
<string-array name="debug_hw_overdraw_entries">
|
||||
<item>Off</item>
|
||||
<item>Show overdraw areas</item>
|
||||
<item>Show areas for Deuteranomaly</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Values for debug overdraw preference. -->
|
||||
<string-array name="debug_hw_overdraw_values" translatable="false" >
|
||||
<item>false</item>
|
||||
<item>show</item>
|
||||
<item>show_deuteranomaly</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Titles for app process limit preference. [CHAR LIMIT=35] -->
|
||||
<string-array name="app_process_limit_entries">
|
||||
<item>Standard limit</item>
|
||||
<item>No background processes</item>
|
||||
<item>At most 1 process</item>
|
||||
<item>At most 2 processes</item>
|
||||
<item>At most 3 processes</item>
|
||||
<item>At most 4 processes</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Values for app process limit preference. -->
|
||||
<string-array name="app_process_limit_values" translatable="false" >
|
||||
<item>-1</item>
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
<item>4</item>
|
||||
</string-array>
|
||||
|
||||
<!-- USB configuration names for Developer Settings.
|
||||
This can be overridden by devices with additional USB configurations. -->
|
||||
<string-array name="usb_configuration_titles">
|
||||
<item>Charging</item>
|
||||
<item>MTP (Media Transfer Protocol)</item>
|
||||
<item>PTP (Picture Transfer Protocol)</item>
|
||||
<item>RNDIS (USB Ethernet)</item>
|
||||
<item>Audio Source</item>
|
||||
<item>MIDI</item>
|
||||
</string-array>
|
||||
|
||||
<!-- USB configuration values for Developer Settings.
|
||||
These are lists of USB functions passed to the USB Manager to change USB configuration.
|
||||
This can be overridden by devices with additional USB configurations.
|
||||
Do not translate. -->
|
||||
<string-array name="usb_configuration_values" translatable="false">
|
||||
<!-- Do not translate. -->
|
||||
<item>none</item>
|
||||
<!-- Do not translate. -->
|
||||
<item>mtp</item>
|
||||
<!-- Do not translate. -->
|
||||
<item>ptp</item>
|
||||
<!-- Do not translate. -->
|
||||
<item>rndis</item>
|
||||
<!-- Do not translate. -->
|
||||
<item>audio_source</item>
|
||||
<!-- Do not translate. -->
|
||||
<item>midi</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Display color space adjustment modes for developers -->
|
||||
<string-array name="simulate_color_space_entries" translatable="false">
|
||||
<item>@string/daltonizer_mode_disabled</item>
|
||||
<item>@string/daltonizer_mode_monochromacy</item>
|
||||
<item>@string/daltonizer_mode_deuteranomaly</item>
|
||||
<item>@string/daltonizer_mode_protanomaly</item>
|
||||
<item>@string/daltonizer_mode_tritanomaly</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Values for display color space adjustment modes for developers -->
|
||||
<string-array name="simulate_color_space_values" translatable="false">
|
||||
<item>-1</item>
|
||||
<item>0</item>
|
||||
<item>2</item>
|
||||
<item>1</item>
|
||||
<item>3</item>
|
||||
</string-array>
|
||||
|
||||
<!-- IDs for each color mode. The values must match the corresponding constants in
|
||||
android.view.Display -->
|
||||
<integer-array name="color_mode_ids">
|
||||
<item>0</item>
|
||||
<item>-1</item>
|
||||
<item>7</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- BatteryMeterView parameters -->
|
||||
<array name="batterymeter_color_levels">
|
||||
<item>20</item>
|
||||
<item>100</item>
|
||||
</array>
|
||||
<array name="batterymeter_color_values">
|
||||
<item>?android:attr/colorError</item>
|
||||
<item>@android:color/white</item>
|
||||
</array>
|
||||
<array name="batterymeter_bolt_points">
|
||||
<item>73</item> <item>0</item>
|
||||
<item>392</item><item>0</item>
|
||||
<item>201</item><item>259</item>
|
||||
<item>442</item><item>259</item>
|
||||
<item>4</item> <item>703</item>
|
||||
<item>157</item><item>334</item>
|
||||
<item>0</item> <item>334</item>
|
||||
</array>
|
||||
<array name="batterymeter_plus_points">
|
||||
<item>3</item><item>0</item>
|
||||
<item>5</item><item>0</item>
|
||||
<item>5</item><item>3</item>
|
||||
<item>8</item><item>3</item>
|
||||
<item>8</item><item>5</item>
|
||||
<item>5</item><item>5</item>
|
||||
<item>5</item><item>8</item>
|
||||
<item>3</item><item>8</item>
|
||||
<item>3</item><item>5</item>
|
||||
<item>0</item><item>5</item>
|
||||
<item>0</item><item>3</item>
|
||||
<item>3</item><item>3</item>
|
||||
</array>
|
||||
|
||||
<!-- Bluetooth icon foreground colors -->
|
||||
<integer-array name="bt_icon_fg_colors">
|
||||
<item>@color/bt_color_icon_1</item>
|
||||
<item>@color/bt_color_icon_2</item>
|
||||
<item>@color/bt_color_icon_3</item>
|
||||
<item>@color/bt_color_icon_4</item>
|
||||
<item>@color/bt_color_icon_5</item>
|
||||
<item>@color/bt_color_icon_6</item>
|
||||
<item>@color/bt_color_icon_7</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Bluetooth icon background colors -->
|
||||
<integer-array name="bt_icon_bg_colors">
|
||||
<item>@color/bt_color_bg_1</item>
|
||||
<item>@color/bt_color_bg_2</item>
|
||||
<item>@color/bt_color_bg_3</item>
|
||||
<item>@color/bt_color_bg_4</item>
|
||||
<item>@color/bt_color_bg_5</item>
|
||||
<item>@color/bt_color_bg_6</item>
|
||||
<item>@color/bt_color_bg_7</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Cached apps freezer modes -->
|
||||
<array name="cached_apps_freezer_entries">
|
||||
<item>@string/cached_apps_freezer_device_default</item>
|
||||
<item>@string/cached_apps_freezer_enabled</item>
|
||||
<item>@string/cached_apps_freezer_disabled</item>
|
||||
</array>
|
||||
|
||||
<!-- Values for cached apps freezer modes -->
|
||||
<array name="cached_apps_freezer_values">
|
||||
<item>device_default</item>
|
||||
<item>enabled</item>
|
||||
<item>disabled</item>
|
||||
</array>
|
||||
|
||||
<!-- Images offered as options in the avatar picker. If populated, the avatar_image_descriptions
|
||||
array must also be populated with a content description for each image. -->
|
||||
<array name="avatar_images"/>
|
||||
|
||||
<!-- Content descriptions for each of the images in the avatar_images array. When overlaid
|
||||
these values should be translated, but this empty array must not be translated or it may
|
||||
replace the real descriptions with an empty array. -->
|
||||
<string-array name="avatar_image_descriptions" translatable="false"/>
|
||||
|
||||
<!-- NOTE: if you change this, you must also add the corresponding scale key and lookup table to
|
||||
frameworks/base/core/java/android/content/res/FontScaleConverterFactory.java -->
|
||||
<string-array name="entryvalues_font_size" translatable="false">
|
||||
<item>0.85</item>
|
||||
<item>1.0</item>
|
||||
<item>1.15</item>
|
||||
<item>1.30</item>
|
||||
<item>1.50</item>
|
||||
<item>1.80</item>
|
||||
<item>2.0</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Grammatical genders -->
|
||||
<array name="grammatical_gender_entries">
|
||||
<item>@string/not_specified</item>
|
||||
<item>@string/neuter</item>
|
||||
<item>@string/feminine</item>
|
||||
<item>@string/masculine</item>
|
||||
</array>
|
||||
|
||||
<!-- Values for grammatical genders -->
|
||||
<string-array name="grammatical_gender_values">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
53
SettingsLib/res/values/attrs.xml
Normal file
53
SettingsLib/res/values/attrs.xml
Normal file
@@ -0,0 +1,53 @@
|
||||
<?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.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<declare-styleable name="RestrictedPreference">
|
||||
<!-- The user restriction on which the preference disabled by admin state will be based on. -->
|
||||
<attr name="userRestriction" format="string" />
|
||||
<!-- If true then we can use enabled/disabled by admin strings for summary (android.R.id.summary). -->
|
||||
<attr name="useAdminDisabledSummary" format="boolean" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="RestrictedSwitchPreference">
|
||||
<!-- If true, an additional summary will be added in addition to the existing summary and
|
||||
this will be used for enabled/disabled by admin strings leaving android.R.id.summary untouched.
|
||||
As such when this is true, useAdminDisabledSummary will be overwritten to false. -->
|
||||
<attr name="useAdditionalSummary" format="boolean" />
|
||||
<!-- This is used as summary for restricted switch preferences, default value is
|
||||
@string/disabled_by_admin (Disabled by administrator). -->
|
||||
<attr name="restrictedSwitchSummary" format="reference" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="WifiEncryptionState">
|
||||
<attr name="state_encrypted" format="boolean" />
|
||||
</declare-styleable>
|
||||
<declare-styleable name="WifiMeteredState">
|
||||
<attr name="state_metered" format="boolean" />
|
||||
</declare-styleable>
|
||||
<declare-styleable name="WifiSavedState">
|
||||
<attr name="state_saved" format="boolean" />
|
||||
</declare-styleable>
|
||||
|
||||
<attr name="wifi_signal" format="reference" />
|
||||
<attr name="wifi_friction" format="reference" />
|
||||
|
||||
<!-- Workaround for b/74248169. These are duplicates of attrs in AndroidX preferences. -->
|
||||
<attr name="preferenceStyle" format="reference" />
|
||||
<attr name="switchPreferenceStyle" format="reference" />
|
||||
|
||||
</resources>
|
||||
32
SettingsLib/res/values/carrierid_icon_overrides.xml
Normal file
32
SettingsLib/res/values/carrierid_icon_overrides.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2022 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 resource file exists to enumerate all network type icon overrides on a
|
||||
~ per-carrierId basis
|
||||
-->
|
||||
<resources>
|
||||
<!--
|
||||
Network type (RAT) icon overrides can be configured here on a per-carrierId basis.
|
||||
1. Add a new TypedArray here, using the naming scheme below
|
||||
2. The entries are (NetworkType, drawable ID) pairs
|
||||
3. Add this array's ID to the MAPPING field of MobileIconCarrierIdOverrides.kt
|
||||
-->
|
||||
<array name="carrierId_2032_iconOverrides">
|
||||
<item>5G_PLUS</item>
|
||||
<item>@drawable/ic_5g_plus_mobiledata_default</item>
|
||||
</array>
|
||||
</resources>
|
||||
48
SettingsLib/res/values/colors.xml
Normal file
48
SettingsLib/res/values/colors.xml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?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.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<color name="disabled_text_color">#66000000</color> <!-- 38% black -->
|
||||
|
||||
<color name="bt_color_icon_1">#b4a50e0e</color> <!-- 72% Material Red 900 -->
|
||||
<color name="bt_color_icon_2">#b40d652d</color> <!-- 72% Material Green 900 -->
|
||||
<color name="bt_color_icon_3">#b4e37400</color> <!-- 72% Material Yellow 900 -->
|
||||
<color name="bt_color_icon_4">#b4b06000</color> <!-- 72% Material Orange 900 -->
|
||||
<color name="bt_color_icon_5">#b49c166b</color> <!-- 72% Material Pink 900 -->
|
||||
<color name="bt_color_icon_6">#b4681da8</color> <!-- 72% Material Purple 900 -->
|
||||
<color name="bt_color_icon_7">#b4007b83</color> <!-- 72% Material Cyan 900 -->
|
||||
|
||||
<color name="bt_color_bg_1">#fad2cf</color> <!-- Material Red 100 -->
|
||||
<color name="bt_color_bg_2">#ceead6</color> <!-- Material Green 100 -->
|
||||
<color name="bt_color_bg_3">#feefc3</color> <!-- Material Yellow 100 -->
|
||||
<color name="bt_color_bg_4">#fedfc8</color> <!-- Material Orange 100 -->
|
||||
<color name="bt_color_bg_5">#fdcfe8</color> <!-- Material Pink 100 -->
|
||||
<color name="bt_color_bg_6">#e9d2fd</color> <!-- Material Purple 100 -->
|
||||
<color name="bt_color_bg_7">#cbf0f8</color> <!-- Material Cyan 100 -->
|
||||
|
||||
<color name="dark_mode_icon_color_single_tone">#99000000</color>
|
||||
<color name="light_mode_icon_color_single_tone">#ffffff</color>
|
||||
|
||||
<color name="user_avatar_color_bg">?android:attr/colorBackgroundFloating</color>
|
||||
|
||||
<!-- QR code scanner colors -->
|
||||
<color name="qr_corner_line_color">#ffdadce0</color>
|
||||
<color name="qr_focused_corner_line_color">#ff1a73e8</color>
|
||||
<color name="qr_background_color">#b3ffffff</color> <!-- 70% white transparency -->
|
||||
<!-- End of QR code scanner colors -->
|
||||
|
||||
<color name="batterymeter_saver_color">#FBBC04</color>
|
||||
</resources>
|
||||
31
SettingsLib/res/values/config.xml
Normal file
31
SettingsLib/res/values/config.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2019 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.
|
||||
-->
|
||||
<!-- These resources are around just to allow their values to be customized -->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Threshold in micro watts below which a charger is rated as "slow"; 1A @ 5V -->
|
||||
<integer name="config_chargingSlowlyThreshold">5000000</integer>
|
||||
|
||||
<!-- Threshold in micro watts above which a charger is rated as "fast"; 1.5A @ 5V -->
|
||||
<integer name="config_chargingFastThreshold">7500000</integer>
|
||||
|
||||
<!-- When true, show 1/2G networks as 3G. -->
|
||||
<bool name="config_showMin3G">false</bool>
|
||||
|
||||
<!-- Control whether status bar should distinguish HSPA data icon form UMTS
|
||||
data icon on devices -->
|
||||
<bool name="config_hspa_data_distinguishable">false</bool>
|
||||
</resources>
|
||||
128
SettingsLib/res/values/dimens.xml
Normal file
128
SettingsLib/res/values/dimens.xml
Normal file
@@ -0,0 +1,128 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2015 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>
|
||||
|
||||
<!-- The y translation to apply at the start in appear animations. -->
|
||||
<dimen name="appear_y_translation_start">32dp</dimen>
|
||||
|
||||
<!-- Height of a user icon view -->
|
||||
<dimen name="user_icon_view_height">24dp</dimen>
|
||||
<!-- User spinner -->
|
||||
<dimen name="user_spinner_padding">4dp</dimen>
|
||||
<dimen name="user_spinner_padding_sides">20dp</dimen>
|
||||
|
||||
<!-- Lock icon for preferences locked by admin -->
|
||||
<dimen name="restricted_icon_padding">4dp</dimen>
|
||||
|
||||
<dimen name="wifi_preference_badge_padding">8dip</dimen>
|
||||
|
||||
<!-- Usage graph dimens -->
|
||||
<dimen name="usage_graph_margin_top_bottom">9dp</dimen>
|
||||
<dimen name="usage_graph_labels_width">56dp</dimen>
|
||||
|
||||
<dimen name="usage_graph_divider_size">1dp</dimen>
|
||||
|
||||
<dimen name="usage_graph_line_width">3dp</dimen>
|
||||
<dimen name="usage_graph_line_corner_radius">6dp</dimen>
|
||||
|
||||
<dimen name="usage_graph_dot_size">.75dp</dimen>
|
||||
<dimen name="usage_graph_dot_interval">7dp</dimen>
|
||||
|
||||
<dimen name="battery_height">14.5dp</dimen>
|
||||
<dimen name="battery_width">9.5dp</dimen>
|
||||
<dimen name="battery_powersave_outline_thickness">1dp</dimen>
|
||||
|
||||
<dimen name="bt_battery_padding">2dp</dimen>
|
||||
|
||||
<!-- Margin on the right side of the system icon group on Keyguard. -->
|
||||
<fraction name="battery_button_height_fraction">10.5%</fraction>
|
||||
|
||||
<!-- Ratio between height of button part and height of total -->
|
||||
<fraction name="bt_battery_button_height_fraction">7.8%</fraction>
|
||||
|
||||
<!-- Ratio between width and height -->
|
||||
<fraction name="bt_battery_ratio_fraction">35%</fraction>
|
||||
|
||||
<!-- Fraction value to smooth the edges of the battery icon. The path will be inset by this
|
||||
fraction of a pixel.-->
|
||||
<fraction name="battery_subpixel_smoothing_left">0%</fraction>
|
||||
<fraction name="battery_subpixel_smoothing_right">0%</fraction>
|
||||
|
||||
<!-- Zen mode panel: spacing between two-line condition upper and lower lines -->
|
||||
<dimen name="zen_mode_condition_detail_item_interline_spacing">4dp</dimen>
|
||||
|
||||
<!-- SignalDrawable -->
|
||||
<dimen name="signal_icon_size">15dp</dimen>
|
||||
<!-- The size of the roaming icon in the top-left corner of the signal icon. -->
|
||||
<dimen name="signal_icon_size_roaming">8dp</dimen>
|
||||
|
||||
<!-- Size of nearby icon -->
|
||||
<dimen name="bt_nearby_icon_size">24dp</dimen>
|
||||
|
||||
<!-- Define minimal size of the tap area -->
|
||||
<dimen name="min_tap_target_size">48dp</dimen>
|
||||
|
||||
<!-- Size of advanced icon -->
|
||||
<dimen name="advanced_icon_size">18dp</dimen>
|
||||
|
||||
<dimen name="add_a_photo_circled_padding">6dp</dimen>
|
||||
<dimen name="user_photo_size_in_user_info_dialog">112dp</dimen>
|
||||
<dimen name="add_a_photo_icon_size_in_user_info_dialog">32dp</dimen>
|
||||
<dimen name="user_name_height_in_user_info_dialog">48sp</dimen>
|
||||
|
||||
<integer name="avatar_picker_columns">3</integer>
|
||||
<dimen name="avatar_size_in_picker">96dp</dimen>
|
||||
<dimen name="avatar_picker_padding">6dp</dimen>
|
||||
<dimen name="avatar_picker_margin">2dp</dimen>
|
||||
|
||||
<dimen name="avatar_picker_icon_inset">25dp</dimen>
|
||||
|
||||
<!-- Minimum increment between density scales. -->
|
||||
<fraction name="display_density_min_scale_interval">9%</fraction>
|
||||
<!-- Maximum density scale. The actual scale used depends on the device. -->
|
||||
<fraction name="display_density_max_scale">150%</fraction>
|
||||
<!-- Minimum density scale. This is available on all devices. -->
|
||||
<fraction name="display_density_min_scale">85%</fraction>
|
||||
|
||||
<!-- Broadcast dialog -->
|
||||
<dimen name="broadcast_dialog_title_img_margin_top">18dp</dimen>
|
||||
<dimen name="broadcast_dialog_title_text_size">24sp</dimen>
|
||||
<dimen name="broadcast_dialog_title_text_margin">16dp</dimen>
|
||||
<dimen name="broadcast_dialog_title_text_margin_top">18dp</dimen>
|
||||
<dimen name="broadcast_dialog_subtitle_text_size">14sp</dimen>
|
||||
<dimen name="broadcast_dialog_icon_size">24dp</dimen>
|
||||
<dimen name="broadcast_dialog_icon_margin_top">25dp</dimen>
|
||||
<dimen name="broadcast_dialog_btn_radius">100dp</dimen>
|
||||
<dimen name="broadcast_dialog_btn_margin_bottom">4dp</dimen>
|
||||
<dimen name="broadcast_dialog_btn_text_size">16sp</dimen>
|
||||
<dimen name="broadcast_dialog_btn_minHeight">44dp</dimen>
|
||||
<dimen name="broadcast_dialog_margin">16dp</dimen>
|
||||
|
||||
<dimen name="dialog_content_padding">16dp</dimen>
|
||||
<dimen name="radio_button_padding">12dp</dimen>
|
||||
<dimen name="radio_button_padding_start">8dp</dimen>
|
||||
|
||||
<dimen name="dialog_button_horizontal_padding">16dp</dimen>
|
||||
<dimen name="dialog_button_vertical_padding">8dp</dimen>
|
||||
<!-- The button will be 48dp tall, but the background needs to be 36dp tall -->
|
||||
<dimen name="dialog_button_vertical_inset">6dp</dimen>
|
||||
<dimen name="dialog_top_padding">24dp</dimen>
|
||||
<dimen name="dialog_bottom_padding">18dp</dimen>
|
||||
<dimen name="dialog_side_padding">24dp</dimen>
|
||||
<dimen name="dialog_button_bar_top_padding">32dp</dimen>
|
||||
<dimen name="button_corner_radius">28dp</dimen>
|
||||
</resources>
|
||||
1720
SettingsLib/res/values/strings.xml
Normal file
1720
SettingsLib/res/values/strings.xml
Normal file
File diff suppressed because it is too large
Load Diff
119
SettingsLib/res/values/styles.xml
Normal file
119
SettingsLib/res/values/styles.xml
Normal file
@@ -0,0 +1,119 @@
|
||||
<!--
|
||||
~ 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
|
||||
-->
|
||||
|
||||
<resources xmlns:androidprv="http://schemas.android.com/apk/prv/res/android">
|
||||
<style name="TextAppearanceSmall">
|
||||
<item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
|
||||
<item name="android:textColor">?android:attr/textColorSecondary</item>
|
||||
</style>
|
||||
<style name="TextAppearanceMedium">
|
||||
<item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
|
||||
</style>
|
||||
|
||||
<style name="BorderlessButton">
|
||||
<item name="android:padding">12dp</item>
|
||||
<item name="android:background">@*android:drawable/btn_borderless_rect</item>
|
||||
<item name="android:gravity">center</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.ErrorText"
|
||||
parent="@*android:TextAppearance.DeviceDefault.Body1">
|
||||
<item name="android:textColor">?android:attr/colorError</item>
|
||||
</style>
|
||||
|
||||
<style name="BroadcastDialogTitleStyle">
|
||||
<item name="android:textAppearance">@style/TextAppearanceBroadcastDialogTitle</item>
|
||||
<item name="android:layout_marginStart">@dimen/broadcast_dialog_title_text_margin</item>
|
||||
<item name="android:layout_marginEnd">@dimen/broadcast_dialog_title_text_margin</item>
|
||||
<item name="android:layout_marginTop">@dimen/broadcast_dialog_title_text_margin_top</item>
|
||||
<item name="android:layout_marginBottom">18dp</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearanceBroadcastDialogTitle" parent="@android:TextAppearance.DeviceDefault.Headline">
|
||||
<item name="android:textSize">@dimen/broadcast_dialog_title_text_size</item>
|
||||
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
||||
<item name="android:textDirection">locale</item>
|
||||
<item name="android:ellipsize">end</item>
|
||||
</style>
|
||||
|
||||
<style name="BroadcastDialogBodyStyle">
|
||||
<item name="android:textAppearance">@style/TextAppearanceBroadcastDialogSubTitle</item>
|
||||
<item name="android:layout_margin">@dimen/broadcast_dialog_title_text_margin</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearanceBroadcastDialogSubTitle" parent="@android:TextAppearance.DeviceDefault.Headline">
|
||||
<item name="android:textSize">@dimen/broadcast_dialog_subtitle_text_size</item>
|
||||
<item name="android:textColor">?android:attr/textColorSecondary</item>
|
||||
<item name="android:textDirection">locale</item>
|
||||
<item name="android:ellipsize">end</item>
|
||||
</style>
|
||||
|
||||
<style name="BroadcastDialogButtonStyle">
|
||||
<item name="android:textAppearance">@style/TextAppearanceBroadcastDialogButton</item>
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:layout_gravity">center</item>
|
||||
<item name="android:gravity">center</item>
|
||||
<item name="android:stateListAnimator">@null</item>
|
||||
<item name="android:elevation">0dp</item>
|
||||
<item name="android:minHeight">@dimen/broadcast_dialog_btn_minHeight</item>
|
||||
<item name="android:background">@drawable/broadcast_dialog_btn_bg</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearanceBroadcastDialogButton" parent="@android:TextAppearance.DeviceDefault.Headline">
|
||||
<item name="android:textColor">?androidprv:attr/textColorOnAccent</item>
|
||||
<item name="android:textSize">@dimen/broadcast_dialog_btn_text_size</item>
|
||||
</style>
|
||||
|
||||
<style name="EditUserDialogTitle" parent="@android:TextAppearance.DeviceDefault.Headline">
|
||||
<item name="android:textSize">@dimen/broadcast_dialog_title_text_size</item>
|
||||
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
||||
<item name="android:textDirection">locale</item>
|
||||
<item name="android:ellipsize">end</item>
|
||||
</style>
|
||||
|
||||
<style name="DialogWithIconTitle" parent="@android:TextAppearance.DeviceDefault.Headline">
|
||||
<item name="android:textSize">@dimen/broadcast_dialog_title_text_size</item>
|
||||
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
||||
<item name="android:textDirection">locale</item>
|
||||
<item name="android:ellipsize">end</item>
|
||||
</style>
|
||||
|
||||
<style name="DialogButtonPositive">
|
||||
<item name="android:background">@drawable/dialog_btn_filled</item>
|
||||
<item name="android:textColor">?androidprv:attr/textColorOnAccent</item>
|
||||
<item name="android:textSize">14sp</item>
|
||||
<item name="android:lineHeight">20sp</item>
|
||||
<item name="android:fontFamily">@*android:string/config_bodyFontFamilyMedium</item>
|
||||
<item name="android:stateListAnimator">@null</item>
|
||||
<item name="android:minWidth">0dp</item>
|
||||
</style>
|
||||
|
||||
<style name="DialogButtonNegative">
|
||||
<item name="android:background">@drawable/dialog_btn_outline</item>
|
||||
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
||||
<item name="android:textSize">14sp</item>
|
||||
<item name="android:lineHeight">20sp</item>
|
||||
<item name="android:fontFamily">@*android:string/config_bodyFontFamilyMedium</item>
|
||||
<item name="android:stateListAnimator">@null</item>
|
||||
<item name="android:minWidth">0dp</item>
|
||||
</style>
|
||||
|
||||
<style name="TextStyleMessage">
|
||||
<item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
|
||||
<item name="android:textSize">16dp</item>
|
||||
</style>
|
||||
</resources>
|
||||
26
SettingsLib/res/values/styles_support_preference.xml
Normal file
26
SettingsLib/res/values/styles_support_preference.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2017 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.
|
||||
-->
|
||||
|
||||
<!-- Common style for support lib preference to look like Settings app UI -->
|
||||
<resources>
|
||||
|
||||
<dimen name="preference_no_icon_padding_start">72dp</dimen>
|
||||
|
||||
<style name="PreferenceThemeOverlay.SettingsBase" parent="@style/PreferenceThemeOverlay">
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user