<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:baselineAligned="false" android:orientation="horizontal"> <FrameLayout android:id="@+id/master_fragment" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="1" /> <FrameLayout android:id="@+id/detail_fragment" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="2" tools:ignore="InconsistentLayout"> <TextView android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center" android:text="@string/placeholder_text" /> </FrameLayout> </LinearLayout>