Action bar item is not showing up in android -
i not sure how put it. so, please pardon me if doesn't sound right. problem weird one. have menu file describes action bar menu follows -
<?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android" > <item android:id="@+id/phone" android:icon="@drawable/phone_action_bar" android:orderincategory="1" android:showasaction="always" android:title="call"> </item> <item android:id="@+id/add_to_favourites" android:icon="@drawable/fav" android:orderincategory="2" android:showasaction="never" android:title="add favourites"> </item> <item android:id="@+id/share" android:icon="@drawable/share" android:orderincategory="3" android:showasaction="never" android:title="share ad"> </item> </menu>
the problem here first item not displaying. items 100 in order in category. changed them sequential numbers see if made difference. did not. last 2 items show fine. show action bar items when change them android:showasaction="always". first item doesn't show up. confusing there apparently no difference in items definitions. doing wrong here. please me suggestions. in advance.
Comments
Post a Comment