AndroidManifest.xml 1.0 KB

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. package="com.guiying.androidmodulepattern">
  4. <application
  5. android:name=".MyApplication"
  6. android:allowBackup="true"
  7. android:icon="@mipmap/ic_launcher"
  8. android:label="@string/app_name"
  9. android:supportsRtl="true"
  10. android:theme="@style/AppTheme">
  11. <!--声明整个应用程序的路由协议-->
  12. <activity
  13. android:name="com.github.mzule.activityrouter.router.RouterActivity"
  14. android:theme="@android:style/Theme.NoDisplay">
  15. <intent-filter>
  16. <action android:name="android.intent.action.VIEW" />
  17. <category android:name="android.intent.category.DEFAULT" />
  18. <category android:name="android.intent.category.BROWSABLE" />
  19. <data android:scheme="@string/global_scheme" /> <!-- 改成自己的scheme -->
  20. </intent-filter>
  21. </activity>
  22. </application>
  23. </manifest>