Skip to content

Commit

Permalink
fixes for uses-feature, action bar items
Browse files Browse the repository at this point in the history
  • Loading branch information
commonsguy committed Nov 5, 2012
1 parent decfeec commit 9e0286b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions NFC/SecretAgentMan/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

<uses-permission android:name="android.permission.NFC"/>

<uses-feature
android:name="android.hardware.nfc"
android:required="true"/>

<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="15"/>
Expand Down
4 changes: 2 additions & 2 deletions NFC/SecretAgentMan/res/menu/activity_main.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/write_tag" android:title="@string/write_tag" android:showAsAction="ifRoom|withText"></item>
<item android:id="@+id/simple_beam" android:title="@string/beam" android:showAsAction="ifRoom|withText"></item>
<item android:id="@+id/file_beam" android:title="@string/file_beam" android:showAsAction="ifRoom|withText"></item>
<item android:id="@+id/simple_beam" android:title="@string/beam" android:showAsAction="ifRoom|withText" android:enabled="false"></item>
<item android:id="@+id/file_beam" android:title="@string/file_beam" android:showAsAction="ifRoom|withText" android:enabled="false"></item>
</menu>

0 comments on commit 9e0286b

Please sign in to comment.