Merge pull request #111 from fkoester/patch-1

launchMode needs to be set on <activity> instead of <application>
This commit is contained in:
Michael Diarmid 2017-05-13 03:06:14 +01:00 committed by GitHub
commit 84d63fc9fc
1 changed files with 2 additions and 2 deletions

View File

@ -73,9 +73,9 @@ Add permissions:
<uses-permission android:name="android.permission.VIBRATE" />
```
Set app [launch mode](https://inthecheesefactory.com/blog/understand-android-activity-launchmode/en) inside application props:
Set app [launch mode](https://inthecheesefactory.com/blog/understand-android-activity-launchmode/en) inside activity props:
```xml
<application
<activity
...
android:launchMode="singleTop"
>