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