Apps Google+ & Google Reader App Menu Bars?

Laxidasical

Newbie
Is there a quick and easy way to create app menu bars like the ones at the top of the Google+ and Google Reader apps??? Basically, I'm speaking of the bar at the very top that contains the app title/logo and a few buttons to the right.

20110830_013446.jpg
20110830_013504.jpg


Is there a standard way of doing this like when editing the Action Bar in Honeycomb, or is this simply a RelativeLayout???
 

Laxidasical

Newbie
Thread starter
Thanks again alostpacket! Are fragments harder to grasp in general, or is there another reason you don't recommend learning them right away?

Also, I did something similar to the tutorial for my AdMob banner so that it will always display at the bottom.
 

alostpacket

Over Macho Grande?
Think of fragments as like a wrapper for things. Easier just to learn after you learn the "things" themselves. Also they are mostly useful for porting your app to honeycomb/tablets. I'm still wraping my head around them :)
 

Laxidasical

Newbie
Thread starter
Sorry to revive this old post, but I'm having some trouble...

I've created a menu that is very similar to the screen shots above. However, I can't quite figure out how to make the buttons always stay flush to the right and logo / app name field auto fill the remaining screen space (ie after a screen rotation).

I'm sure the solution has something to do with the the layout_width attribute but I can't figure out how exactly. Any help will be greatly appreciated!!!

UPDATE:

Solved...I had to switch from a RelativeLayout to a LinearLayout and add android:layout_weight="1" to the field that I wanted to auto expand.
 
Top