fixed backarrow on player_activity
|
@ -5,6 +5,7 @@ import android.content.Intent;
|
||||||
import android.content.SharedPreferences;
|
import android.content.SharedPreferences;
|
||||||
import android.content.pm.ActivityInfo;
|
import android.content.pm.ActivityInfo;
|
||||||
import android.content.res.Configuration;
|
import android.content.res.Configuration;
|
||||||
|
import android.graphics.drawable.Drawable;
|
||||||
import android.media.MediaPlayer;
|
import android.media.MediaPlayer;
|
||||||
import android.media.AudioManager;
|
import android.media.AudioManager;
|
||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
|
@ -83,6 +84,10 @@ public class PlayVideoActivity extends AppCompatActivity {
|
||||||
|
|
||||||
setContentView(R.layout.activity_play_video);
|
setContentView(R.layout.activity_play_video);
|
||||||
setVolumeControlStream(AudioManager.STREAM_MUSIC);
|
setVolumeControlStream(AudioManager.STREAM_MUSIC);
|
||||||
|
|
||||||
|
//set background arrow style
|
||||||
|
getSupportActionBar().setHomeAsUpIndicator(R.drawable.ic_arrow_back_white_24dp);
|
||||||
|
|
||||||
isLandscape = checkIfLandscape();
|
isLandscape = checkIfLandscape();
|
||||||
hasSoftKeys = checkIfHasSoftKeys();
|
hasSoftKeys = checkIfHasSoftKeys();
|
||||||
|
|
||||||
|
|
After Width: | Height: | Size: 148 B |
After Width: | Height: | Size: 149 B |
After Width: | Height: | Size: 119 B |
After Width: | Height: | Size: 140 B |
After Width: | Height: | Size: 195 B |
After Width: | Height: | Size: 200 B |
After Width: | Height: | Size: 115 B |
After Width: | Height: | Size: 131 B |
After Width: | Height: | Size: 191 B |
After Width: | Height: | Size: 194 B |