Files
packages_apps_Evolver/res/values/evolution_attrs.xml
Ido Ben-Hur 82ef37b8b6 Evolver: Add OverlaySwitchPreference
OverlaySwitchPreference: Allow disabling an overlay in addition

Will always be toggled to the not state of the main overlay in key
Also improve the switch and allow setting an RRO of package:overlay format

OverlaySwitchPreference: Allow config dkey on night mode only

OverlaySwitchPreference: Fixup wrong defStyleAttr

Added in the move to Compat switch and forgotten behind
2025-06-11 02:36:28 +09:00

32 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2016-2022 crDroid Android Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- ColorPicker -->
<declare-styleable name="ColorPickerPreference">
<attr name="alphaSlider" format="boolean" />
<attr name="showPreview" format="boolean" />
<attr name="showReset" format="boolean" />
<attr name="dividerAbove" format="boolean" />
<attr name="dividerBelow" format="boolean" />
</declare-styleable>
<!-- Base attributes available to CustomSeekBarPreference. -->
<declare-styleable name="CustomSeekBarPreference">
<attr name="defaultValueText" format="string" />
<attr name="interval" format="integer" />
<attr name="showSign" format="boolean" />
<attr name="units" format="string|reference" />
<attr name="continuousUpdates" format="boolean" />
</declare-styleable>
<!-- Base attributes available to OverlaySwitchPreference. -->
<declare-styleable name="OverlaySwitchPreference">
<attr name="dkey" format="string" />
<attr name="dkeyNightOnly" format="boolean" />
</declare-styleable>
</resources>