| 1 |
<recipe folder="root://activities/common"> |
| 2 |
|
| 3 |
<#if !(hasDependency('com.android.support:appcompat-v7'))> |
| 4 |
<dependency mavenUrl="com.android.support:appcompat-v7:${buildApi}.+"/> |
| 5 |
</#if> |
| 6 |
|
| 7 |
<#if !(hasDependency('com.android.support:design'))> |
| 8 |
<dependency mavenUrl="com.android.support:design:${buildApi}.+"/> |
| 9 |
</#if> |
| 10 |
|
| 11 |
<instantiate from="root/res/layout/app_bar.xml.ftl" |
| 12 |
to="${escapeXmlAttribute(resOut)}/layout/${appBarLayoutName}.xml" /> |
| 13 |
|
| 14 |
<merge from="root/res/values/app_bar_dimens.xml" |
| 15 |
to="${escapeXmlAttribute(resOut)}/values/dimens.xml" /> |
| 16 |
|
| 17 |
<#include "recipe_no_actionbar.xml.ftl" /> |
| 18 |
</recipe> |