xmlレイアウトシリーズ:includeタグの下のandroid:layout_below属性は使用できません

情報を調べた後の解決策は、android:layout_heightとandroid:layout_widthをオーバーロードすることです。

<include layout="@layout/layout">
    android:layout_height="match_parent"
    android:layout_width="match_parent"
    android:layout_below="@id/title_bar" />

おすすめ

転載: blog.csdn.net/zhangjin1120/article/details/114737212
おすすめ