summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-08 14:27:27 +0300
committerAndrew Dolgov <[email protected]>2021-03-08 14:27:27 +0300
commit61e67e33eceaeaf30d2baa1c909cecc91eb4f765 (patch)
tree32efbba27fa8d9f9efdfce966b6e49e69d2f9eb5 /org.fox.ttrss/src/main/res
parent2f3e8a2897dadf946233a00dc9b222358acdc3dd (diff)
add support for article score in the UI
Diffstat (limited to 'org.fox.ttrss/src/main/res')
-rw-r--r--org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_down.pngbin0 -> 819 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_down_dark.pngbin0 -> 768 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_flat.pngbin0 -> 545 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_flat_dark.pngbin0 -> 549 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_up.pngbin0 -> 858 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_up_dark.pngbin0 -> 753 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_down.pngbin0 -> 501 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_down_dark.pngbin0 -> 486 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_flat.pngbin0 -> 336 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_flat_dark.pngbin0 -> 337 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_up.pngbin0 -> 509 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_up_dark.pngbin0 -> 480 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_down.pngbin0 -> 839 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_down_dark.pngbin0 -> 836 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_flat.pngbin0 -> 617 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_flat_dark.pngbin0 -> 570 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_up.pngbin0 -> 858 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_up_dark.pngbin0 -> 836 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_down.pngbin0 -> 1385 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_down_dark.pngbin0 -> 1351 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_flat.pngbin0 -> 966 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_flat_dark.pngbin0 -> 882 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_up.pngbin0 -> 1415 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_up_dark.pngbin0 -> 1334 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_down.pngbin0 -> 1425 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_down_dark.pngbin0 -> 1403 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_flat.pngbin0 -> 1063 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_flat_dark.pngbin0 -> 1120 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_up.pngbin0 -> 1467 bytes
-rw-r--r--org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_up_dark.pngbin0 -> 1429 bytes
-rw-r--r--org.fox.ttrss/src/main/res/layout/activity_subscribe.xml2
-rwxr-xr-xorg.fox.ttrss/src/main/res/layout/drawer_header.xml5
-rwxr-xr-xorg.fox.ttrss/src/main/res/layout/feeds_row_selected.xml5
-rwxr-xr-xorg.fox.ttrss/src/main/res/layout/feeds_row_toggle.xml3
-rwxr-xr-xorg.fox.ttrss/src/main/res/layout/fragment_article.xml11
-rwxr-xr-xorg.fox.ttrss/src/main/res/layout/headlines_row.xml28
-rwxr-xr-xorg.fox.ttrss/src/main/res/layout/headlines_row_unread.xml27
-rw-r--r--org.fox.ttrss/src/main/res/values-night/style.xml3
-rwxr-xr-xorg.fox.ttrss/src/main/res/values/attrs.xml3
-rwxr-xr-xorg.fox.ttrss/src/main/res/values/strings.xml4
-rwxr-xr-xorg.fox.ttrss/src/main/res/values/style.xml3
41 files changed, 71 insertions, 23 deletions
diff --git a/org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_down.png b/org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_down.png
new file mode 100644
index 00000000..d84624ca
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_down.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_down_dark.png b/org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_down_dark.png
new file mode 100644
index 00000000..1b4e2ac6
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_down_dark.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_flat.png b/org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_flat.png
new file mode 100644
index 00000000..ec65283b
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_flat.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_flat_dark.png b/org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_flat_dark.png
new file mode 100644
index 00000000..d877db05
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_flat_dark.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_up.png b/org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_up.png
new file mode 100644
index 00000000..68945759
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_up.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_up_dark.png b/org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_up_dark.png
new file mode 100644
index 00000000..b3ecbf00
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-hdpi/ic_action_trending_up_dark.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_down.png b/org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_down.png
new file mode 100644
index 00000000..7dcdca0e
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_down.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_down_dark.png b/org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_down_dark.png
new file mode 100644
index 00000000..37ea9a33
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_down_dark.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_flat.png b/org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_flat.png
new file mode 100644
index 00000000..7b47abd1
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_flat.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_flat_dark.png b/org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_flat_dark.png
new file mode 100644
index 00000000..d9251d44
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_flat_dark.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_up.png b/org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_up.png
new file mode 100644
index 00000000..fe3218cf
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_up.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_up_dark.png b/org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_up_dark.png
new file mode 100644
index 00000000..5af3c92e
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-mdpi/ic_action_trending_up_dark.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_down.png b/org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_down.png
new file mode 100644
index 00000000..53ff92a2
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_down.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_down_dark.png b/org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_down_dark.png
new file mode 100644
index 00000000..0f15737f
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_down_dark.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_flat.png b/org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_flat.png
new file mode 100644
index 00000000..33d96f00
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_flat.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_flat_dark.png b/org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_flat_dark.png
new file mode 100644
index 00000000..8c1ea784
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_flat_dark.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_up.png b/org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_up.png
new file mode 100644
index 00000000..33b01737
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_up.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_up_dark.png b/org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_up_dark.png
new file mode 100644
index 00000000..ec479dbf
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-xhdpi/ic_action_trending_up_dark.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_down.png b/org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_down.png
new file mode 100644
index 00000000..c2ec115e
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_down.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_down_dark.png b/org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_down_dark.png
new file mode 100644
index 00000000..02183b60
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_down_dark.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_flat.png b/org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_flat.png
new file mode 100644
index 00000000..7b51ffcc
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_flat.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_flat_dark.png b/org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_flat_dark.png
new file mode 100644
index 00000000..f55069c1
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_flat_dark.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_up.png b/org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_up.png
new file mode 100644
index 00000000..dd732d55
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_up.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_up_dark.png b/org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_up_dark.png
new file mode 100644
index 00000000..f8d6b481
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-xxhdpi/ic_action_trending_up_dark.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_down.png b/org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_down.png
new file mode 100644
index 00000000..ef0c2a10
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_down.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_down_dark.png b/org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_down_dark.png
new file mode 100644
index 00000000..7dd24dcd
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_down_dark.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_flat.png b/org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_flat.png
new file mode 100644
index 00000000..26cffdf5
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_flat.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_flat_dark.png b/org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_flat_dark.png
new file mode 100644
index 00000000..bd78a122
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_flat_dark.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_up.png b/org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_up.png
new file mode 100644
index 00000000..0d020b1f
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_up.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_up_dark.png b/org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_up_dark.png
new file mode 100644
index 00000000..7a750aa4
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/drawable-xxxhdpi/ic_action_trending_up_dark.png
Binary files differ
diff --git a/org.fox.ttrss/src/main/res/layout/activity_subscribe.xml b/org.fox.ttrss/src/main/res/layout/activity_subscribe.xml
index 8027faf4..11a5c334 100644
--- a/org.fox.ttrss/src/main/res/layout/activity_subscribe.xml
+++ b/org.fox.ttrss/src/main/res/layout/activity_subscribe.xml
@@ -59,7 +59,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0.5"
- android:text="Update categories" />
+ android:text="@string/update_categories" />
<Button
style="?android:attr/buttonBarButtonStyle"
diff --git a/org.fox.ttrss/src/main/res/layout/drawer_header.xml b/org.fox.ttrss/src/main/res/layout/drawer_header.xml
index d39cdad0..dd72e68c 100755
--- a/org.fox.ttrss/src/main/res/layout/drawer_header.xml
+++ b/org.fox.ttrss/src/main/res/layout/drawer_header.xml
@@ -2,6 +2,7 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="120dp"
+ xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:weightSum="1"
android:clickable="false">
@@ -47,7 +48,7 @@
android:layout_height="wrap_content"
android:layout_marginLeft="16dp"
android:textColor="@android:color/primary_text_dark"
- android:text="test"
+ tools:text="test"
android:textSize="14sp"
android:textStyle="bold"
@@ -60,7 +61,7 @@
android:textColor="@android:color/primary_text_dark"
android:layout_marginLeft="16dp"
android:layout_marginTop="5dp"
- android:text="example.org"
+ tools:text="example.org"
android:textSize="14sp"
android:textStyle="normal"
diff --git a/org.fox.ttrss/src/main/res/layout/feeds_row_selected.xml b/org.fox.ttrss/src/main/res/layout/feeds_row_selected.xml
index 9e14e56e..a6aa2599 100755
--- a/org.fox.ttrss/src/main/res/layout/feeds_row_selected.xml
+++ b/org.fox.ttrss/src/main/res/layout/feeds_row_selected.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/feeds_row"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -33,7 +34,7 @@
android:ellipsize="end"
android:paddingLeft="35dp"
android:singleLine="true"
- android:text="Feed"
+ tools:text="Feed"
android:paddingBottom="2dp"
android:textColor="?feedlistSelectedTextColor"
android:textSize="14sp" />
@@ -45,7 +46,7 @@
android:layout_height="wrap_content"
android:layout_weight="0"
android:singleLine="true"
- android:text="3200"
+ tools:text="3200"
android:layout_marginLeft="16dp"
android:textColor="?unreadCounterColor"
android:textSize="14sp" />
diff --git a/org.fox.ttrss/src/main/res/layout/feeds_row_toggle.xml b/org.fox.ttrss/src/main/res/layout/feeds_row_toggle.xml
index 86875240..32ef6756 100755
--- a/org.fox.ttrss/src/main/res/layout/feeds_row_toggle.xml
+++ b/org.fox.ttrss/src/main/res/layout/feeds_row_toggle.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/feeds_row"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -31,7 +32,7 @@
android:ellipsize="end"
android:paddingLeft="35dp"
android:singleLine="true"
- android:text="Feed"
+ tools:text="Feed"
android:paddingBottom="2dp"
android:textColor="?feedlistTextColor"
android:textSize="14sp" />
diff --git a/org.fox.ttrss/src/main/res/layout/fragment_article.xml b/org.fox.ttrss/src/main/res/layout/fragment_article.xml
index 0dd14149..eb2511d9 100755
--- a/org.fox.ttrss/src/main/res/layout/fragment_article.xml
+++ b/org.fox.ttrss/src/main/res/layout/fragment_article.xml
@@ -46,6 +46,17 @@
android:textSize="18sp" />
<ImageView
+ android:id="@+id/score"
+ android:layout_width="wrap_content"
+ android:layout_height="24dp"
+ android:layout_weight="0"
+ android:background="@drawable/ripple"
+ android:clickable="true"
+ android:layout_marginLeft="8dp"
+ android:src="?ic_action_trending_flat"
+ android:layout_gravity="center_vertical|right" />
+
+ <ImageView
android:id="@+id/attachments"
android:background="@drawable/ripple"
android:layout_width="wrap_content"
diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row.xml b/org.fox.ttrss/src/main/res/layout/headlines_row.xml
index 97684a94..41f4ee81 100755
--- a/org.fox.ttrss/src/main/res/layout/headlines_row.xml
+++ b/org.fox.ttrss/src/main/res/layout/headlines_row.xml
@@ -3,8 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/headlines_row"
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- tools:ignore="HardcodedText">
+ android:layout_height="wrap_content">
<TableLayout
android:layout_width="fill_parent"
@@ -86,11 +85,10 @@
android:background="@drawable/ripple"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_span="2"
android:gravity="center_vertical"
android:paddingBottom="8dp"
android:singleLine="false"
- android:text="Sample entry title"
+ tools:text="Sample entry title"
android:textColor="?headlineExcerptTextColor"
android:textSize="18sp"
android:textStyle="normal"
@@ -113,7 +111,7 @@
android:fontFamily="sans-serif-light"
android:gravity="center_vertical"
android:singleLine="true"
- android:text="Example Feed AAA AAA AAAAAA AAAA AAAAA AA A A AA AA"
+ tools:text="Example Feed AAA AAA AAAAAA AAAA AAAAA AA A A AA AA"
android:textColor="?headlineSecondaryTextColor"
android:textSize="12sp" />
@@ -126,7 +124,7 @@
android:fontFamily="sans-serif-light"
android:gravity="right|center_vertical"
android:singleLine="true"
- android:text="Jan 01, 12:00, 1970"
+ tools:text="Jan 01, 12:00, 1970"
android:textColor="?headlineSecondaryTextColor"
android:textSize="12sp" />
@@ -165,7 +163,8 @@
android:layout_gravity="bottom|right"
android:elevation="4dp"
android:tint="?colorAccent"
- android:layout_marginBottom="10dp" />
+ android:layout_marginBottom="10dp"
+ tools:targetApi="lollipop" />
</FrameLayout>
</TableRow>
@@ -183,7 +182,7 @@
android:lineSpacingExtra="2sp"
android:maxLines="5"
android:padding="16dp"
- android:text="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
+ tools:text="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
android:textColor="?headlineExcerptTextColor"
android:textSize="13sp" />
</TableRow>
@@ -217,12 +216,23 @@
android:fontFamily="sans-serif-light"
android:gravity="center_vertical"
android:singleLine="true"
- android:text="by Author"
+ tools:text="by Author"
android:textColor="?headlineSecondaryTextColor"
android:textSize="12sp"
android:textStyle="italic" />
<ImageView
+ android:id="@+id/score"
+ android:layout_width="wrap_content"
+ android:layout_height="24dp"
+ android:layout_weight="0"
+ android:background="@drawable/ripple"
+ android:clickable="true"
+ android:paddingLeft="4dp"
+ android:paddingRight="4dp"
+ android:src="?ic_action_trending_flat" />
+
+ <ImageView
android:id="@+id/attachments"
android:layout_width="wrap_content"
android:layout_height="24dp"
diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml b/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml
index d44e016a..02fea821 100755
--- a/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml
+++ b/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml
@@ -4,8 +4,7 @@
android:id="@+id/headlines_row"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:background="?headlineUnreadBackground"
- tools:ignore="HardcodedText">
+ android:background="?headlineUnreadBackground">
<TableLayout
android:layout_width="fill_parent"
@@ -14,7 +13,6 @@
android:shrinkColumns="0,1"
android:stretchColumns="0,1">
-
<TableRow
android:layout_width="fill_parent"
android:layout_height="wrap_content">
@@ -114,7 +112,7 @@
android:fontFamily="sans-serif-light"
android:gravity="center_vertical"
android:singleLine="true"
- android:text="Example Feed AAA AAA AAAAAA AAAA AAAAA AA A A AA AA"
+ tools:text="Example Feed AAA AAA AAAAAA AAAA AAAAA AA A A AA AA"
android:textColor="?headlineSecondaryTextColor"
android:textSize="12sp" />
@@ -127,7 +125,7 @@
android:fontFamily="sans-serif-light"
android:gravity="right|center_vertical"
android:singleLine="true"
- android:text="Jan 01, 12:00, 1970"
+ tools:text="Jan 01, 12:00, 1970"
android:textColor="?headlineSecondaryTextColor"
android:textSize="12sp" />
@@ -163,8 +161,10 @@
android:paddingRight="4dp"
android:src="@drawable/ic_dots_vertical_circle"
android:layout_gravity="bottom|right"
+ android:elevation="4dp"
android:tint="?colorAccent"
- android:layout_marginBottom="10dp" />
+ android:layout_marginBottom="10dp"
+ tools:targetApi="lollipop" />
</FrameLayout>
</TableRow>
@@ -182,7 +182,7 @@
android:lineSpacingExtra="2sp"
android:maxLines="5"
android:padding="16dp"
- android:text="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
+ tools:text="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
android:textColor="?headlineExcerptTextColor"
android:textSize="13sp" />
</TableRow>
@@ -216,12 +216,23 @@
android:fontFamily="sans-serif-light"
android:gravity="center_vertical"
android:singleLine="true"
- android:text="by Author"
+ tools:text="by Author"
android:textColor="?headlineSecondaryTextColor"
android:textSize="12sp"
android:textStyle="italic" />
<ImageView
+ android:id="@+id/score"
+ android:layout_width="wrap_content"
+ android:layout_height="24dp"
+ android:layout_weight="0"
+ android:background="@drawable/ripple"
+ android:clickable="true"
+ android:paddingLeft="4dp"
+ android:paddingRight="4dp"
+ android:src="?ic_action_trending_flat" />
+
+ <ImageView
android:id="@+id/attachments"
android:layout_width="wrap_content"
android:layout_height="24dp"
diff --git a/org.fox.ttrss/src/main/res/values-night/style.xml b/org.fox.ttrss/src/main/res/values-night/style.xml
index e9b143df..3c15a0fd 100644
--- a/org.fox.ttrss/src/main/res/values-night/style.xml
+++ b/org.fox.ttrss/src/main/res/values-night/style.xml
@@ -57,6 +57,9 @@
<item name="ic_dots_vertical_circle">@drawable/ic_dots_vertical_circle</item>
<item name="ic_attachment">@drawable/ic_attachment</item>
<item name="ic_attachment_vert">@drawable/ic_attachment_vert</item>
+ <item name="ic_action_trending_up">@drawable/ic_action_trending_up</item>
+ <item name="ic_action_trending_flat">@drawable/ic_action_trending_flat</item>
+ <item name="ic_action_trending_down">@drawable/ic_action_trending_down</item>
<item name="drawer_header">@drawable/drawer_header_dark</item>
</style>
diff --git a/org.fox.ttrss/src/main/res/values/attrs.xml b/org.fox.ttrss/src/main/res/values/attrs.xml
index cc0f84b6..93892545 100755
--- a/org.fox.ttrss/src/main/res/values/attrs.xml
+++ b/org.fox.ttrss/src/main/res/values/attrs.xml
@@ -53,4 +53,7 @@
<attr name="drawer_header" format="reference" />
<attr name="ic_restore" format="reference" />
<attr name="ic_inbox" format="reference" />
+ <attr name="ic_action_trending_up" format="reference" />
+ <attr name="ic_action_trending_flat" format="reference" />
+ <attr name="ic_action_trending_down" format="reference" />
</resources> \ No newline at end of file
diff --git a/org.fox.ttrss/src/main/res/values/strings.xml b/org.fox.ttrss/src/main/res/values/strings.xml
index ef0013ea..f4d0119c 100755
--- a/org.fox.ttrss/src/main/res/values/strings.xml
+++ b/org.fox.ttrss/src/main/res/values/strings.xml
@@ -293,4 +293,8 @@
<string name="img_share_url">Share URL</string>
<string name="img_share_image">Share image</string>
<string name="img_share_failed_to_load">Failed to load image for sharing</string>
+ <string name="update_categories">Update categories</string>
+ <string name="score_for_this_article">Score for this article</string>
+ <string name="set_score">Set score</string>
+ <string name="score_invalid">Invalid score</string>
</resources>
diff --git a/org.fox.ttrss/src/main/res/values/style.xml b/org.fox.ttrss/src/main/res/values/style.xml
index ecc13527..033a9492 100755
--- a/org.fox.ttrss/src/main/res/values/style.xml
+++ b/org.fox.ttrss/src/main/res/values/style.xml
@@ -63,6 +63,9 @@
<item name="ic_dots_vertical_circle">@drawable/ic_dots_vertical_circle_dark</item>
<item name="ic_attachment">@drawable/ic_attachment_dark</item>
<item name="ic_attachment_vert">@drawable/ic_attachment_vert_dark</item>
+ <item name="ic_action_trending_up">@drawable/ic_action_trending_up_dark</item>
+ <item name="ic_action_trending_flat">@drawable/ic_action_trending_flat_dark</item>
+ <item name="ic_action_trending_down">@drawable/ic_action_trending_down_dark</item>
<item name="drawer_header">@drawable/drawer_header</item>
</style>