Guest User

Untitled

a guest
Dec 11th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. <activity android:name="NoteEditor"
  2. android:theme="@android:style/Theme.Light"
  3. android:label="@string/title_note"
  4. android:screenOrientation="sensor"
  5. android:configChanges="keyboardHidden|orientation"
  6. >
  7. <!-- This filter says that we can view or edit the data of
  8. a single note -->
  9. <intent-filter android:label="@string/resolve_edit">
  10. <action android:name="android.intent.action.VIEW" />
  11. <action android:name="android.intent.action.EDIT" />
  12. <action android:name="com.android.notepad.action.EDIT_NOTE" />
  13. <category android:name="android.intent.category.DEFAULT" />
  14. <data android:mimeType="vnd.android.cursor.item/vnd.google.note" />
  15. </intent-filter>
  16.  
  17. <!-- This filter says that we can create a new note inside
  18. of a directory of notes. -->
  19. <intent-filter>
  20. <action android:name="android.intent.action.INSERT" />
  21. <category android:name="android.intent.category.DEFAULT" />
  22. <data android:mimeType="vnd.android.cursor.dir/vnd.google.note" />
  23. </intent-filter>
  24.  
  25. </activity>
Add Comment
Please, Sign In to add comment