aboutsummaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout/feeds_row.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2025-05-06 19:58:35 +0300
committerAndrew Dolgov <fox@fakecake.org>2025-05-06 19:58:35 +0300
commit97e92defd99b4d9b4bbb85a6a7170a70b05cae75 (patch)
treefbd9f67d404266beba751232994c0eed6ec89f36 /org.fox.ttrss/src/main/res/layout/feeds_row.xml
parenteec72cb0137d01011620bdca9d51dcb8de81cf44 (diff)
drawer style tweaks
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout/feeds_row.xml')
-rwxr-xr-xorg.fox.ttrss/src/main/res/layout/feeds_row.xml116
1 files changed, 58 insertions, 58 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/feeds_row.xml b/org.fox.ttrss/src/main/res/layout/feeds_row.xml
index 6b980382..cfdc284d 100755
--- a/org.fox.ttrss/src/main/res/layout/feeds_row.xml
+++ b/org.fox.ttrss/src/main/res/layout/feeds_row.xml
@@ -1,64 +1,64 @@
<?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"
- android:descendantFocusability="blocksDescendants"
- android:paddingLeft="16dp"
- android:paddingRight="16dp"
- android:paddingTop="8dp"
- android:paddingBottom="8dp"
- android:baselineAligned="true"
- android:gravity="center_vertical"
- android:orientation="horizontal">
-
- <ImageView
- android:id="@+id/icon"
- android:layout_gravity="center_vertical"
- android:layout_width="21dp"
- android:layout_height="21dp"
- android:layout_weight="0"
- android:scaleType="fitXY"
- android:src="?ic_rss_box" />
-
- <TextView
- android:id="@+id/title"
- android:fontFamily="sans-serif-medium"
- android:layout_width="wrap_content"
+ <LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:id="@+id/feeds_row"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:descendantFocusability="blocksDescendants"
+ android:paddingLeft="16dp"
+ android:paddingRight="16dp"
+ android:paddingTop="8dp"
+ android:paddingBottom="8dp"
+ android:baselineAligned="true"
android:gravity="center_vertical"
- android:layout_weight="1"
- android:ellipsize="middle"
- android:paddingStart="35dp"
- android:paddingEnd="16dp"
- android:singleLine="true"
- tools:text="Feed title"
- android:textAlignment="viewStart"
- android:paddingBottom="2dp"
- android:textColor="?feedlistTextColor"
- android:textSize="14sp" />
+ android:orientation="horizontal">
- <TextView
- android:id="@+id/unread_counter"
- android:fontFamily="sans-serif-medium"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="0"
- android:textAlignment="viewEnd"
- android:singleLine="true"
- tools:text="3200"
- android:textColor="?colorOnPrimaryContainer"
- android:textSize="14sp" />
+ <ImageView
+ android:id="@+id/icon"
+ android:layout_gravity="center_vertical"
+ android:layout_width="21dp"
+ android:layout_height="21dp"
+ android:layout_weight="0"
+ android:scaleType="fitXY"
+ android:src="?ic_rss_box" />
- <!-- <ImageButton
- android:id="@+id/feed_menu_button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="0"
- android:background="@null"
- android:paddingLeft="8dp"
- android:visibility="gone"
- android:src="?ic_dots_vertical" /> -->
+ <TextView
+ android:id="@+id/title"
+ android:fontFamily="sans-serif-medium"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_gravity="center_vertical"
+ android:ellipsize="middle"
+ android:paddingStart="16dp"
+ android:paddingEnd="16dp"
+ android:singleLine="true"
+ tools:text="Feed title"
+ android:textColor="?feedlistTextColor"
+ android:textSize="14sp" />
+
+ <TextView
+ android:id="@+id/unread_counter"
+ android:fontFamily="sans-serif-medium"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="0"
+ android:textAlignment="viewEnd"
+ android:singleLine="true"
+ tools:text="3200"
+ android:textColor="?colorAccent"
+ android:textSize="14sp" />
+
+ <!-- <ImageButton
+ android:id="@+id/feed_menu_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="0"
+ android:background="@null"
+ android:paddingLeft="8dp"
+ android:visibility="gone"
+ android:src="?ic_dots_vertical" /> -->
-</LinearLayout> \ No newline at end of file
+ </LinearLayout>