summaryrefslogtreecommitdiffstats
path: root/samples/NotePad
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2011-01-27 14:57:16 -0800
committerScott Main <smain@google.com>2011-01-27 14:58:55 -0800
commit29ecb2f11d9dd968290d12235b759b81ad741cb8 (patch)
treed34d0ae7b5558f25a35b575d41c3bf497f4c3bcb /samples/NotePad
parentd7d15831d79aae53e2b7d9d402a2503e9f68dc98 (diff)
downloadandroid_development-29ecb2f11d9dd968290d12235b759b81ad741cb8.tar.gz
android_development-29ecb2f11d9dd968290d12235b759b81ad741cb8.tar.bz2
android_development-29ecb2f11d9dd968290d12235b759b81ad741cb8.zip
change notepad min sdk version to 11 and adjust action item appearance
Change-Id: I5385067b2720ebb053565cadcfe725103165abb8
Diffstat (limited to 'samples/NotePad')
-rw-r--r--samples/NotePad/AndroidManifest.xml3
-rw-r--r--samples/NotePad/res/menu/editor_options_menu.xml4
2 files changed, 4 insertions, 3 deletions
diff --git a/samples/NotePad/AndroidManifest.xml b/samples/NotePad/AndroidManifest.xml
index 63428049e..ead782925 100644
--- a/samples/NotePad/AndroidManifest.xml
+++ b/samples/NotePad/AndroidManifest.xml
@@ -22,7 +22,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.android.notepad" >
- <uses-sdk android:minSdkVersion="Gingerbread" />
+ <uses-sdk android:minSdkVersion="11" />
+
<application android:icon="@drawable/app_notes"
android:label="@string/app_name"
>
diff --git a/samples/NotePad/res/menu/editor_options_menu.xml b/samples/NotePad/res/menu/editor_options_menu.xml
index ce385a645..306139ae5 100644
--- a/samples/NotePad/res/menu/editor_options_menu.xml
+++ b/samples/NotePad/res/menu/editor_options_menu.xml
@@ -4,12 +4,12 @@
android:icon="@drawable/ic_menu_save"
android:alphabeticShortcut='s'
android:title="@string/menu_save"
- android:showAsAction="always" />
+ android:showAsAction="ifRoom|withText" />
<item android:id="@+id/menu_revert"
android:icon="@drawable/ic_menu_revert"
android:title="@string/menu_revert" />
<item android:id="@+id/menu_delete"
android:icon="@drawable/ic_menu_delete"
android:title="@string/menu_delete"
- android:showAsAction="always" />
+ android:showAsAction="ifRoom|withText" />
</menu> \ No newline at end of file