Code example for ActionBarActivity

Methods: onConfigurationChanged

0
        mDrawerToggle.syncState();
    } 
 
    @Override 
    public void onConfigurationChanged(Configuration newConfig) {
        super.onConfigurationChanged(newConfig);
        mDrawerToggle.onConfigurationChanged(newConfig);
    } 
 
    @Override 
    public boolean onOptionsItemSelected(MenuItem item) {
        if (mDrawerToggle.onOptionsItemSelected(item)) {
            return true; 
        } 
 
        return super.onOptionsItemSelected(item);
    } 
 
    private class DrawerItemClickListener implements ListView.OnItemClickListener {
        @Override 
        public void onItemClick(AdapterView parent, View view, int position, long id) {