Dark theme for comment dividers

This commit is contained in:
Mark Anderson 2014-08-06 22:09:20 +01:00
parent 9b2ae3568d
commit 9458e3eca5
6 changed files with 14 additions and 2 deletions

View file

@ -142,6 +142,6 @@
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginBottom="5dp"
android:background="@color/story_comment_divider" />
style="?storyCommentDivider" />
</LinearLayout>

View file

@ -16,7 +16,7 @@
android:layout_height="1dp"
android:layout_alignParentTop="true"
android:layout_marginBottom="10dp"
android:background="@color/story_comment_divider" />
style="?storyCommentDivider" />
<ImageView
android:id="@+id/reply_user_image"

View file

@ -26,6 +26,7 @@
<attr name="profileCount" format="string" />
<attr name="profileActivityList" format="string" />
<attr name="itemHeaderDivider" format="string" />
<attr name="storyCommentDivider" format="string" />
<declare-styleable name="FlowLayout">
<attr name="flow" />

View file

@ -53,6 +53,7 @@
<color name="dark_story_date_unread">#DFDDCF</color>
<color name="story_date_read">#BABDD1</color>
<color name="story_comment_divider">#F0F0F0</color>
<color name="dark_story_comment_divider">#42453E</color>
<color name="twitter_blue">#4099FF</color>
<color name="facebook_blue">#3B5998</color>

View file

@ -241,4 +241,12 @@
<style name="itemHeaderDivider.dark">
<item name="android:background">@drawable/dark_divider_item_header</item>
</style>
<style name="storyCommentDivider">
<item name="android:background">@color/story_comment_divider</item>
</style>
<style name="storyCommentDivider.dark">
<item name="android:background">@color/dark_story_comment_divider</item>
</style>
</resources>

View file

@ -27,6 +27,7 @@
<item name="profileCount">@style/profileCount</item>
<item name="profileActivityList">@style/profileActivityList</item>
<item name="itemHeaderDivider">@style/itemHeaderDivider</item>
<item name="storyCommentDivider">@style/storyCommentDivider</item>
</style>
<style name="NewsBlurDarkTheme" parent="@android:style/Theme.Holo" >
@ -56,5 +57,6 @@
<item name="profileCount">@style/profileCount.dark</item>
<item name="profileActivityList">@style/profileActivityList.dark</item>
<item name="itemHeaderDivider">@style/itemHeaderDivider.dark</item>
<item name="storyCommentDivider">@style/storyCommentDivider.dark</item>
</style>
</resources>