mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 20:15:21 +00:00
reorder window feature requests in MediaPreviewActivity
ActionBar is initialized in a different way by AppCompat v20 compared to ABS or v21 even... // FREEBIE
This commit is contained in:
parent
d72a3ec669
commit
4573f3cb77
@ -70,14 +70,17 @@ public class MediaPreviewActivity extends PassphraseRequiredActionBarActivity {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle bundle) {
|
protected void onCreate(Bundle bundle) {
|
||||||
|
this.setTheme(R.style.TextSecure_DarkTheme);
|
||||||
|
dynamicLanguage.onCreate(this);
|
||||||
|
|
||||||
|
super.onCreate(bundle);
|
||||||
setFullscreenIfPossible();
|
setFullscreenIfPossible();
|
||||||
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
|
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
|
||||||
WindowManager.LayoutParams.FLAG_FULLSCREEN);
|
WindowManager.LayoutParams.FLAG_FULLSCREEN);
|
||||||
dynamicLanguage.onCreate(this);
|
|
||||||
this.setTheme(R.style.TextSecure_DarkTheme);
|
|
||||||
super.onCreate(bundle);
|
|
||||||
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
||||||
setContentView(R.layout.media_preview_activity);
|
setContentView(R.layout.media_preview_activity);
|
||||||
|
|
||||||
initializeResources();
|
initializeResources();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user