Ashok
Ashok

Reputation: 637

How can I design a Custom ActionBar?

I am new to the ActionBar. I got the functionality but how do I design my own actionbar as in the image below:

enter image description here

this my requirement: How to design a custom actionbar. Does anyone know? Thanks to all


Upvotes: 0

Views: 74

Answers (1)

you can use your own layout and apply with:

ActionBar mActionBar = getSupportActionBar();

mActionBar.setCustomView(R.layout.your_layout);

Hope it helps you!!

Upvotes: 1

Related Questions