This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
android_packages_apps_Cherish/res/values/cherish_attrs.xml
Josh Fox (XlxFoXxlX) e02805e3aa Cherish: Add ColorSelectPreference
pulled from Omnilib repo from omnirom for history/authors check
https://github.com/omnirom/android_packages_apps_OmniLib/commits/android-10

Change-Id: I5999c551ce0273f5c3b25ff45179a10a9969bbe8
2020-09-06 21:20:28 +07:00

38 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 The Pure Nexus 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>
<!-- Base attributes available to CustomSeekBarPreference. -->
<declare-styleable name="CustomSeekBarPreference">
<attr name="interval" format="integer" />
<attr name="min" format="integer" />
<attr name="units" format="string|reference" />
<attr name="defaultText" format="string|reference" />
</declare-styleable>
<!-- Value to pass to callback when restore button is pressed -->
<declare-styleable name="ColorPickerPreference">
<attr name="defaultColorValue" format="integer" />
<attr name="ledPreview" format="boolean" />
<attr name="alphaSlider" format="boolean" />
</declare-styleable>
<declare-styleable name="ColorSelectPreference">
<attr name="ledPreview" format="boolean" />
<attr name="multiColor" format="boolean" />
<attr name="withAlpha" format="boolean" />
</declare-styleable>
</resources>