aboutsummaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout/headlines_row.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2025-05-06 12:13:14 +0300
committerAndrew Dolgov <fox@fakecake.org>2025-05-06 12:13:14 +0300
commit78155e9c3640b5ada6f2c5982db01fb0ea7e768b (patch)
tree7fcc9881645df018110ad0290428f95f882a8c39 /org.fox.ttrss/src/main/res/layout/headlines_row.xml
parente3f504940d98377de3d7eab5e938c806d67fe8e2 (diff)
switch to material3 theme, switch some headline imageviews to material buttons, theme cleanup
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout/headlines_row.xml')
-rwxr-xr-xorg.fox.ttrss/src/main/res/layout/headlines_row.xml26
1 files changed, 16 insertions, 10 deletions
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 2e997e2c..f2057b8f 100755
--- a/org.fox.ttrss/src/main/res/layout/headlines_row.xml
+++ b/org.fox.ttrss/src/main/res/layout/headlines_row.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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/headlines_row"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
@@ -226,7 +227,8 @@
android:textSize="12sp"
android:textStyle="italic" />
- <ImageView
+ <com.google.android.material.button.MaterialButton
+ style="?attr/materialIconButtonStyle"
android:id="@+id/score"
android:layout_width="wrap_content"
android:layout_height="24dp"
@@ -235,9 +237,10 @@
android:clickable="true"
android:paddingLeft="4dp"
android:paddingRight="4dp"
- android:src="?ic_action_trending_flat" />
+ app:icon="?ic_action_trending_flat" />
- <ImageView
+ <com.google.android.material.button.MaterialButton
+ style="?attr/materialIconButtonStyle"
android:id="@+id/attachments"
android:layout_width="wrap_content"
android:layout_height="24dp"
@@ -246,9 +249,10 @@
android:clickable="true"
android:paddingLeft="4dp"
android:paddingRight="4dp"
- android:src="?ic_attachment" />
+ app:icon="?ic_attachment" />
- <ImageView
+ <com.google.android.material.button.MaterialButton
+ style="?attr/materialIconButtonStyle"
android:id="@+id/marked"
android:layout_width="wrap_content"
android:layout_height="24dp"
@@ -257,9 +261,10 @@
android:clickable="true"
android:paddingLeft="4dp"
android:paddingRight="4dp"
- android:src="?ic_star_outline" />
+ app:icon="?ic_star_outline" />
- <ImageView
+ <com.google.android.material.button.MaterialButton
+ style="?attr/materialIconButtonStyle"
android:id="@+id/published"
android:layout_width="wrap_content"
android:layout_height="24dp"
@@ -268,9 +273,10 @@
android:clickable="true"
android:paddingLeft="4dp"
android:paddingRight="4dp"
- android:src="?ic_rss_box" />
+ app:icon="?ic_rss_box" />
- <ImageView
+ <com.google.android.material.button.MaterialButton
+ style="?attr/materialIconButtonStyle"
android:id="@+id/article_menu_button"
android:layout_width="wrap_content"
android:layout_height="24dp"
@@ -278,7 +284,7 @@
android:background="@drawable/ripple"
android:paddingLeft="4dp"
android:paddingRight="4dp"
- android:src="?ic_dots_vertical" />
+ app:icon="?ic_dots_vertical" />
</LinearLayout>
</TableRow>
</TableLayout>