From 9a480cbe3efddbb3188fb957b778748df58122a1 Mon Sep 17 00:00:00 2001 From: Christian Schabesberger Date: Sat, 5 Mar 2016 17:16:28 +0100 Subject: [PATCH] fixed backarrow on player_activity --- .../schabi/newpipe/player/PlayVideoActivity.java | 5 +++++ .../drawable-hdpi/ic_arrow_back_white_24dp.png | Bin 0 -> 148 bytes .../ic_arrow_back_white_24dp.png | Bin 0 -> 149 bytes .../ic_arrow_back_white_24dp.png | Bin 0 -> 119 bytes .../ic_arrow_back_white_24dp.png | Bin 0 -> 140 bytes .../ic_arrow_back_white_24dp.png | Bin 0 -> 195 bytes .../ic_arrow_back_white_24dp.png | Bin 0 -> 200 bytes .../drawable-mdpi/ic_arrow_back_white_24dp.png | Bin 0 -> 115 bytes .../drawable-xhdpi/ic_arrow_back_white_24dp.png | Bin 0 -> 131 bytes .../drawable-xxhdpi/ic_arrow_back_white_24dp.png | Bin 0 -> 191 bytes .../drawable-xxxhdpi/ic_arrow_back_white_24dp.png | Bin 0 -> 194 bytes 11 files changed, 5 insertions(+) create mode 100644 app/src/main/res/drawable-hdpi/ic_arrow_back_white_24dp.png create mode 100644 app/src/main/res/drawable-ldrtl-hdpi/ic_arrow_back_white_24dp.png create mode 100644 app/src/main/res/drawable-ldrtl-mdpi/ic_arrow_back_white_24dp.png create mode 100644 app/src/main/res/drawable-ldrtl-xhdpi/ic_arrow_back_white_24dp.png create mode 100644 app/src/main/res/drawable-ldrtl-xxhdpi/ic_arrow_back_white_24dp.png create mode 100644 app/src/main/res/drawable-ldrtl-xxxhdpi/ic_arrow_back_white_24dp.png create mode 100644 app/src/main/res/drawable-mdpi/ic_arrow_back_white_24dp.png create mode 100644 app/src/main/res/drawable-xhdpi/ic_arrow_back_white_24dp.png create mode 100644 app/src/main/res/drawable-xxhdpi/ic_arrow_back_white_24dp.png create mode 100644 app/src/main/res/drawable-xxxhdpi/ic_arrow_back_white_24dp.png diff --git a/app/src/main/java/org/schabi/newpipe/player/PlayVideoActivity.java b/app/src/main/java/org/schabi/newpipe/player/PlayVideoActivity.java index 91ba36f19..ad840302f 100644 --- a/app/src/main/java/org/schabi/newpipe/player/PlayVideoActivity.java +++ b/app/src/main/java/org/schabi/newpipe/player/PlayVideoActivity.java @@ -5,6 +5,7 @@ import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.ActivityInfo; import android.content.res.Configuration; +import android.graphics.drawable.Drawable; import android.media.MediaPlayer; import android.media.AudioManager; import android.net.Uri; @@ -83,6 +84,10 @@ public class PlayVideoActivity extends AppCompatActivity { setContentView(R.layout.activity_play_video); setVolumeControlStream(AudioManager.STREAM_MUSIC); + + //set background arrow style + getSupportActionBar().setHomeAsUpIndicator(R.drawable.ic_arrow_back_white_24dp); + isLandscape = checkIfLandscape(); hasSoftKeys = checkIfHasSoftKeys(); diff --git a/app/src/main/res/drawable-hdpi/ic_arrow_back_white_24dp.png b/app/src/main/res/drawable-hdpi/ic_arrow_back_white_24dp.png new file mode 100644 index 0000000000000000000000000000000000000000..cd1972677699802e4ef9723ea50fcb284f9a2d9e GIT binary patch literal 148 zcmeAS@N?(olHy`uVBq!ia0vp^Dj>|k0wldT1B8K8w5N+>NCjiE#JmKNKlwlIJIE$G zENCoBR!I0=pY}@Pupe*oHeRjdZG1q?qm{hxZ$A4bPKTOf6Ie1b1fIqz%iQ?l<@&`u s>vn;8mbGbb(!%VA{yVIsrX`2~&0ZQe`%OT@F`zXJp00i_>zopr05HKY)c^nh literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-ldrtl-hdpi/ic_arrow_back_white_24dp.png b/app/src/main/res/drawable-ldrtl-hdpi/ic_arrow_back_white_24dp.png new file mode 100644 index 0000000000000000000000000000000000000000..f5175576277d2a0f5939c65b3c2d0ac1c5e05c81 GIT binary patch literal 149 zcmeAS@N?(olHy`uVBq!ia0vp^Dj>|k0wldT1B8K8jHioZNCo5DtL97&4h*b;H@DV5 zcer$Ri?geGe#)18+CBJRIgThmTuE5`C;OtuCY#)`@-j? xk+$YpRqJOcx~0`LYnmPF@BjbHx@*&ZNe7m=*}o-KqJZ`=c)I$ztaD0e0su;qG|~V7 literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-ldrtl-mdpi/ic_arrow_back_white_24dp.png b/app/src/main/res/drawable-ldrtl-mdpi/ic_arrow_back_white_24dp.png new file mode 100644 index 0000000000000000000000000000000000000000..22a1140ae2a3d368b6e07ebc0b975e47245dad94 GIT binary patch literal 119 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM0wlfaz7_*1J5LwKkP60RiG2_1AOB|yn)3SJ z|Ih#JGoucjNBnD4cKbLh*2~7Y5X)LDz literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-ldrtl-xhdpi/ic_arrow_back_white_24dp.png b/app/src/main/res/drawable-ldrtl-xhdpi/ic_arrow_back_white_24dp.png new file mode 100644 index 0000000000000000000000000000000000000000..d858f18e6c2ef050c2d06f205059dc15416f2cde GIT binary patch literal 140 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA0wn)(8}b0DU{4pvkP61P*CGWQ3ML3w_tw5$*r?fF2)Ke=00vrbKbycBGWYWuA(2`LjgX=&Mk5bpFS~OdNQHc n{9eUl=^9z-nmXzF`>L{`sut1T`PW_o8qeVA>gTe~DWM4f=v6Kc literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-ldrtl-xxhdpi/ic_arrow_back_white_24dp.png b/app/src/main/res/drawable-ldrtl-xxhdpi/ic_arrow_back_white_24dp.png new file mode 100644 index 0000000000000000000000000000000000000000..614ad49a3e4fb4c29193b38001841b2486038bcc GIT binary patch literal 195 zcmeAS@N?(olHy`uVBq!ia0vp^9w5xY0wn)GsXhawx;$MRLn;{G-aIJS=qSJz$k|}b zAv!@tz-zVTU&e;~?YopKHgDc88Jd=scC0T}DBXXm(<2Wc_L=IGbWV7a$LuiANph1^ zYL%|ZD|=2V;Rg~&*ne|y9`g9$K50Sht>ypX*X;OyaH8^awdJDcg8JsfS%h1zEl>-b p(-kX{uE0A-=F+*(Aqha^^;^!r*r#k!Pz7`qgQu&X%Q~loCIBM{NiF~Y literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-ldrtl-xxxhdpi/ic_arrow_back_white_24dp.png b/app/src/main/res/drawable-ldrtl-xxxhdpi/ic_arrow_back_white_24dp.png new file mode 100644 index 0000000000000000000000000000000000000000..d409b544b7f62950a69d7d1ea58e97ef6c5ea546 GIT binary patch literal 200 zcmeAS@N?(olHy`uVBq!ia0vp^2_VeD0wg^q?%xcg`aNA7Ln;{G-nuAwkU@eaku@Vo zy*{7I`hn!617~ZZ53W<`EZBV>sE~nSrqA|&tuL?bH@N#td|C81OZ4 j;g=t)KhFPL4YI<5v2M!JY~kXSEg+t!tDnm{r-UW|+8j)X literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-mdpi/ic_arrow_back_white_24dp.png b/app/src/main/res/drawable-mdpi/ic_arrow_back_white_24dp.png new file mode 100644 index 0000000000000000000000000000000000000000..4ef72eec99423c5d4f83227e34b24835a79f324f GIT binary patch literal 115 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM0wlfaz7_*1D^C~4kP60RiG2_15C3<&H0A&Q z|Ihd9Wu7|h-d41yp@_F-ZcDVc#LB3;|NKk4rwLrznlW+N(!?KWaSTDLrmhl;G7;?6Tmes9(^C#@)&$XLAN2fmDK5_2;oXs^qKRrD? zT|a&wl=0u{XMX3o{EI(zZSFU;t5*oK`xGb|A7l~sF+e3G`eLnqRNcP#_|M_{efOCe b7~U|>UYh-J>#;zfqZmA0{an^LB{Ts5m>*B+ literal 0 HcmV?d00001