Skip to content
Snippets Groups Projects
Commit e72d5ed0 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Expand ActionBar on screen rotation

parent c1912c99
No related branches found
No related tags found
No related merge requests found
......@@ -106,12 +106,13 @@ public class AudioPlayerContainerActivity extends AppCompatActivity implements P
super.onCreate(savedInstanceState);
}
protected void initAudioPlayerContainerActivity(){
protected void initAudioPlayerContainerActivity() {
mToolbar = (Toolbar) findViewById(R.id.main_toolbar);
setSupportActionBar(mToolbar);
mActionBar = getSupportActionBar();
mAppBarLayout = (AppBarLayout) findViewById(R.id.appbar);
mAppBarLayout.setExpanded(true);
mAudioPlayer = (AudioPlayer) getSupportFragmentManager().findFragmentById(R.id.audio_player);
mAudioPlayer.setUserVisibleHint(false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment