0

I'm making an example that have a actionbar on top & bottom of screen. Menu item can place in both of actionbar.

Now I'm using appcompat to create actionbar.

I've tried this post. But the menu item is only show on split actionbar not top actionbar.

Here is the result that I expected:

enter image description here

How can I do that, any suggestion are good for me.

Community
  • 1
  • 1
Tai Dao
  • 3,407
  • 7
  • 31
  • 54
  • have you tried this post? http://stackoverflow.com/questions/12077690/how-to-display-both-normal-and-split-actionbar – hendrix Sep 10 '13 at 06:43
  • The bottom controls should be part of the layout. Use a `RelativeLayout` with match_parent on width and height and put the map control on the bottom of the RelativeLayout as the last item that gets drawn. – gunar Sep 10 '13 at 06:50
  • @smitalm I've just tried, but I don't know the reason why Top actionbar doesn't show up – Tai Dao Sep 10 '13 at 08:18
  • @gunar thanks for idea, I'll try to create 2 custom View when no choice – Tai Dao Sep 10 '13 at 08:19
  • 1
    @Dolphin: you need only a custom view for bottom view. The top one can be put in the actionbar. – gunar Sep 10 '13 at 08:28
  • @gunar I've try custom both of actionbar & just bottom actionbar. Your solution are the best. Thanks for suggestion :) – Tai Dao Sep 12 '13 at 10:14

0 Answers0