<?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="match_parent"
android:orientation="vertical"
android:padding="10dp">
<include
android:id="@+id/titlebar"
layout="@layout/titlebar" />
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/ll_point_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<androidx.viewpager.widget.ViewPager
android:id="@+id/viewpager"
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_marginTop="86dp" />
<RelativeLayout
android:id="@+id/div4"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_below="@id/ll_point_container"
android:layout_marginTop="300dp"
android:gravity="center_vertical"
android:paddingLeft="30dp"
android:paddingRight="30dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="商品种类"
android:textColor="@color/colorBlack"
android:textSize="20sp"
android:textStyle="bold" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:drawableRight="@drawable/right"
android:text="查看更多"
android:textColor="@color/colorBlack"
android:textSize="18sp" />
</RelativeLayout>
<GridView
android:id="@+id/index_type"
android:layout_width="match_parent"
android:layout_height="168dp"
android:layout_below="@id/div4"
android:numColumns="4"
android:paddingLeft="30dp"
android:paddingRight="30dp"
android:scrollbars="none" />
<ImageButton
android:id="@+id/ib_top"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:layout_marginRight="20dp"
android:layout_marginBottom="20dp"
android:background="@drawable/totop"
android:visibility="visible" />
<ListView
android:id="@+id/lv_home"
android:layout_width="match_parent"
android:layout_height="1000dp"
android:layout_below="@+id/titlebar"
android:layout_marginTop="440dp"
android:scrollbars="none">
</ListView>
</LinearLayout>
</ScrollView>
</LinearLayout>