|
8 | 8 | <!-- <uses-sdk android:minSdkVersion="12" android:targetSdkVersion="19"/> --> |
9 | 9 | <supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/> |
10 | 10 | <application android:label="InterSpec" |
11 | | - android:theme="@style/Theme.AppCompat.NoActionBar" |
| 11 | + android:theme="@style/AppTheme" |
12 | 12 | android:usesCleartextTraffic="true" |
13 | 13 | android:networkSecurityConfig="@xml/network_security_config"> |
14 | 14 | <!-- I added InterSpec/target/android/InterSpec/app/src/main/xml/network_security_config.xml, |
@@ -37,13 +37,14 @@ ExecutorService myExecutor = Executors.newCachedThreadPool(); |
37 | 37 | --> |
38 | 38 | <activity android:name="InterSpec" |
39 | 39 | android:label="InterSpec" |
| 40 | + android:theme="@style/AppTheme" |
40 | 41 | android:icon="@mipmap/ic_launcher" |
41 | 42 | android:roundIcon="@mipmap/ic_launcher_round" |
42 | 43 | android:hardwareAccelerated="true" |
43 | 44 | android:exported="true" |
44 | | - android:windowSoftInputMode="adjustResize|stateHidden" |
45 | | - android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|locale|fontScale|keyboard|keyboardHidden|navigation" |
46 | | - android:screenOrientation="sensorLandscape" |
| 45 | + android:windowSoftInputMode="adjustPan" |
| 46 | + android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation" |
| 47 | + android:screenOrientation="unspecified" |
47 | 48 | android:launchMode="singleTask"> |
48 | 49 |
|
49 | 50 | <intent-filter |
@@ -156,6 +157,12 @@ ExecutorService myExecutor = Executors.newCachedThreadPool(); |
156 | 157 | <category android:name="android.intent.category.LAUNCHER" /> |
157 | 158 | </intent-filter> |
158 | 159 |
|
| 160 | + <intent-filter> |
| 161 | + <action android:name="android.intent.action.SEND" /> |
| 162 | + <category android:name="android.intent.category.DEFAULT" /> |
| 163 | + <data android:mimeType="*/*" /> |
| 164 | + </intent-filter> |
| 165 | + |
159 | 166 | <!-- Splash screen --> |
160 | 167 | <!-- |
161 | 168 | <meta-data android:name="android.app.splash_screen_drawable" android:resource="@drawable/logo"/> |
|
0 commit comments