Debian Codegraph @

templates/activities/BasicActivity/root/res/layout/fragment_simple.xml.ftl

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <RelativeLayout
3 xmlns:android="http://schemas.android.com/apk/res/android"
4 xmlns:tools="http://schemas.android.com/tools"
5 android:id="@+id/${simpleLayoutName}"
6 android:layout_width="match_parent"
7 android:layout_height="match_parent"
8 android:paddingLeft="@dimen/activity_horizontal_margin"
9 android:paddingRight="@dimen/activity_horizontal_margin"
10 android:paddingTop="@dimen/activity_vertical_margin"
11 android:paddingBottom="@dimen/activity_vertical_margin"
12 <#if hasAppBar && appBarLayoutName??>
13 tools:showIn="@layout/${appBarLayoutName}"
14 </#if>
15 tools:context="${relativePackage}.${fragmentClass}">
16
17 <#if isNewProject>
18 <TextView
19 android:layout_width="wrap_content"
20 android:layout_height="wrap_content"
21 android:text="Hello World!" />
22 </#if>
23
24 </RelativeLayout>