From 2689fd0c5010d6e97616dfbc8557d0828b3d4064 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Fri, 10 Aug 2012 20:08:50 +0200 Subject: Add icons to action bar items --- res/drawable-hdpi/add.png | Bin 0 -> 1142 bytes res/drawable-hdpi/save.png | Bin 0 -> 1335 bytes res/drawable-mdpi/add.png | Bin 0 -> 1090 bytes res/drawable-mdpi/save.png | Bin 0 -> 1191 bytes res/menu/add_activity.xml | 3 ++- res/menu/main_activity.xml | 3 ++- 6 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 res/drawable-hdpi/add.png create mode 100644 res/drawable-hdpi/save.png create mode 100644 res/drawable-mdpi/add.png create mode 100644 res/drawable-mdpi/save.png diff --git a/res/drawable-hdpi/add.png b/res/drawable-hdpi/add.png new file mode 100644 index 0000000..ad8ada6 Binary files /dev/null and b/res/drawable-hdpi/add.png differ diff --git a/res/drawable-hdpi/save.png b/res/drawable-hdpi/save.png new file mode 100644 index 0000000..53cf687 Binary files /dev/null and b/res/drawable-hdpi/save.png differ diff --git a/res/drawable-mdpi/add.png b/res/drawable-mdpi/add.png new file mode 100644 index 0000000..4d5d484 Binary files /dev/null and b/res/drawable-mdpi/add.png differ diff --git a/res/drawable-mdpi/save.png b/res/drawable-mdpi/save.png new file mode 100644 index 0000000..35cda8e Binary files /dev/null and b/res/drawable-mdpi/save.png differ diff --git a/res/menu/add_activity.xml b/res/menu/add_activity.xml index e0defc0..4d59634 100644 --- a/res/menu/add_activity.xml +++ b/res/menu/add_activity.xml @@ -2,5 +2,6 @@ + android:showAsAction="ifRoom|withText" + android:icon="@drawable/save" /> diff --git a/res/menu/main_activity.xml b/res/menu/main_activity.xml index ce1512b..d2f94bd 100644 --- a/res/menu/main_activity.xml +++ b/res/menu/main_activity.xml @@ -2,5 +2,6 @@ + android:showAsAction="ifRoom|withText" + android:icon="@drawable/add" /> -- cgit v1.2.3-54-g00ecf