fix: 首次提交
This commit is contained in:
52
SettingsLib/SettingsTheme/res/values-v31/styles.xml
Normal file
52
SettingsLib/SettingsTheme/res/values-v31/styles.xml
Normal file
@@ -0,0 +1,52 @@
|
||||
<?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>
|
||||
<style name="TextAppearance.PreferenceTitle.SettingsLib"
|
||||
parent="@android:style/TextAppearance.Material.Subhead">
|
||||
<item name="android:textColor">@color/settingslib_text_color_primary</item>
|
||||
<item name="android:fontFamily">@string/settingslib_config_headlineFontFamily</item>
|
||||
<item name="android:textSize">20sp</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.PreferenceSummary.SettingsLib"
|
||||
parent="@android:style/TextAppearance.DeviceDefault.Small">
|
||||
<item name="android:textColor">@color/settingslib_text_color_secondary</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.CategoryTitle.SettingsLib"
|
||||
parent="@android:style/TextAppearance.DeviceDefault.Medium">
|
||||
<item name="android:textColor">@color/settingslib_text_color_preference_category_title</item>
|
||||
<item name="android:textSize">14sp</item>
|
||||
</style>
|
||||
|
||||
<style name="Switch.SettingsLib" parent="@android:style/Widget.Material.CompoundButton.Switch">
|
||||
<item name="android:minHeight">@dimen/settingslib_preferred_minimum_touch_target</item>
|
||||
<item name="android:track">@drawable/settingslib_switch_track</item>
|
||||
<item name="android:thumb">@drawable/settingslib_switch_thumb</item>
|
||||
</style>
|
||||
|
||||
<style name="SwitchCompat.SettingsLib" parent="@style/Widget.AppCompat.CompoundButton.Switch">
|
||||
<item name="android:minHeight">@dimen/settingslib_preferred_minimum_touch_target</item>
|
||||
<item name="track">@drawable/settingslib_switch_track</item>
|
||||
<item name="android:thumb">@drawable/settingslib_switch_thumb</item>
|
||||
</style>
|
||||
|
||||
<style name="HorizontalProgressBar.SettingsLib"
|
||||
parent="android:style/Widget.Material.ProgressBar.Horizontal">
|
||||
<item name="android:progressDrawable">@drawable/settingslib_progress_horizontal</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user