some dark theme layout tweaks
This commit is contained in:
parent
2ce95a47a7
commit
0c5f68c079
BIN
res/drawable-hdpi/ics_divider_vertical_bitmap.png
Normal file
BIN
res/drawable-hdpi/ics_divider_vertical_bitmap.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 936 B |
5
res/drawable/ics_divider_vertical.xml
Normal file
5
res/drawable/ics_divider_vertical.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<bitmap
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:src="@drawable/ics_divider_vertical_bitmap"
|
||||
android:gravity="fill_vertical|right" />
|
@ -35,7 +35,7 @@
|
||||
android:id="@+id/article_fragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:background="?articleHeader"
|
||||
android:background="?articleBackground"
|
||||
android:layout_weight="0.5" >
|
||||
</FrameLayout>
|
||||
</LinearLayout>
|
||||
|
@ -31,7 +31,7 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.6"
|
||||
android:background="?articleHeader" >
|
||||
android:background="?articleBackground" >
|
||||
</FrameLayout>
|
||||
</LinearLayout>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<item name="unreadCounterColor">#0000ff</item>
|
||||
<item name="headlinesBackground"><!-- #f0f0f0 -->@drawable/shadow_headlines</item>
|
||||
<item name="headlinesBackgroundSolid">#f0f0f0</item>
|
||||
<item name="articleHeader">#ffffff</item>
|
||||
<item name="articleBackground">#ffffff</item>
|
||||
<item name="headlineSelectedBackground">#ffffff</item>
|
||||
<item name="headlineUnreadBackground">@android:color/transparent</item>
|
||||
<item name="headlineNormalBackground">@android:color/transparent</item>
|
||||
@ -22,15 +22,15 @@
|
||||
|
||||
<style name="DarkTheme" parent="android:Theme.Holo">
|
||||
<item name="horizontalDivider">@android:drawable/divider_horizontal_dark</item>
|
||||
<item name="feedlistBackground">@android:color/transparent</item>
|
||||
<item name="feedlistBackground">@drawable/ics_divider_vertical</item>
|
||||
<item name="unreadCounterColor">#303030</item>
|
||||
<item name="headlinesBackground">#101010</item>
|
||||
<item name="headlinesBackgroundSolid">#101010</item>
|
||||
<item name="articleHeader">@android:color/transparent</item>
|
||||
<item name="headlineSelectedBackground">#33b5e5</item>
|
||||
<item name="headlinesBackground">@drawable/ics_divider_vertical</item>
|
||||
<item name="headlinesBackgroundSolid">@android:color/transparent</item>
|
||||
<item name="articleBackground">@android:color/transparent</item>
|
||||
<item name="headlineSelectedBackground">@color/ics_cyan</item>
|
||||
<item name="headlineUnreadBackground">@android:color/transparent</item>
|
||||
<item name="headlineNormalBackground">@android:color/transparent</item>
|
||||
<item name="feedsSelectedBackground">#33b5e5</item>
|
||||
<item name="feedsSelectedBackground">@color/ics_cyan</item>
|
||||
<item name="feedlistTextColor">@android:color/primary_text_dark</item>
|
||||
<item name="feedlistSelectedTextColor">@android:color/black</item>
|
||||
<item name="headlineTextColor">@android:color/secondary_text_dark</item>
|
||||
@ -38,7 +38,7 @@
|
||||
<item name="headlineSelectedTextColor">@android:color/black</item>
|
||||
<item name="headlineExcerptTextColor">@android:color/secondary_text_dark</item>
|
||||
<item name="headlineSelectedExcerptTextColor">@android:color/black</item>
|
||||
<item name="linkColor">#33b5e5</item>
|
||||
<item name="linkColor">@color/ics_cyan</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
@ -5,7 +5,7 @@
|
||||
<attr name="unreadCounterColor" format="reference|color" />
|
||||
<attr name="headlinesBackground" format="reference|color" />
|
||||
<attr name="headlinesBackgroundSolid" format="reference|color" />
|
||||
<attr name="articleHeader" format="reference|color" />
|
||||
<attr name="articleBackground" format="reference|color" />
|
||||
<attr name="headlineSelectedBackground" format="reference|color" />
|
||||
<attr name="headlineUnreadBackground" format="reference|color" />
|
||||
<attr name="headlineNormalBackground" format="reference|color" />
|
||||
|
@ -3,5 +3,6 @@
|
||||
|
||||
<color name="feeds_light">#e0e0e0</color>
|
||||
<color name="headlines_light">#f0f0f0</color>
|
||||
<color name="ics_cyan">#33b5e5</color>
|
||||
|
||||
</resources>
|
@ -6,7 +6,7 @@
|
||||
<item name="unreadCounterColor">#0000ff</item>
|
||||
<item name="headlinesBackground">#ffffff</item>
|
||||
<item name="headlinesBackgroundSolid">#ffffff</item>
|
||||
<item name="articleHeader">@android:color/transparent</item>
|
||||
<item name="articleBackground">@android:color/transparent</item>
|
||||
<item name="headlineSelectedBackground">#fff7d5</item>
|
||||
<item name="headlineUnreadBackground">#ffffff</item>
|
||||
<item name="headlineNormalBackground">#f0f0f0</item>
|
||||
@ -27,7 +27,7 @@
|
||||
<item name="unreadCounterColor">#303030</item>
|
||||
<item name="headlinesBackground">#000000</item>
|
||||
<item name="headlinesBackgroundSolid">#000000</item>
|
||||
<item name="articleHeader">@android:color/transparent</item>
|
||||
<item name="articleBackground">@android:color/transparent</item>
|
||||
<item name="headlineSelectedBackground">#F5B800</item>
|
||||
<item name="headlineUnreadBackground">#303030</item>
|
||||
<item name="headlineNormalBackground">@android:color/transparent</item>
|
||||
|
Loading…
Reference in New Issue
Block a user