fix an issue with back-forward interaction with sliding panel
This commit is contained in:
parent
b8ee3dab39
commit
b02590e06a
@ -68,6 +68,17 @@ public class FeedsActivity extends OnlineActivity implements HeadlinesEventListe
|
||||
m_slidingMenu.attachToActivity(this, SlidingMenu.SLIDING_CONTENT);
|
||||
m_slidingMenu.setMenu(R.layout.feeds);
|
||||
m_slidingMenu.setSlidingEnabled(true);
|
||||
|
||||
m_slidingMenu.setOnClosedListener(new SlidingMenu.OnClosedListener() {
|
||||
|
||||
@Override
|
||||
public void onClosed() {
|
||||
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
||||
m_actionbarUpEnabled = true;
|
||||
m_feedIsSelected = true;
|
||||
}
|
||||
});
|
||||
|
||||
m_slidingMenu.setOnOpenedListener(new SlidingMenu.OnOpenedListener() {
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user