Add icons to action bar items
This commit is contained in:
parent
ee4a5927ab
commit
2689fd0c50
6 changed files with 4 additions and 2 deletions
BIN
res/drawable-hdpi/add.png
Normal file
BIN
res/drawable-hdpi/add.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
res/drawable-hdpi/save.png
Normal file
BIN
res/drawable-hdpi/save.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
res/drawable-mdpi/add.png
Normal file
BIN
res/drawable-mdpi/add.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
res/drawable-mdpi/save.png
Normal file
BIN
res/drawable-mdpi/save.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
|
@ -2,5 +2,6 @@
|
||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<item android:id="@+id/add_menu_save"
|
<item android:id="@+id/add_menu_save"
|
||||||
android:title="@string/add_menu_save"
|
android:title="@string/add_menu_save"
|
||||||
android:showAsAction="ifRoom|withText" />
|
android:showAsAction="ifRoom|withText"
|
||||||
|
android:icon="@drawable/save" />
|
||||||
</menu>
|
</menu>
|
||||||
|
|
|
@ -2,5 +2,6 @@
|
||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<item android:id="@+id/main_menu_add"
|
<item android:id="@+id/main_menu_add"
|
||||||
android:title="@string/main_menu_add"
|
android:title="@string/main_menu_add"
|
||||||
android:showAsAction="ifRoom|withText" />
|
android:showAsAction="ifRoom|withText"
|
||||||
|
android:icon="@drawable/add" />
|
||||||
</menu>
|
</menu>
|
||||||
|
|
Loading…
Reference in a new issue