Make cardview header divider themeable

This commit is contained in:
Thialfihar
2015-06-26 11:46:44 +02:00
parent 9f3ecf6bc0
commit 6b8127ca94
3 changed files with 5 additions and 2 deletions

View File

@@ -6,6 +6,6 @@
android:height="1dp" android:height="1dp"
android:width="1000dp" /> android:width="1000dp" />
<solid android:color="@color/bg_gray" /> <solid android:color="?attr/colorCardViewHeaderDivider" />
</shape> </shape>

View File

@@ -10,5 +10,6 @@
<attr name="colorTertiaryText" format="color" /> <attr name="colorTertiaryText" format="color" />
<attr name="colorButtonRow" format="color" /> <attr name="colorButtonRow" format="color" />
<attr name="colorLogBackground" format="color" /> <attr name="colorLogBackground" format="color" />
<attr name="colorCardViewHeaderDivider" format="color" />
</declare-styleable> </declare-styleable>
</resources> </resources>

View File

@@ -16,6 +16,7 @@
<item name="colorTertiaryText">#808080</item> <item name="colorTertiaryText">#808080</item>
<item name="colorButtonRow">#33cccccc</item> <item name="colorButtonRow">#33cccccc</item>
<item name="colorLogBackground">#cecbce</item> <item name="colorLogBackground">#cecbce</item>
<item name="colorCardViewHeaderDivider">#808080</item>
<!-- remove actionbar and title, we use toolbar! --> <!-- remove actionbar and title, we use toolbar! -->
<item name="windowNoTitle">true</item> <item name="windowNoTitle">true</item>
@@ -40,6 +41,7 @@
<item name="colorTertiaryText">#808080</item> <item name="colorTertiaryText">#808080</item>
<item name="colorButtonRow">#33cccccc</item> <item name="colorButtonRow">#33cccccc</item>
<item name="colorLogBackground">#303030</item> <item name="colorLogBackground">#303030</item>
<item name="colorCardViewHeaderDivider">#808080</item>
<!-- remove actionbar and title, we use toolbar! --> <!-- remove actionbar and title, we use toolbar! -->
<item name="windowNoTitle">true</item> <item name="windowNoTitle">true</item>