refactor(settings): 替换自定义 ToggleButton 为 SwitchButton 并优化默认 launcher 设置逻辑
This commit is contained in:
@@ -1,15 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<declare-styleable name="ToggleButton">
|
||||
<attr name="tbBorderWidth" format="dimension" />
|
||||
<attr name="tbOffBorderColor" format="reference|color" />
|
||||
<attr name="tbOffColor" format="reference|color" />
|
||||
<attr name="tbOnColor" format="reference|color" />
|
||||
<attr name="tbSpotColor" format="reference|color" />
|
||||
<attr name="tbAnimate" format="reference|boolean" />
|
||||
<attr name="tbAsDefaultOn" format="reference|boolean" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="SettingItem">
|
||||
<attr name="optionsText" format="reference|string" />
|
||||
<attr name="optionsTextColor" format="reference|color" />
|
||||
|
||||
Reference in New Issue
Block a user