diff options
author | stefan-niedermann <info@niedermann.it> | 2020-03-15 20:24:14 +0300 |
---|---|---|
committer | stefan-niedermann <info@niedermann.it> | 2020-03-15 20:24:14 +0300 |
commit | fc711d851a294e273436dad8dc0267857fcfb3fa (patch) | |
tree | 33da0a12e5f638b677a5266631f2843a793f235a /app/src/main/AndroidManifest.xml | |
parent | d469d5f84512bf797312c1f38f307f947a43c494 (diff) |
#248 Add Deck as a "share to" location
Diffstat (limited to 'app/src/main/AndroidManifest.xml')
-rw-r--r-- | app/src/main/AndroidManifest.xml | 45 |
1 files changed, 34 insertions, 11 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index cc0f25840..025df338a 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -11,19 +11,20 @@ <application android:name="it.niedermann.nextcloud.deck.Application" android:allowBackup="true" + android:hardwareAccelerated="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" + android:networkSecurityConfig="@xml/network_security_config" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" - android:hardwareAccelerated="true" android:theme="@style/AppTheme" - android:networkSecurityConfig="@xml/network_security_config" tools:ignore="GoogleAppIndexingWarning"> <activity android:name=".ui.MainActivity" android:label="@string/app_name_short" android:theme="@style/SplashTheme"> + <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> @@ -41,21 +42,43 @@ </activity> <activity + android:name=".ui.SelectCardActivity" + android:label="@string/app_name_short" + android:theme="@style/SplashTheme"> + + <intent-filter> + <action android:name="android.intent.action.SEND" /> + <category android:name="android.intent.category.DEFAULT" /> + <data android:mimeType="*/*" /> + </intent-filter> + + <meta-data + android:name="android.app.shortcuts" + android:resource="@xml/shortcuts" /> + <meta-data + android:name="android.app.searchable" + android:resource="@xml/searchable" /> + <meta-data + android:name="android.app.default_searchable" + android:value=".ui.MainActivity" /> + </activity> + + <activity android:name=".ui.EditActivity" android:label="@string/edit" - android:theme="@style/AppTheme" - android:parentActivityName="it.niedermann.nextcloud.deck.ui.MainActivity" /> + android:parentActivityName="it.niedermann.nextcloud.deck.ui.MainActivity" + android:theme="@style/AppTheme" /> <activity android:name=".ui.AttachmentsActivity" - android:theme="@style/TransparentTheme" - android:parentActivityName="it.niedermann.nextcloud.deck.ui.EditActivity" /> + android:parentActivityName="it.niedermann.nextcloud.deck.ui.EditActivity" + android:theme="@style/TransparentTheme" /> <activity android:name=".ui.SettingsActivity" android:label="@string/simple_settings" - android:theme="@style/AppTheme" - android:parentActivityName="it.niedermann.nextcloud.deck.ui.MainActivity" /> + android:parentActivityName="it.niedermann.nextcloud.deck.ui.MainActivity" + android:theme="@style/AppTheme" /> <activity android:name=".ui.ImportAccountActivity" @@ -65,8 +88,8 @@ <activity android:name=".ui.AboutActivity" android:label="@string/about" - android:theme="@style/AppTheme" - android:parentActivityName="it.niedermann.nextcloud.deck.ui.MainActivity" /> + android:parentActivityName="it.niedermann.nextcloud.deck.ui.MainActivity" + android:theme="@style/AppTheme" /> <activity android:name=".ui.exception.ExceptionActivity" @@ -74,9 +97,9 @@ <service android:name=".ui.tiles.EditCardTileService" + android:description="@string/add_a_new_card_using_the_button" android:icon="@drawable/ic_app_logo" android:label="@string/add_card" - android:description="@string/add_a_new_card_using_the_button" android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"> <intent-filter> <action android:name="android.service.quicksettings.action.QS_TILE" /> |