fixed crash on api < 21 due to drawable using attrs

This commit is contained in:
Adithya Abraham Philip
2015-08-06 00:20:48 +05:30
parent 7086a67c2e
commit f17dabce8c
7 changed files with 35 additions and 12 deletions

View File

@@ -3,19 +3,20 @@
<declare-styleable name="CustomTheme">
<attr name="colorFab" format="color" />
<attr name="colorFabPressed" format="color" />
<attr name="colorFabBackground" format="color" />
<attr name="fabLabelBackgroundDrawable" format="reference" />
<attr name="colorFabText" format="color" />
<attr name="colorEmphasis" format="color" />
<attr name="colorHeaderText" format="color" />
<attr name="colorTertiaryText" format="color" />
<attr name="colorButtonRow" format="color" />
<attr name="colorLogBackground" format="color" />
<attr name="colorCardViewHeaderDivider" format="color" />
<attr name="cardViewHeaderDrawable" format="reference" />
<attr name="colorText" format="color" />
<attr name="colorBrightToolbar" format="color" />
<attr name="colorCardViewBackground" format="color" />
<attr name="colorTabText" format="color" />
<attr name="colorTabTextSelected" format="color" />
<attr name="colorTabIndicator" format="color" />
<attr name="sectionHeaderDrawable" format="reference" />
</declare-styleable>
</resources>