изменить android:orientation="horizontal"
на android:orientation="vertical"
Если вы хотите, чтобы ваш список и относительная заглушка рядом, используйте следующий код.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/setting_frag"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:baselineAligned="false"
android:orientation="horizontal">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="2"
android:baselineAligned="false"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#F00"
android:textColor="@color/white"
android:text="hello" />
<ListView
android:id="@+id/lv"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#0F0"
android:descendantFocusability="blocksDescendants" />
</LinearLayout>
<RelativeLayout
android:id="@+id/setting_dialogue"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#00F"
android:layout_weight="1">
<ViewStub
android:id="@+id/device_info_stub"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:inflatedId="@+id/device_info_stub_inflated_id"
android:layout="@layout/activity_burst_assignees" />
<ViewStub
android:id="@+id/health_check_stub"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:inflatedId="@+id/health_check_stub_inflated_id"
android:layout="@layout/activity_burst_assignees" />
<ViewStub
android:id="@+id/system_config_stub"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:inflatedId="@+id/system_config_stub_inflated_id"
android:layout="@layout/activity_burst_assignees" />
<ViewStub
android:id="@+id/database_stats_stub"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:inflatedId="@+id/database_stats_stub_inflated_id"
android:layout="@layout/activity_burst_assignees" />
<ViewStub
android:id="@+id/check_update_stub"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:inflatedId="@+id/device_info_stub_inflated_id"
android:layout="@layout/activity_burst_assignees" />
</RelativeLayout>
</LinearLayout>
Вывод кода будет выглядеть ниже