app/src/main/AndroidManifest.xml (2341 bytes)
1 <?xml version="1.0" encoding="utf-8"?> 2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"> 3 4 <!-- For the remote audio sources only. They are off until the user turns them on. --> 5 <uses-permission android:name="android.permission.INTERNET" /> 6 7 <application 8 android:allowBackup="false" 9 android:icon="@drawable/icon" 10 android:label="@string/app_name" 11 android:supportsRtl="true" 12 android:theme="@android:style/Theme.DeviceDefault.Light.NoActionBar" 13 android:usesCleartextTraffic="true"> 14 15 <!-- The settings: the dictionaries, the audio. --> 16 <activity 17 android:name=".MainActivity" 18 android:exported="true"> 19 <intent-filter> 20 <action android:name="android.intent.action.MAIN" /> 21 <category android:name="android.intent.category.LAUNCHER" /> 22 </intent-filter> 23 </activity> 24 25 <!-- 26 The pop-up. Three ways in: the text selection menu of Android ("SubRead Dictionary" 27 in the menu), the share sheet, and a plain intent from another app such as SubRead 28 Overlay. It has no task of its own, so it opens over the app that sent the text. 29 --> 30 <activity 31 android:name=".LookupActivity" 32 android:excludeFromRecents="true" 33 android:exported="true" 34 android:label="@string/lookup_label" 35 android:launchMode="singleTop" 36 android:taskAffinity="" 37 android:theme="@style/Popup"> 38 <intent-filter> 39 <action android:name="android.intent.action.PROCESS_TEXT" /> 40 <category android:name="android.intent.category.DEFAULT" /> 41 <data android:mimeType="text/plain" /> 42 </intent-filter> 43 <intent-filter> 44 <action android:name="android.intent.action.SEND" /> 45 <category android:name="android.intent.category.DEFAULT" /> 46 <data android:mimeType="text/plain" /> 47 </intent-filter> 48 <intent-filter> 49 <action android:name="space.subread.dictionary.LOOKUP" /> 50 <category android:name="android.intent.category.DEFAULT" /> 51 </intent-filter> 52 </activity> 53 </application> 54 </manifest>