mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
New unread count rectangle colors - #182
This commit is contained in:
parent
a391e565f1
commit
6efd51576a
8 changed files with 96 additions and 34 deletions
|
@ -1,5 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
|
||||
<corners android:radius="3dp" />
|
||||
<solid android:color="@color/neutral" />
|
||||
</shape>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- Drop Shadow -->
|
||||
<item>
|
||||
<shape>
|
||||
<padding android:bottom="1dp" />
|
||||
<solid android:color="@color/neutral_drop_shadow" />
|
||||
<corners android:radius="5dp" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
<!-- Background -->
|
||||
<item>
|
||||
<shape>
|
||||
<solid android:color="@color/neutral" />
|
||||
<corners android:radius="5dp" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
</layer-list>
|
|
@ -1,5 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
|
||||
<solid android:color="@color/positive"/>
|
||||
<corners android:radius="3dp" />
|
||||
</shape>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- Drop Shadow -->
|
||||
<item>
|
||||
<shape>
|
||||
<padding android:bottom="1dp" />
|
||||
<solid android:color="@color/positive_drop_shadow" />
|
||||
<corners android:radius="5dp" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
<!-- Background -->
|
||||
<item>
|
||||
<shape>
|
||||
<solid android:color="@color/positive" />
|
||||
<corners android:radius="5dp" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
</layer-list>
|
|
@ -41,8 +41,11 @@
|
|||
android:background="@drawable/neutral_count_rect"
|
||||
android:gravity="center"
|
||||
android:padding="5dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="14dp"
|
||||
android:shadowColor="@color/neutral_drop_shadow"
|
||||
android:shadowDy="1"
|
||||
android:shadowRadius="1"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
|
@ -53,8 +56,11 @@
|
|||
android:background="@drawable/positive_count_rect"
|
||||
android:gravity="center"
|
||||
android:padding="5dp"
|
||||
android:shadowColor="@color/positive_drop_shadow"
|
||||
android:shadowDy="1"
|
||||
android:shadowRadius="1"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14dp"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
@ -44,8 +44,11 @@
|
|||
android:background="@drawable/neutral_count_rect"
|
||||
android:gravity="center"
|
||||
android:padding="5dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="14dp"
|
||||
android:shadowColor="@color/neutral_drop_shadow"
|
||||
android:shadowDy="1"
|
||||
android:shadowRadius="1"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
|
@ -56,8 +59,11 @@
|
|||
android:background="@drawable/positive_count_rect"
|
||||
android:gravity="center"
|
||||
android:padding="5dp"
|
||||
android:shadowColor="@color/positive_drop_shadow"
|
||||
android:shadowDy="1"
|
||||
android:shadowRadius="1"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14dp"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
@ -27,7 +27,10 @@
|
|||
android:gravity="center"
|
||||
android:paddingLeft="3dp"
|
||||
android:paddingRight="3dp"
|
||||
android:textColor="@color/black"
|
||||
android:shadowColor="@color/neutral_drop_shadow"
|
||||
android:shadowDy="1"
|
||||
android:shadowRadius="1"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
|
@ -40,6 +43,9 @@
|
|||
android:gravity="center"
|
||||
android:paddingLeft="4dp"
|
||||
android:paddingRight="4dp"
|
||||
android:shadowColor="@color/positive_drop_shadow"
|
||||
android:shadowDy="1"
|
||||
android:shadowRadius="1"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
|
|
|
@ -26,12 +26,12 @@
|
|||
android:src="@drawable/indicator_collapsed" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/row_foldersums"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="38dp" >
|
||||
android:id="@+id/row_foldersums"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="38dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/row_foldersumneu"
|
||||
|
@ -41,7 +41,10 @@
|
|||
android:background="@drawable/neutral_count_rect"
|
||||
android:gravity="center"
|
||||
android:padding="5dp"
|
||||
android:textColor="@color/black"
|
||||
android:shadowColor="@color/neutral_drop_shadow"
|
||||
android:shadowDy="1"
|
||||
android:shadowRadius="1"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
|
@ -53,6 +56,9 @@
|
|||
android:background="@drawable/positive_count_rect"
|
||||
android:gravity="center"
|
||||
android:padding="5dp"
|
||||
android:shadowColor="@color/positive_drop_shadow"
|
||||
android:shadowDy="1"
|
||||
android:shadowRadius="1"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
|
|
|
@ -21,10 +21,13 @@
|
|||
android:layout_marginRight="5dp"
|
||||
android:background="@drawable/neutral_count_rect"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="14sp"
|
||||
android:paddingLeft="4dp"
|
||||
android:paddingRight="4dp"
|
||||
android:shadowColor="@color/neutral_drop_shadow"
|
||||
android:shadowDy="1"
|
||||
android:shadowRadius="1"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
|
@ -34,6 +37,9 @@
|
|||
android:layout_marginRight="5dp"
|
||||
android:background="@drawable/positive_count_rect"
|
||||
android:gravity="center"
|
||||
android:shadowColor="@color/positive_drop_shadow"
|
||||
android:shadowDy="1"
|
||||
android:shadowRadius="1"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp"
|
||||
android:paddingLeft="4dp"
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<color name="lightgray">#ccc</color>
|
||||
<color name="lightorange">#d98800</color>
|
||||
<color name="darkorange">#b44a00</color>
|
||||
|
||||
|
||||
<color name="folder_background">#D7DDE6</color>
|
||||
<color name="folder_text">#4C4C4C</color>
|
||||
<color name="feed_background">#F2F2F2</color>
|
||||
|
@ -41,19 +41,22 @@
|
|||
<color name="half_darkgray">#77434343</color>
|
||||
<color name="half_lightgray">#77dddddd</color>
|
||||
|
||||
<color name="positive">#47730B</color>
|
||||
<color name="positive_read">#C5D4BC</color>
|
||||
<color name="positive">#6EA74A</color>
|
||||
<color name="positive_drop_shadow">#417E53</color>
|
||||
<color name="positive_read">#A8CA92</color>
|
||||
|
||||
<color name="highlight">#d2e6fd</color>
|
||||
|
||||
<color name="darkneutral">#C59A00</color>
|
||||
<color name="neutral">#F5A90C</color>
|
||||
<color name="neutral_read">#F4E7C3</color>
|
||||
<color name="neutral">#B3B6AD</color>
|
||||
<color name="neutral_drop_shadow">#93968D</color>
|
||||
<color name="neutral_read">#CACCC6</color>
|
||||
|
||||
<color name="linkblue">#405BA8</color>
|
||||
|
||||
<color name="negative">#DE0000</color>
|
||||
<color name="darknegative">#B20000</color>
|
||||
<color name="negative">#CC2A2E</color>
|
||||
<color name="negative_drop_shadow">#A32225</color>
|
||||
<color name="darknegative">#D65558</color>
|
||||
|
||||
<color name="tag_red">#D2A1A1</color>
|
||||
<color name="tag_green">#BECCA4</color>
|
||||
|
@ -62,7 +65,4 @@
|
|||
<color name="half_newsblur_blue">#770b445a</color>
|
||||
<color name="newsblur_blue">#0b445a</color>
|
||||
<color name="light_newsblur_blue">#47A2C4</color>
|
||||
|
||||
|
||||
|
||||
</resources>
|
Loading…
Add table
Reference in a new issue