summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/subscription_item.xml
diff options
context:
space:
mode:
authorTaco <SkytkRSfan3895@gmail.com>2021-07-29 15:59:35 -0400
committerGitHub <noreply@github.com>2021-07-29 21:59:35 +0200
commite06c88557335cbd5e9b0f019985f0f458525ad9f (patch)
tree6d3949fc560135c635efd981fd9852706909772c /app/src/main/res/layout/subscription_item.xml
parentbc59d50804328f3c5a293079a33576ff260022ea (diff)
downloadAntennaPod-e06c88557335cbd5e9b0f019985f0f458525ad9f.zip
Fix deprecated fill_parent attributes (#5302)
Diffstat (limited to 'app/src/main/res/layout/subscription_item.xml')
-rw-r--r--app/src/main/res/layout/subscription_item.xml25
1 files changed, 13 insertions, 12 deletions
diff --git a/app/src/main/res/layout/subscription_item.xml b/app/src/main/res/layout/subscription_item.xml
index 7fa738f12..ec918fdac 100644
--- a/app/src/main/res/layout/subscription_item.xml
+++ b/app/src/main/res/layout/subscription_item.xml
@@ -2,32 +2,32 @@
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
xmlns:squareImageView="http://schemas.android.com/apk/de.danoeh.antennapod"
+ xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:foreground="?attr/selectableItemBackground">
<de.danoeh.antennapod.ui.common.SquareImageView
android:id="@+id/imgvCover"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:scaleType="fitCenter"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:background="@color/non_square_icon_background"
- tools:src="@mipmap/ic_launcher_round"
- squareImageView:direction="width"/>
+ android:scaleType="fitCenter"
+ squareImageView:direction="width"
+ tools:src="@mipmap/ic_launcher_round" />
<com.joanzapata.iconify.widget.IconTextView
android:id="@+id/txtvTitle"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@color/non_square_icon_background"
- android:layout_alignLeft="@+id/imgvCover"
- android:layout_alignRight="@+id/imgvCover"
android:layout_alignStart="@+id/imgvCover"
- android:layout_alignEnd="@+id/imgvCover"
+ android:layout_alignLeft="@+id/imgvCover"
android:layout_alignTop="@+id/imgvCover"
+ android:layout_alignEnd="@+id/imgvCover"
+ android:layout_alignRight="@+id/imgvCover"
android:layout_alignBottom="@+id/imgvCover"
+ android:background="@color/non_square_icon_background"
android:ellipsize="end"
android:gravity="center"
android:textColor="?android:attr/textColorPrimary"
@@ -37,12 +37,13 @@
android:id="@+id/triangleCountView"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_alignParentRight="true"
- android:layout_alignParentEnd="true"
android:layout_alignParentTop="true"
+ android:layout_alignParentEnd="true"
+ android:layout_alignParentRight="true"
app:backgroundColor="?attr/colorSecondary"
app:corner="rightTop"
app:primaryText="Test"
app:primaryTextColor="?attr/colorOnSecondary"
app:primaryTextSize="12sp" />
+
</RelativeLayout>