Debian Codegraph @

templates/activities/common/root/res/layout/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 <#if hasAppBar && appBarLayoutName??>
6 xmlns:app="http://schemas.android.com/apk/res-auto"
7 </#if>
8 android:id="@+id/${simpleLayoutName}"
9 android:layout_width="match_parent"
10 android:layout_height="match_parent"
11 android:paddingLeft="@dimen/activity_horizontal_margin"
12 android:paddingRight="@dimen/activity_horizontal_margin"
13 android:paddingTop="@dimen/activity_vertical_margin"
14 android:paddingBottom="@dimen/activity_vertical_margin"
15 <#if hasAppBar && appBarLayoutName??>
16 app:layout_behavior="@string/appbar_scrolling_view_behavior"
17 tools:showIn="@layout/${appBarLayoutName}"
18 </#if>
19 tools:context="${relativePackage}.${activityClass}">
20
21 <#if isNewProject!false>
22 <TextView
23 <#if includeCppSupport!false>
24 android:id="@+id/sample_text"
25 </#if>
26 android:layout_width="wrap_content"
27 android:layout_height="wrap_content"
28 android:text="Hello World!" />
29 </#if>
30 </RelativeLayout>