Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mahdimortazavi/a355bac5a5bfa2a7054a1ec4e19c5917 to your computer and use it in GitHub Desktop.
Save mahdimortazavi/a355bac5a5bfa2a7054a1ec4e19c5917 to your computer and use it in GitHub Desktop.
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".ChildActivity"
android:label="chlidActivity"
android:parentActivityName=".MainActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity"/>
</activity>
</application>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment