aboutsummaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2025-05-06 13:04:28 +0300
committerAndrew Dolgov <fox@fakecake.org>2025-05-06 13:04:28 +0300
commit73f8dac69f24ba8e07b08a79b393cd64e13907e9 (patch)
tree75be8cc1b1230764181ad0659ea88eff6883b437 /org.fox.ttrss/src/main/res/layout
parente4fa3f1c1084a7527216831d856942c37072aa01 (diff)
switch some more imageviews to material buttons and drop hardcoded article background preferring material3 default
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout')
-rw-r--r--org.fox.ttrss/src/main/res/layout/activity_detail_phone.xml3
-rwxr-xr-xorg.fox.ttrss/src/main/res/layout/fragment_article.xml19
2 files changed, 11 insertions, 11 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/activity_detail_phone.xml b/org.fox.ttrss/src/main/res/layout/activity_detail_phone.xml
index 6d9a8dbd..ddffc89e 100644
--- a/org.fox.ttrss/src/main/res/layout/activity_detail_phone.xml
+++ b/org.fox.ttrss/src/main/res/layout/activity_detail_phone.xml
@@ -31,8 +31,7 @@
android:id="@+id/article_fragment"
app:layout_behavior=".util.DetailActivityScrollingViewBehavior"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="?articleBackground">
+ android:layout_height="wrap_content">
</FrameLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
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 61215a40..cffc7c33 100755
--- a/org.fox.ttrss/src/main/res/layout/fragment_article.xml
+++ b/org.fox.ttrss/src/main/res/layout/fragment_article.xml
@@ -3,8 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/article_fragment"
android:layout_width="fill_parent"
- android:layout_height="match_parent"
- android:background="?articleBackground">
+ android:layout_height="match_parent">
<FrameLayout
android:id="@+id/article_fullscreen_video"
@@ -17,7 +16,6 @@
android:layout_height="wrap_content">
<com.google.android.material.appbar.AppBarLayout
- android:background="?articleHeader"
android:elevation="0dp"
app:elevation="0dp"
android:layout_width="match_parent"
@@ -51,7 +49,8 @@
android:layout_marginRight="8dp"
android:gravity="start" />
- <ImageView
+ <com.google.android.material.button.MaterialButton
+ style="?attr/materialIconButtonStyle"
android:id="@+id/score"
android:layout_width="wrap_content"
android:layout_height="24dp"
@@ -59,10 +58,11 @@
android:background="@drawable/ripple"
android:clickable="true"
android:layout_marginLeft="8dp"
- android:src="?ic_action_trending_flat"
+ app:icon="?ic_action_trending_flat"
android:layout_gravity="center_vertical|end" />
- <ImageView
+ <com.google.android.material.button.MaterialButton
+ style="?attr/materialIconButtonStyle"
android:id="@+id/attachments"
android:background="@drawable/ripple"
android:layout_width="wrap_content"
@@ -70,17 +70,18 @@
android:layout_weight="0"
android:layout_marginLeft="8dp"
android:clickable="true"
- android:src="?ic_attachment_vert"
+ app:icon="?ic_attachment_vert"
android:layout_gravity="center_vertical|end" />
- <ImageView
+ <com.google.android.material.button.MaterialButton
+ style="?attr/materialIconButtonStyle"
android:id="@+id/share"
android:background="@drawable/ripple"
android:layout_width="wrap_content"
android:layout_height="24dp"
android:layout_weight="0"
android:clickable="true"
- android:src="?ic_share"
+ app:icon="?ic_share"
android:layout_gravity="center_vertical|end" />
</LinearLayout>