Всем привет! Можете помочь? Мне надо чтоб вверху был ViewPager, а внизу GridView
а виден только Грид. и только он и скроллится....
<?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="wrap_content"
android:orientation="vertical">
<ScrollView
android:id="@+id/scrollView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fillViewport="true">
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<android.support.v4.view.ViewPager
android:id="@+id/view_pager"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_alignParentTop="true"/>
<GridView
android:numColumns="auto_fit"
android:id="@+id/gvGoods"
android:columnWidth="175dp"
android:gravity="center"
android:stretchMode="columnWidth"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_below="@+id/view_pager"/>
</RelativeLayout>
</ScrollView>
</LinearLayout>