Attempt 1 to set layout for menu item (putting toggle button to right side)

This commit is contained in:
Neslihan 2017-03-15 19:10:15 +03:00
parent 23aa691275
commit a2f98748d7
3 changed files with 20 additions and 1 deletions

View file

@ -125,6 +125,7 @@ public class ContributionsActivity
if (mediaDetails != null && savedInstanceState.getBoolean("mediaDetailsVisible")) {
// Feels awful that we have to reset this manually!
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
getSupportActionBar().setDisplayShowCustomEnabled(true);
}
}
requestAuthToken();