简体   繁体   中英

Adding home button to ActionBarSherlock

I've just implemented ActionBarSherlock im my app, but it is not showing me HOME or BACK buttons. I see only the app name.So, anyone can tell me how to fix this ?

试试这个代码:

getSupportActionBar().setHomeButtonEnabled(true);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM