增加actionbar菜单按钮
This commit is contained in:
parent
0bd1004b0e
commit
f73d38c017
|
@ -0,0 +1,40 @@
|
|||
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item
|
||||
android:id="@+id/action_about"
|
||||
android:icon="@drawable/ic_info_white_48dp"
|
||||
android:orderInCategory="10"
|
||||
android:showAsAction="ifRoom"
|
||||
android:title="@string/action_about"/>
|
||||
<item
|
||||
android:id="@+id/action_search"
|
||||
android:icon="@drawable/ic_search_white_48dp"
|
||||
android:orderInCategory="20"
|
||||
android:showAsAction="ifRoom"
|
||||
android:title="@string/action_search"/>
|
||||
<item
|
||||
android:id="@+id/action_fav"
|
||||
android:icon="@drawable/ic_favorite_white_48dp"
|
||||
android:orderInCategory="30"
|
||||
android:showAsAction="ifRoom"
|
||||
android:title="@string/action_favrate"/>
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:icon="@drawable/ic_settings_black_48dp"
|
||||
android:orderInCategory="40"
|
||||
android:showAsAction="ifRoom"
|
||||
android:title="@string/action_setting"/>
|
||||
<item
|
||||
android:id="@+id/action_submit"
|
||||
android:icon="@drawable/ic_done_white_36dp"
|
||||
android:orderInCategory="50"
|
||||
android:showAsAction="ifRoom"
|
||||
android:title="@string/action_submit"/>
|
||||
<item
|
||||
android:id="@+id/action_share"
|
||||
android:icon="@drawable/ic_share_white_48dp"
|
||||
android:orderInCategory="60"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_share"/>
|
||||
|
||||
</menu>
|
Loading…
Reference in New Issue