summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2025-05-07 12:04:31 +0300
committerAndrew Dolgov <fox@fakecake.org>2025-05-07 12:04:31 +0300
commita3fd203b4494f48e6244ef0101a0f0729fb0e308 (patch)
treedda929c41c79673dbe55171d6d97eb8b16ed7d96
parente6c3107189a296b817562462221e0165695196f7 (diff)
reposition some headline row images
-rwxr-xr-xorg.fox.ttrss/src/main/res/layout/headlines_row.xml24
-rwxr-xr-xorg.fox.ttrss/src/main/res/layout/headlines_row_unread.xml25
2 files changed, 16 insertions, 33 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 b43d0fbb..e6707ff4 100755
--- a/org.fox.ttrss/src/main/res/layout/headlines_row.xml
+++ b/org.fox.ttrss/src/main/res/layout/headlines_row.xml
@@ -91,7 +91,7 @@
<ProgressBar
android:id="@+id/flavorImageLoadingBar"
style="?android:attr/progressBarStyleHorizontal"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:indeterminate="false"
@@ -126,32 +126,24 @@
android:id="@+id/flavor_video_kind"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_below="@+id/headline_header"
- android:layout_alignParentEnd="true"
- android:layout_alignParentRight="true"
android:layout_gravity="start|bottom"
android:layout_marginStart="8dp"
- android:layout_marginBottom="8dp"
+ android:layout_marginBottom="10dp"
android:elevation="4dp"
android:scaleType="fitXY"
android:src="@drawable/baseline_play_circle_24"
android:visibility="visible"
app:tint="?colorTertiary" />
- <ImageView
+ <com.google.android.material.button.MaterialButton
android:id="@+id/gallery_overflow"
+ style="?attr/materialIconButtonStyle"
android:layout_width="wrap_content"
- android:layout_height="24dp"
+ android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
- android:layout_marginBottom="10dp"
- android:layout_weight="0"
- android:clickable="true"
- android:elevation="4dp"
- android:paddingLeft="4dp"
- android:paddingRight="4dp"
- android:src="@drawable/baseline_more_vert_24"
- app:tint="?colorTertiary"
- tools:targetApi="lollipop" />
+ android:layout_marginEnd="-8dp"
+ app:icon="@drawable/baseline_more_vert_24"
+ app:iconTint="?colorTertiary"/>
</FrameLayout>
</TableRow>
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 82baeec3..da7ca3d0 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
@@ -92,7 +92,7 @@
<ProgressBar
android:id="@+id/flavorImageLoadingBar"
style="?android:attr/progressBarStyleHorizontal"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:indeterminate="false"
@@ -127,32 +127,23 @@
android:id="@+id/flavor_video_kind"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_below="@+id/headline_header"
- android:layout_alignParentEnd="true"
- android:layout_alignParentRight="true"
android:layout_gravity="start|bottom"
android:layout_marginStart="8dp"
- android:layout_marginBottom="8dp"
- android:elevation="4dp"
+ android:layout_marginBottom="10dp"
android:scaleType="fitXY"
android:src="@drawable/baseline_play_circle_24"
android:visibility="visible"
app:tint="?colorTertiary" />
- <ImageView
+ <com.google.android.material.button.MaterialButton
android:id="@+id/gallery_overflow"
+ style="?attr/materialIconButtonStyle"
android:layout_width="wrap_content"
- android:layout_height="24dp"
+ android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
- android:layout_marginBottom="10dp"
- android:layout_weight="0"
- android:clickable="true"
- android:elevation="4dp"
- android:paddingLeft="4dp"
- android:paddingRight="4dp"
- android:src="@drawable/baseline_more_vert_24"
- app:tint="?colorTertiary"
- tools:targetApi="lollipop" />
+ android:layout_marginEnd="-8dp"
+ app:icon="@drawable/baseline_more_vert_24"
+ app:iconTint="?colorTertiary"/>
</FrameLayout>
</TableRow>