Home | History | Annotate | Download | only in root
      1 <manifest xmlns:android="http://schemas.android.com/apk/res/android">
      2 
      3     <application>
      4         <activity android:name=".${CollectionName}Activity"
      5             <#if isNewProject>
      6             android:label="@string/app_name"
      7             <#else>
      8             android:label="@string/title_${collection_name}"
      9             </#if>
     10             <#if buildApi gte 16 && parentActivityClass != "">android:parentActivityName="${parentActivityClass}"</#if>>
     11             <#if parentActivityClass != "">
     12             <meta-data android:name="android.support.PARENT_ACTIVITY"
     13                 android:value="${parentActivityClass}" />
     14             </#if>
     15             <#if isLauncher>
     16             <intent-filter>
     17                 <action android:name="android.intent.action.MAIN" />
     18                 <category android:name="android.intent.category.LAUNCHER" />
     19             </intent-filter>
     20             </#if>
     21         </activity>
     22 
     23         <activity android:name=".${DetailName}Activity"
     24             android:label="@string/title_${detail_name}"
     25             <#if buildApi gte 16>android:parentActivityName=".${CollectionName}Activity"</#if>>
     26             <meta-data android:name="android.support.PARENT_ACTIVITY"
     27                 android:value=".${CollectionName}Activity" />
     28         </activity>
     29     </application>
     30 
     31 </manifest>
     32