mirror of
https://github.com/oxen-io/session-android.git
synced 2023-12-14 02:53:01 +01: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
1 changed files with 6 additions and 3 deletions
|
@ -70,14 +70,17 @@ public class MediaPreviewActivity extends PassphraseRequiredActionBarActivity {
|
|||
|
||||
@Override
|
||||
protected void onCreate(Bundle bundle) {
|
||||
this.setTheme(R.style.TextSecure_DarkTheme);
|
||||
dynamicLanguage.onCreate(this);
|
||||
|
||||
super.onCreate(bundle);
|
||||
setFullscreenIfPossible();
|
||||
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
|
||||
WindowManager.LayoutParams.FLAG_FULLSCREEN);
|
||||
dynamicLanguage.onCreate(this);
|
||||
this.setTheme(R.style.TextSecure_DarkTheme);
|
||||
super.onCreate(bundle);
|
||||
|
||||
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
||||
setContentView(R.layout.media_preview_activity);
|
||||
|
||||
initializeResources();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue