<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="0dp"
android:orientation="horizontal"
android:layout_weight="1">
<ImageView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:paddingHorizontal="4dp"
android:src="@drawable/logo"
android:layout_weight="1"
android:layout_gravity="left"/>
<Button
android:layout_width="0dp"
android:layout_height="wrap_content"
android:background="@drawable/search_bar"
android:drawableRight="@drawable/search"
android:hint="검색어 입력"
android:textAlignment="viewStart"
tools:ignore="RtlCompat"
android:layout_weight="3"
android:layout_gravity="center"/>
<ImageButton
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:layout_weight="1"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginBottom="5dp"
android:layout_weight="3"
android:orientation="vertical">
<cn.trinea.android.view.autoscrollviewpager.AutoScrollViewPager
android:layout_width="match_parent"
android:layout_height="100dp">
</cn.trinea.android.view.autoscrollviewpager.AutoScrollViewPager>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<GridLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
</GridLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_weight="3"
android:orientation="vertical">
<android.support.v7.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_gravity="bottom"
android:layout_weight="1">
<Button
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="match_parent"/>
<Button
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="match_parent"/>
<Button
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="match_parent"/>
<Button
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="match_parent"/>
</LinearLayout>
</LinearLayout>
해당 소스에서 마지막 RecyclerView 에서 아이템들이 스크롤할때마다 추가적으로 보이게 되는데
여기까지는 잘 되는데,
RecyclerView에서 아이템들이 많기때문에 내리면 위에 있던 ScrollView와 GridLayout등등이 밀리고 화면에 RecyclerView만 보이게 하고 싶은데 이러면 어떻게 해야 해결이 될까요..? 다시맨위로 올리면 ScrollView와 Gridlayout이 다시 보이게..