diff options
author | ByteHamster <info@bytehamster.com> | 2020-02-12 13:38:18 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2020-02-12 18:57:15 +0100 |
commit | fe632a4f9f5dd5aa9ed8e54f42aa1496ce08f480 (patch) | |
tree | a14a4423e99fca22f4e44e2f61f23fe0d83421e6 /app/src/main/res/layout | |
parent | 0485102797c5e58af967e6b99f58fe6ea5149e44 (diff) | |
download | AntennaPod-fe632a4f9f5dd5aa9ed8e54f42aa1496ce08f480.zip |
Fixed other square images
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/cover_fragment.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/layout/mediaplayerinfo_activity.xml | 12 |
2 files changed, 9 insertions, 7 deletions
diff --git a/app/src/main/res/layout/cover_fragment.xml b/app/src/main/res/layout/cover_fragment.xml index f73562245..c5fedd07a 100644 --- a/app/src/main/res/layout/cover_fragment.xml +++ b/app/src/main/res/layout/cover_fragment.xml @@ -3,6 +3,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" + xmlns:squareImageView="http://schemas.android.com/apk/res-auto" android:orientation="vertical" android:padding="8dp" android:gravity="center"> @@ -18,7 +19,8 @@ android:layout_marginRight="32dp" android:transitionName="coverTransition" tools:src="@android:drawable/sym_def_app_icon" - android:foreground="?attr/selectableItemBackgroundBorderless"/> + android:foreground="?attr/selectableItemBackgroundBorderless" + squareImageView:useMinimum="true" /> <TextView android:id="@+id/txtvPodcastTitle" diff --git a/app/src/main/res/layout/mediaplayerinfo_activity.xml b/app/src/main/res/layout/mediaplayerinfo_activity.xml index 70c81aad3..00c912d2c 100644 --- a/app/src/main/res/layout/mediaplayerinfo_activity.xml +++ b/app/src/main/res/layout/mediaplayerinfo_activity.xml @@ -117,7 +117,7 @@ android:layout_marginRight="16dp" android:layout_marginEnd="16dp" android:layout_centerHorizontal="true" - android:background="?attr/selectableItemBackground" + android:background="?attr/selectableItemBackgroundBorderless" android:contentDescription="@string/pause_label" android:src="?attr/av_play" android:scaleType="fitCenter" @@ -132,7 +132,7 @@ android:layout_toStartOf="@id/butPlay" android:layout_marginLeft="16dp" android:layout_marginStart="16dp" - android:background="?attr/selectableItemBackground" + android:background="?attr/selectableItemBackgroundBorderless" android:contentDescription="@string/rewind_label" android:src="?attr/av_rew_big" android:scaleType="fitCenter" @@ -161,7 +161,7 @@ android:layout_height="@dimen/audioplayer_playercontrols_length" android:layout_toLeftOf="@id/butRev" android:layout_toStartOf="@id/butRev" - android:background="?attr/selectableItemBackground" + android:background="?attr/selectableItemBackgroundBorderless" android:contentDescription="@string/set_playback_speed_label" android:src="?attr/av_speed" android:scaleType="fitCenter" @@ -191,7 +191,7 @@ android:layout_height="@dimen/audioplayer_playercontrols_length" android:layout_toLeftOf="@id/butRev" android:layout_toStartOf="@id/butRev" - android:background="?attr/selectableItemBackground" + android:background="?attr/selectableItemBackgroundBorderless" android:contentDescription="@string/cast_disconnect_label" android:src="?attr/ic_cast_disconnect" android:scaleType="fitCenter" @@ -208,7 +208,7 @@ android:layout_toEndOf="@id/butPlay" android:layout_marginRight="16dp" android:layout_marginEnd="16dp" - android:background="?attr/selectableItemBackground" + android:background="?attr/selectableItemBackgroundBorderless" android:contentDescription="@string/fast_forward_label" android:src="?attr/av_ff_big" android:scaleType="fitCenter" @@ -237,7 +237,7 @@ android:layout_height="@dimen/audioplayer_playercontrols_length" android:layout_toRightOf="@id/butFF" android:layout_toEndOf="@id/butFF" - android:background="?attr/selectableItemBackground" + android:background="?attr/selectableItemBackgroundBorderless" android:scaleType="fitCenter" android:src="?attr/av_skip_big" android:contentDescription="@string/skip_episode_label" |