Android Question [Solved] How to create a button like this?

asales

Expert
Licensed User
Longtime User
I want to create an action bar with those buttons.
The first action bar is easy:


but how I can create this Back button?


Is better to use an image or I can change the format of the view using code (how?)?

Thanks in advance for any tip.
 

asales

Expert
Licensed User
Longtime User
Image. I don´t think that you can define any Format or Shape in the Actionbar.
Thanks, Don.
I was wondering if I could change the shape of the button. The actionbar is only a panel.
But I think using image is more easy.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I don´t know a way to change a Buttons Shape. Even not for a Panel.
I just would try to setup a 9patch drawable to the Button.

 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…