Actually I have this hamburger icon in my navigation drawer auto generated by eclipse:
I would get this result:
First thing, always show what you have tried resolve your query.
Second to answer this, try
ActionBar actionBar = getSupportActionBar();
actionBar.setLogo(R.drawable.ic_launcher);
actionBar.setDisplayUseLogoEnabled(true);
actionBar.setDisplayShowHomeEnabled(true);
将此放在您的小部件中
android:drawableRight="@drawable/image"
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.