I've been trying to create my own action bar, in order to have 2 actions bars. Native one will be on bottom, and the custom one will be at the top.
I would like to have the OverFlow (the 3 dots button) button, that appears in the Native Action Bar, in my custom Action Bar.
So here are my questions:
I would prefer to do it like Questions 1..
I've been searching for the the overflow button's Icon in the drawables - but couldn't find it.
I would appreciate any help or direction,
Thanks a lot!
Yes, the native one will be at the top, and if you disable split-actionbar, there will be no action bar at the bottom. And of course it is possible to "simulate" an actionbar at the bottom of your application, by creating an action-bar-look-a-like manually.
Thought the answer to 1. is yes, It might be useful to someone else:
It's actually inside the android SDK, in platforms/android-XX/data/res/values/style.xml
The overflow menu's style definition:
<style name="Widget.Holo.ActionButton.Overflow">
<item name="android:src">@android:drawable/ic_menu_moreoverflow_holo_dark</item>
<item name="android:background">?android:attr/actionBarItemBackground</item>
<item name="android:contentDescription">@string/action_menu_overflow_description</item>
</style>
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加