From e1ab522dc7e03b03258ba74e10640d299e45c188 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Fri, 22 May 2020 08:06:28 +0100 Subject: [PATCH] change play and pause icons --- app/src/main/res/drawable-anydpi/ic_pause.xml | 11 +++++ app/src/main/res/drawable-anydpi/ic_play.xml | 11 +++++ app/src/main/res/drawable-hdpi/ic_pause.png | Bin 0 -> 121 bytes app/src/main/res/drawable-hdpi/ic_play.png | Bin 0 -> 201 bytes app/src/main/res/drawable-mdpi/ic_pause.png | Bin 0 -> 94 bytes app/src/main/res/drawable-mdpi/ic_play.png | Bin 0 -> 156 bytes app/src/main/res/drawable-xhdpi/ic_pause.png | Bin 0 -> 123 bytes app/src/main/res/drawable-xhdpi/ic_play.png | Bin 0 -> 234 bytes app/src/main/res/drawable-xxhdpi/ic_pause.png | Bin 0 -> 160 bytes app/src/main/res/drawable-xxhdpi/ic_play.png | Bin 0 -> 316 bytes .../res/layout/exo_playback_control_view.xml | 44 +++++++++++++----- 11 files changed, 54 insertions(+), 12 deletions(-) create mode 100644 app/src/main/res/drawable-anydpi/ic_pause.xml create mode 100644 app/src/main/res/drawable-anydpi/ic_play.xml create mode 100644 app/src/main/res/drawable-hdpi/ic_pause.png create mode 100644 app/src/main/res/drawable-hdpi/ic_play.png create mode 100644 app/src/main/res/drawable-mdpi/ic_pause.png create mode 100644 app/src/main/res/drawable-mdpi/ic_play.png create mode 100644 app/src/main/res/drawable-xhdpi/ic_pause.png create mode 100644 app/src/main/res/drawable-xhdpi/ic_play.png create mode 100644 app/src/main/res/drawable-xxhdpi/ic_pause.png create mode 100644 app/src/main/res/drawable-xxhdpi/ic_play.png diff --git a/app/src/main/res/drawable-anydpi/ic_pause.xml b/app/src/main/res/drawable-anydpi/ic_pause.xml new file mode 100644 index 00000000..06af6a1e --- /dev/null +++ b/app/src/main/res/drawable-anydpi/ic_pause.xml @@ -0,0 +1,11 @@ + + + diff --git a/app/src/main/res/drawable-anydpi/ic_play.xml b/app/src/main/res/drawable-anydpi/ic_play.xml new file mode 100644 index 00000000..420941aa --- /dev/null +++ b/app/src/main/res/drawable-anydpi/ic_play.xml @@ -0,0 +1,11 @@ + + + diff --git a/app/src/main/res/drawable-hdpi/ic_pause.png b/app/src/main/res/drawable-hdpi/ic_pause.png new file mode 100644 index 0000000000000000000000000000000000000000..0548a384a9b4061efe43c7dfe74f04102bd3d62d GIT binary patch literal 121 zcmeAS@N?(olHy`uVBq!ia0vp^Dj>|k1|%Oc%$NbB96VhdLn>~)y|$5;L4m{7F|EXv z{V3xSBN4avs{0r3n8e|E>-3qxwXgrNn5-_n%ghJ^wG6vnpPc?Bh&y@P)@i#AzYqtS O#o+1c=d#Wzp$P!eZYGle literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-hdpi/ic_play.png b/app/src/main/res/drawable-hdpi/ic_play.png new file mode 100644 index 0000000000000000000000000000000000000000..556c8729d186e8a0d649e1a2fc1680e095435596 GIT binary patch literal 201 zcmeAS@N?(olHy`uVBq!ia0vp^Dj>|k1|%Oc%$NbBCV09yhE&{oJ8dIpgMo<4(L<-M z-DA9SfES479AJH;`&LJ#`55<%unvLBQ}z{qn^mT3b9En0+S&ho-%?K5BoR^96R~R+ zDRa821x{{Zn*GAlX=0>_%EAMBY=J>7N~g6&Cn`LNTiM~V@Q>)n0F8LpKdv0bDJ#5t yE5EHsI#MIM;=HJ_y#X_?d19pU{iKaGw(2)x_K7cGSS|>38-u5-pUXO@geCyqrb_Gp literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-mdpi/ic_pause.png b/app/src/main/res/drawable-mdpi/ic_pause.png new file mode 100644 index 0000000000000000000000000000000000000000..48cf98d2e4e16403bc5f816872d4f2c7669b33c6 GIT binary patch literal 94 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`Gjs-7;6Ar-fh6C_xb#sB>OUvFrn q7Fu_uDUjPuS7K`dkYTWgfnn#OX#$SrR-1qt7(8A5T-G@yGywoIzZ$Fn literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-mdpi/ic_play.png b/app/src/main/res/drawable-mdpi/ic_play.png new file mode 100644 index 0000000000000000000000000000000000000000..2b425776c3e4f9c3257cbe87faf21e8989e4a033 GIT binary patch literal 156 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`Gj$(}BbAr-fh6C_v{KluOu|4#=U z4{vTU=8rlGWlTwKQIQOXOC5Avy}2DK>;%{u4Y}9qG(7ZE2wS|ARbdZDhj7D;?l7?f zA5;{~BqxboFzLt;J89y(%;a>2iLO>g^o`!8h5QU}XLvE}{9fJzw2r~k)z4*}Q$iB} DsV6cL literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-xhdpi/ic_pause.png b/app/src/main/res/drawable-xhdpi/ic_pause.png new file mode 100644 index 0000000000000000000000000000000000000000..192399d128d5b0832084b6a1e4bdebd83cd8ea03 GIT binary patch literal 123 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA1|-9oezpTCCr=m0kcwMx&u`>pFyLW!e80bq zJ=Dx&Y68#q1wltcJtr-3RegE8?mr_?EjmzRn56PDk)8iRMD(j*u1g?kPgg&ebxsLQ E05?S+=l}o! literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-xhdpi/ic_play.png b/app/src/main/res/drawable-xhdpi/ic_play.png new file mode 100644 index 0000000000000000000000000000000000000000..7770ab21f61eb4dca72dc6bedf7fe8a409c5dde3 GIT binary patch literal 234 zcmVFYDOcMzPHP6K#fY_3K=$&)}oD?3mQ!>UFV+@#_ z^FyA<0Ux=_t2|Hx!bP6R0mV(;M#6yNeLkJNzhB`@TFaJ zZXF}ali{U^6kK)=at7|>^O9q=cg5cWrmo>A-{8Tu%JJ7Fi*Ar-gYUf9UX;K0Fb_$|KK z@iTXgbNd8;ui1w}C#iS>(XXjX)Ng;|=MYeEXkcJuVj-RZ(mhEf_6?)^f49pWr+zF0 PTFKz)>gTe~DWM4f$e=2A literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-xxhdpi/ic_play.png b/app/src/main/res/drawable-xxhdpi/ic_play.png new file mode 100644 index 0000000000000000000000000000000000000000..0e5abef3e5336fe3550114c2f6c1f981615674c6 GIT binary patch literal 316 zcmeAS@N?(olHy`uVBq!ia0vp^9w5xY1|&n@Zgyv2U}W}maSW-r_4d|A-a`f=t``*o zFJ3fa5H?^`Hei(Az-X(h$}7YpRmWu|BjTY@c5doDrtqRqfBvop843ikD_;K+h%}lg zR?;7%bo)fl#OqD-EZxG^EMYa>=~gz;(t16sZE@EcPA~4PqV6}!+)cNN`*Jv{=D!SW z>T6mS&S@uLvexTE>w?UXCVkea@tjpcA$h7V0t04FO<-_L4Q*m%of^o=CN`yB^~b~o zHQERHS)WF7{!`Fc@AX05@n;BAlZ>H!=Kf08i=l@@52s$;arnTQ6IUb6Ayv?=(ESABgU1gUGdEbP0 Hl+XkK2FY}b literal 0 HcmV?d00001 diff --git a/app/src/main/res/layout/exo_playback_control_view.xml b/app/src/main/res/layout/exo_playback_control_view.xml index ec3e9d63..b9368390 100644 --- a/app/src/main/res/layout/exo_playback_control_view.xml +++ b/app/src/main/res/layout/exo_playback_control_view.xml @@ -18,27 +18,45 @@ - + android:background="?attr/selectableItemBackground" + android:clickable="true" + android:focusable="true" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + - + android:background="?attr/selectableItemBackground" + android:clickable="true" + android:focusable="true" + android:layout_width="match_parent" + android:layout_height="match_parent"> + +