[Solved] How to set background image in actionbar android [closed]
Please read this article: http://cyrilmottier.com/2013/05/24/pushing-the-actionbar-to-the-next-level/ There you will find example and tutorial about your questuion And also you can set action bar background like this. private void setActionBar() { getSupportActionBar().setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM); getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setHomeButtonEnabled(true); getSupportActionBar().setDisplayShowHomeEnabled(true); getSupportActionBar().setCustomView(R.layout.header_actionbar); getSupportActionBar().setBackgroundDrawable(new ColorDrawable(getResources().getColor(R.color.actionbar_blue))); TextView tvHeader = (TextView) findViewById(R.id.tv_title_header_actionbar); TextView tvSubheader = (TextView) findViewById(R.id.tv_subtitle_header_actionbar); tvSubheader.setVisibility(View.GONE); } call setActionBar() in your oncreate(). solved How … Read more