Created
October 25, 2016 05:46
-
-
Save fnk0/47640f8cef86d0c5550cc0b483f83ccd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.myapp"> | |
<application | |
android:name=".MyApp" | |
android:icon="@mipmap/ic_launcher" | |
android:label="@string/app_name" | |
android:theme="@style/Theme"> | |
<activity | |
android:name=".ui.home.HomeActivity"> | |
<intent-filter> | |
<action android:name="android.intent.action.MAIN"/> | |
<category android:name="android.intent.category.LAUNCHER"/> | |
</intent-filter> | |
<!-- | |
All we need to do here is specify which shortcuts or entry points have. | |
Note how the shortcuts file are added INSIDE the Activity tag with the LAUNCHER intent-filter | |
--> | |
<meta-data android:name="android.app.shortcuts" | |
android:resource="@xml/shortcuts" /> | |
</activity> | |
</application> | |
</manifest> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment