user1320990
user1320990

Reputation:

How to make the instagram actionbar style for android?

I know how to make the gradient and the logo. But I don`t know how to add all that different borders and how to add the refresh icon (that also has some custom border around it).

Instagram Action Bar:
http://img155.imageshack.us/img155/1738/instagramactionbar.png

How is that possible?

Upvotes: 1

Views: 3235

Answers (2)

babbitt
babbitt

Reputation: 901

I'd look at the provided ActionBar and ActionBarCompat. It has hooks for producing basic, as well as complex action bars.

Upvotes: 0

Cody Caughlan
Cody Caughlan

Reputation: 32758

You can do it by using a horizontal LinearLayout with 2 children, the left hand column with the logo and the right hand column with the refresh button. You can create a background drawable using the Shape XML:

http://developer.android.com/guide/topics/resources/drawable-resource.html#Shape

Upvotes: 2

Related Questions