ListView
activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<fragment
android:name="com.twl.myapplication.Fragment_Left"
android:id="@+id/fm_left"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="match_parent">
</fragment>
<fragment
android:name="com.twl.myapplication.Fragment_Right"
android:id="@+id/fm_right"
android:layout_weight="3"
android:layout_width="0dp"
android:layout_height="match_parent"></fragment>
</LinearLayout>
fm_left.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ListView
android:id="@+id/lv_left"
android:background="@color/C_group_2"
android:layout_width="match_parent"
android:layout_height="match_parent">
</ListView>
</LinearLayout>
fm_right.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:padding="20dp"
android:background="@color/C_group_3"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/iv_icon"
android:src