diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 27637415d..bc876e0d9 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -202,8 +202,6 @@ android:name="org.autojs.autojs.ui.error.IssueReporterActivity" android:theme="@style/IssueReporterTheme" /> - - + + + <${factory.Dialog/**对话框的挂载点 */} /> + + ` + } +}) + +startActivity(app) \ No newline at end of file diff --git "a/app/src/main/assets/sample/v7/\347\224\250\346\210\267\347\225\214\351\235\242ui/AppBar.mjs" "b/app/src/main/assets/sample/v7/\347\224\250\346\210\267\347\225\214\351\235\242ui/AppBar.mjs" index b65c2697b..a3d836894 100644 --- "a/app/src/main/assets/sample/v7/\347\224\250\346\210\267\347\225\214\351\235\242ui/AppBar.mjs" +++ "b/app/src/main/assets/sample/v7/\347\224\250\346\210\267\347\225\214\351\235\242ui/AppBar.mjs" @@ -12,7 +12,7 @@ const TopAppBar = defineComponent({ diff --git "a/app/src/main/assets/sample/v7/\347\224\250\346\210\267\347\225\214\351\235\242ui/Tabs.mjs" "b/app/src/main/assets/sample/v7/\347\224\250\346\210\267\347\225\214\351\235\242ui/Tabs.mjs" index b6889dfa9..1ac0a1f62 100644 --- "a/app/src/main/assets/sample/v7/\347\224\250\346\210\267\347\225\214\351\235\242ui/Tabs.mjs" +++ "b/app/src/main/assets/sample/v7/\347\224\250\346\210\267\347\225\214\351\235\242ui/Tabs.mjs" @@ -8,15 +8,15 @@ const { Person, Star, Home, Close, Settings } = Icons.Default const modifier = [padding(0, 5)] const tabs = [{ text: "Settings", - icon: Settings(), + icon: Settings, enabled: true, }, { text: "Home", - icon: Home(), + icon: Home, enabled: false }, { text: "Star", - icon: Star(), + icon: Star, enabled: true, } ] diff --git "a/app/src/main/assets/sample/v7/\347\224\250\346\210\267\347\225\214\351\235\242ui/\345\233\276\347\211\207\344\270\216Icon.mjs" "b/app/src/main/assets/sample/v7/\347\224\250\346\210\267\347\225\214\351\235\242ui/\345\233\276\347\211\207\344\270\216Icon.mjs" index 13e109a2b..966141276 100644 --- "a/app/src/main/assets/sample/v7/\347\224\250\346\210\267\347\225\214\351\235\242ui/\345\233\276\347\211\207\344\270\216Icon.mjs" +++ "b/app/src/main/assets/sample/v7/\347\224\250\346\210\267\347\225\214\351\235\242ui/\345\233\276\347\211\207\344\270\216Icon.mjs" @@ -14,9 +14,9 @@ const app = createApp({ return xml` Icon - + 带颜色的Icon - + 支持@drawer/ 中的资源 diff --git "a/app/src/main/assets/sample/v7/\347\224\250\346\210\267\347\225\214\351\235\242ui/\345\274\271\345\207\272\350\217\234\345\215\225.mjs" "b/app/src/main/assets/sample/v7/\347\224\250\346\210\267\347\225\214\351\235\242ui/\345\274\271\345\207\272\350\217\234\345\215\225.mjs" index 3b5b27191..ef756e25c 100644 --- "a/app/src/main/assets/sample/v7/\347\224\250\346\210\267\347\225\214\351\235\242ui/\345\274\271\345\207\272\350\217\234\345\215\225.mjs" +++ "b/app/src/main/assets/sample/v7/\347\224\250\346\210\267\347\225\214\351\235\242ui/\345\274\271\345\207\272\350\217\234\345\215\225.mjs" @@ -71,7 +71,7 @@ const M2 = defineComponent({ readOnly=${true} singleLine=${true} >