Navigation Drawer icon not showing (Sherlock actionbar)

前端 未结 11 1989
一向
一向 2021-02-04 03:41

Have the navigation Drawer working with the sherlock actionbar but i am having trouble getting the 3 line icon (like gmail) to show instead of the normal up button \"<\". He

11条回答
  •  误落风尘
    2021-02-04 03:59

    I put this in and it works.

        @Override
    protected void onPostCreate(Bundle savedInstanceState) {
        super.onPostCreate(savedInstanceState);
        // Sync the toggle state after onRestoreInstanceState has occurred.
        mDrawerToggle.syncState();
    }
    

提交回复
热议问题