Fix back button issue in ShareActivity

This commit is contained in:
maskara 2017-05-20 11:35:49 +02:00
parent 95ecfbd3c2
commit 4cb6fb86f8
4 changed files with 14 additions and 3 deletions

View file

@ -67,6 +67,12 @@ public class NavigationBaseActivity extends BaseActivity implements HamburgerMen
});
}
public void initBack() {
setSupportActionBar(toolbar);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
getSupportActionBar().setDisplayShowHomeEnabled(true);
}
private void setDrawerPaneWidth() {
ViewGroup.LayoutParams params = drawerPane.getLayoutParams();
// set width to lowerBound of 80% of the screen size