I am having some troubles to show items in the ActionBar with AppCompat.
This code works on a normal actionbar
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:id="@+id/item1"
android:showAsAction="always"
android:title="Se connecter"
android:visible="true">
</item>
</menu>
But with the AppCompat library the item isn't shown..
What should I do ?
Thanks in advance :)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…