Make log background themeable

This commit is contained in:
Thialfihar 2015-06-26 11:36:03 +02:00
parent 0f6acbd030
commit 9f3ecf6bc0
4 changed files with 7 additions and 4 deletions

View file

@ -15,7 +15,7 @@
android:layout_height="match_parent"
android:id="@+id/log_img"
android:minWidth="10dp"
android:background="@color/bg_gray" />
android:background="?attr/colorLogBackground" />
<TextView
android:layout_width="0dp"
@ -53,7 +53,7 @@
android:layout_height="match_parent"
android:id="@+id/log_second_img"
android:minWidth="10dp"
android:background="@color/bg_gray" />
android:background="?attr/colorLogBackground" />
<TextView
android:layout_width="0dp"
@ -67,4 +67,4 @@
android:layout_gravity="center_vertical"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>

View file

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

View file

@ -4,7 +4,7 @@
<color name="icons">#FFFFFF</color>
<color name="transparent">#00FFFFFF</color>
<color name="bg_gray">#cecbce</color>
<color name="bg_gray">#00ff00</color>
<!-- tabs -->
<color name="tab_text">#70FFFFFF</color>

View file

@ -15,6 +15,7 @@
<item name="colorHeaderText">#212121</item>
<item name="colorTertiaryText">#808080</item>
<item name="colorButtonRow">#33cccccc</item>
<item name="colorLogBackground">#cecbce</item>
<!-- remove actionbar and title, we use toolbar! -->
<item name="windowNoTitle">true</item>
@ -38,6 +39,7 @@
<item name="colorHeaderText">#a0a0a0</item>
<item name="colorTertiaryText">#808080</item>
<item name="colorButtonRow">#33cccccc</item>
<item name="colorLogBackground">#303030</item>
<!-- remove actionbar and title, we use toolbar! -->
<item name="windowNoTitle">true</item>