精简代码
This commit is contained in:
@@ -1,20 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<attr name="colorPrimary" format="color" />
|
||||
<attr name="colorPrimaryDark" format="color" />
|
||||
<attr name="colorAccent" format="color" />
|
||||
<attr name="colorText" format="color" />
|
||||
|
||||
|
||||
<attr name="globalCrashActivity" format="reference"/>
|
||||
<!--<attr name="attrPrimary" format="color" />
|
||||
<attr name="attrPrimaryDark" format="color" />
|
||||
<attr name="attrAccent" format="color" />-->
|
||||
|
||||
<declare-styleable name="GlobalCrashActivity">
|
||||
<attr name="attrPrimary" format="color" />
|
||||
<attr name="attrPrimaryDark" format="color" />
|
||||
<attr name="attrAccent" format="color" />
|
||||
<attr name="attrText" format="color" />
|
||||
<attr name="colorTittle" format="color" />
|
||||
<attr name="colorTittleBackgound" format="color" />
|
||||
<attr name="colorText" format="color" />
|
||||
<attr name="colorTextBackgound" format="color" />
|
||||
</declare-styleable>
|
||||
</resources>
|
||||
|
||||
@@ -1,20 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="APPBaseTheme" parent="@android:style/Theme.Holo.Light.NoActionBar">
|
||||
<item name="colorPrimary">#FF3C4CE3</item>
|
||||
<item name="colorPrimaryDark">#FF3C4CE3</item>
|
||||
<item name="colorAccent">#FF3C4CE3</item>
|
||||
<item name="attrPrimary">#FF00B322</item>
|
||||
<item name="attrPrimaryDark">#FF000000</item>
|
||||
<item name="attrAccent">#FFFFF600</item>
|
||||
<item name="attrText">#FF00FF31</item>
|
||||
<item name="globalCrashActivity">@style/GlobalCrashActivity</item>
|
||||
<item name="colorTittle">#FFFFF600</item>
|
||||
<item name="colorTittleBackgound">#FF00B322</item>
|
||||
<item name="colorText">#FF00B322</item>
|
||||
<item name="colorTextBackgound">#FF000000</item>
|
||||
</style>
|
||||
|
||||
<style name="GlobalCrashActivity">
|
||||
<item name="attrPrimary">?attr/colorPrimary</item>
|
||||
<item name="attrPrimaryDark">?attr/colorPrimaryDark</item>
|
||||
<item name="attrAccent">?attr/colorAccent</item>
|
||||
<item name="attrText">?attr/colorText</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user