pull/13/head
tyhs38 3 months ago
parent d55310e999
commit b5d33a0bdd

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="deploymentTargetSelector">
<selectionStates>
<SelectionState runConfigName="app">
<option name="selectionMode" value="DROPDOWN" />
</SelectionState>
</selectionStates>
</component>
</project>

@ -39,13 +39,20 @@
</intent-filter>
</activity>
<!-- 主应用界面笔记列表Activity -->
<!-- 该Activity作为应用的入口点显示所有笔记的列表 -->
<activity
android:name=".ui.NoteEditActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:launchMode="singleTop"
android:theme="@style/NoteTheme"
android:exported="true">
android:exported="true"> <!-- 应用名称,显示在应用启动器和任务管理器中 -->
<!-- 启动模式如果目标Activity已经在栈顶则重用而不创建新实例 -->
<!-- 应用自定义主题 -->
<!-- 在窄屏幕上分割ActionBar以优化布局 -->
<!-- 当软键盘弹出时,调整窗口布局以避免遮挡内容 -->
<!-- 允许其他应用启动此Activity -->
<!-- 应用入口点配置 -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
@ -59,7 +66,11 @@
<data android:mimeType="vnd.android.cursor.item/text_note" />
<data android:mimeType="vnd.android.cursor.item/call_note" />
</intent-filter>
<!-- 插入或编辑笔记的Intent过滤器 -->
<!-- 处理插入或编辑操作 -->
<!-- 默认类别允许隐式Intent调用 -->
<!-- 支持文本笔记类型 -->
<!-- 支持通话笔记类型 -->
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
<category android:name="android.intent.category.DEFAULT" />

Loading…
Cancel
Save