여기 고정 된 꼬리말을위한 레이아웃입니다. RecyclerView
을 함유하는 Fragment
은 FrameLayout
에 붙어있다. 그러나 RecyclerView
의 내용은 바닥 글 레이아웃에 의해 겹쳐지고 있습니다.안드로이드 레이아웃의 고정 꼬리말
<RelativeLayout
android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="vertical">
<FrameLayout
android:id="@+id/home_parent_framelayout"
android:layout_height="wrap_content"
android:layout_width="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
<LinearLayout
android:id="@+id/footer_linearlayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:background="#f1c21e"
android:layout_alignParentBottom="true">
<footer layout>
</LinearLayout>
</RelativeLayout>
FrameLayout이 내가 안드로이드를 추가 할 때 그렇게 랩 내용으로 높이가 .. 당신이
FrameLayout
부모 자식이android:layout_above="@+id/linearLayout
을주는 화면에서LinearLayout
을 표시합니다 하지만 그것 위에는 많은 빈 공간 (framelayout)이 있기 때문에 높이 포장 내용이 있습니다. –그러면'FrameLayout' 높이를'match_parent'에 주면'FrameLayout' 높이가됩니다. 그것은 당신의 문제를 해결할 것입니다 .. – Ironman
@Androidjack 당신이 그것을 해결 했습니까? – Ironman