diff options
author | H. Lehmann <ByteHamster@users.noreply.github.com> | 2020-02-12 23:16:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-12 23:16:31 +0100 |
commit | 93a4e8aeea1c375e74375339353e52fac5314c5c (patch) | |
tree | 2685723fc67a92b1f03483a584a6f58e1116353f /app | |
parent | 7559d2aebb737ab8a22c357d30ec723d2ec9eca3 (diff) | |
parent | f9e97e878eecd5f974264182fc5b08129390d138 (diff) | |
download | AntennaPod-93a4e8aeea1c375e74375339353e52fac5314c5c.zip |
Merge pull request #3857 from ByteHamster/play-button-resolution
Replaced playback images with vector version
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/res/layout/external_player_fragment.xml | 8 | ||||
-rw-r--r-- | app/src/main/res/layout/mediaplayerinfo_activity.xml | 18 | ||||
-rw-r--r-- | app/src/main/res/xml/preferences.xml | 2 |
3 files changed, 15 insertions, 13 deletions
diff --git a/app/src/main/res/layout/external_player_fragment.xml b/app/src/main/res/layout/external_player_fragment.xml index dc890807c..3e2efe47e 100644 --- a/app/src/main/res/layout/external_player_fragment.xml +++ b/app/src/main/res/layout/external_player_fragment.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<RelativeLayout - xmlns:android="http://schemas.android.com/apk/res/android" +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" + xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/fragmentLayout" android:layout_width="match_parent" android:layout_height="@dimen/external_player_height" @@ -44,7 +44,9 @@ android:layout_centerVertical="true" android:contentDescription="@string/pause_label" android:background="?attr/selectableItemBackground" - android:src="?attr/av_play_big" + app:srcCompat="?attr/av_play" + android:scaleType="fitCenter" + android:padding="8dp" tools:src="@drawable/ic_play_arrow_white_36dp"/> <TextView diff --git a/app/src/main/res/layout/mediaplayerinfo_activity.xml b/app/src/main/res/layout/mediaplayerinfo_activity.xml index 0f6101795..cd964971e 100644 --- a/app/src/main/res/layout/mediaplayerinfo_activity.xml +++ b/app/src/main/res/layout/mediaplayerinfo_activity.xml @@ -121,9 +121,9 @@ android:layout_centerHorizontal="true" android:background="?attr/selectableItemBackground" android:contentDescription="@string/pause_label" - android:src="?attr/av_play" + app:srcCompat="?attr/av_play" android:scaleType="fitCenter" - tools:src="@drawable/ic_play_arrow_white_24dp" + tools:src="@drawable/ic_av_play_white_24dp" tools:background="@android:color/holo_green_dark" /> <ImageButton @@ -136,9 +136,9 @@ android:layout_marginStart="16dp" android:background="?attr/selectableItemBackground" android:contentDescription="@string/rewind_label" - android:src="?attr/av_rew_big" + app:srcCompat="?attr/av_rewind" android:scaleType="fitCenter" - tools:src="@drawable/ic_fast_rewind_white_36dp" + tools:src="@drawable/ic_av_fast_rewind_white_48dp" tools:background="@android:color/holo_blue_dark" /> <TextView @@ -165,7 +165,7 @@ android:layout_toStartOf="@id/butRev" android:background="?attr/selectableItemBackground" android:contentDescription="@string/set_playback_speed_label" - android:src="?attr/av_speed" + app:srcCompat="?attr/av_speed" android:scaleType="fitCenter" tools:src="@drawable/ic_playback_speed_white_48dp" tools:visibility="gone" @@ -212,9 +212,9 @@ android:layout_marginEnd="16dp" android:background="?attr/selectableItemBackground" android:contentDescription="@string/fast_forward_label" - android:src="?attr/av_ff_big" + app:srcCompat="?attr/av_fast_forward" android:scaleType="fitCenter" - tools:src="@drawable/ic_fast_forward_white_36dp" + tools:src="@drawable/ic_av_fast_forward_white_48dp" tools:background="@android:color/holo_blue_dark" /> <TextView @@ -241,9 +241,9 @@ android:layout_toEndOf="@id/butFF" android:background="?attr/selectableItemBackground" android:scaleType="fitCenter" - android:src="?attr/av_skip_big" + app:srcCompat="?attr/av_skip" android:contentDescription="@string/skip_episode_label" - tools:src="@drawable/ic_skip_white_36dp" + tools:src="@drawable/ic_av_skip_white_48dp" tools:background="@android:color/holo_green_dark" /> </RelativeLayout> diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index 6e734f789..1ca3a8088 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -19,7 +19,7 @@ android:key="prefScreenPlayback" android:title="@string/playback_pref" android:summary="@string/playback_pref_sum" - android:icon="?attr/av_play" /> + android:icon="?attr/ic_settings_playback" /> <Preference android:key="prefScreenNetwork" |