summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout')
-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
7 files changed, 58 insertions, 23 deletions
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"