• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2    xmlns:tools="http://schemas.android.com/tools"
3    android:layout_width="match_parent"
4    android:layout_height="match_parent"
5    android:layout_marginLeft="16dp"
6    android:layout_marginRight="16dp"
7    android:baselineAligned="false"
8    android:divider="?android:attr/dividerHorizontal"
9    android:orientation="horizontal"
10    android:showDividers="middle"
11    tools:context=".${CollectionName}Activity">
12
13    <!--
14    This layout is a two-pane layout for the ${objectKindPlural}
15    master/detail flow. See res/values-large/refs.xml and
16    res/values-sw600dp/refs.xml for an example of layout aliases
17    that replace the single-pane version of the layout with
18    this two-pane version.
19
20    For more on layout aliases, see:
21    http://developer.android.com/training/multiscreen/screensizes.html#TaskUseAliasFilters
22    -->
23
24    <fragment
25        android:id="@+id/${collection_name}"
26        android:name="${packageName}.${CollectionName}Fragment"
27        android:layout_width="0dp"
28        android:layout_height="match_parent"
29        android:layout_weight="1"
30        tools:layout="@android:layout/list_content" />
31
32    <FrameLayout
33        android:id="@+id/${detail_name}_container"
34        android:layout_width="0dp"
35        android:layout_height="match_parent"
36        android:layout_weight="3" />
37
38</LinearLayout>
39