Merge pull request #3861 from ByteHamster/fix-small-subscription

Fixed subscription screen overflowing when having 5 columns and broken images
This commit is contained in:
H. Lehmann 2020-02-14 20:44:49 +01:00 committed by GitHub
commit 178006bcd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,24 +1,28 @@
<?xml version='1.0' encoding='utf-8'?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
<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"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
android:layout_height="match_parent">
<de.danoeh.antennapod.view.SquareImageView
android:id="@+id/imgvCover"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scaleType="centerCrop"
tools:src="@mipmap/ic_launcher_round">
</de.danoeh.antennapod.view.SquareImageView>
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/light_gray"
android:layout_alignLeft="@+id/imgvCover"
android:layout_alignRight="@+id/imgvCover"
android:layout_alignStart="@+id/imgvCover"
android:layout_alignEnd="@+id/imgvCover"
android:layout_alignTop="@+id/imgvCover"
android:layout_alignBottom="@+id/imgvCover"
android:ellipsize="end"
android:gravity="center"
tools:text="@string/app_name" />
@ -27,11 +31,12 @@
android:id="@+id/triangleCountView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="right|top"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:layout_alignParentTop="true"
app:backgroundColor="@color/antennapod_blue"
app:corner="rightTop"
app:primaryText="Test"
app:primaryTextColor="@color/white"
app:primaryTextSize="12sp">
</jp.shts.android.library.TriangleLabelView>
</FrameLayout>
app:primaryTextSize="12sp" />
</RelativeLayout>