mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-25 16:23:54 +01:00
Merge pull request #4116 from ByteHamster/non-square-images-consistency
Make subscriptions view more consistent when showing non-square images
This commit is contained in:
commit
9bec3cc7c4
@ -42,7 +42,7 @@
|
||||
android:layout_marginRight="@dimen/listitem_threeline_textleftpadding"
|
||||
android:layout_marginEnd="@dimen/listitem_threeline_textleftpadding"
|
||||
android:id="@+id/coverHolder"
|
||||
app:cardBackgroundColor="#33777777"
|
||||
app:cardBackgroundColor="@color/non_square_icon_background"
|
||||
app:cardCornerRadius="4dp"
|
||||
app:cardElevation="0dp">
|
||||
|
||||
|
@ -5,13 +5,15 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:squareImageView="http://schemas.android.com/apk/de.danoeh.antennapod"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_height="match_parent"
|
||||
android:foreground="?attr/selectableItemBackground">
|
||||
|
||||
<de.danoeh.antennapod.view.SquareImageView
|
||||
android:id="@+id/imgvCover"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:scaleType="fitCenter"
|
||||
android:background="@color/non_square_icon_background"
|
||||
tools:src="@mipmap/ic_launcher_round"
|
||||
squareImageView:direction="width"/>
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
<color name="highlight_light">#DDDDDD</color>
|
||||
<color name="highlight_dark">#414141</color>
|
||||
<color name="highlight_trueblack">#414141</color>
|
||||
<color name="non_square_icon_background">#22777777</color>
|
||||
|
||||
<color name="accent_light">#0078C2</color>
|
||||
<color name="accent_dark">#5C9DFF</color>
|
||||
|
Loading…
Reference in New Issue
Block a user