Reputation: 502
I know how to implment ActionBar
with back button. But I want to make ActionBar
invisible or with no background, I want to have only visible back button arrow. Is it possible?
Upvotes: 0
Views: 1772
Reputation: 1544
With a little of search you will find the response. Any way you can try this :
ActionBar actionBar = getSupportActionBar();
actionBar.setBackgroundDrawable(new ColorDrawable(Color.parseColor("#00000000")));
If you want to have your tab background below your ActionBar add this too :
actionBar.setStackedBackgroundDrawable(new ColorDrawable(Color.parseColor("#00000000")));
Upvotes: 1