<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:background="#FFF"
android:paddingBottom="50dp"
android:fillViewport="true">
<!-- 刷新提示区 -->
<RelativeLayout
android:layout_height="50dp"
android:layout_width="match_parent"
android:layout_marginTop="0dp"
android:background="#000">
</RelativeLayout>
<!-- /刷新提示区 -->
<!-- 内容列表区 -->
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_marginTop="50dp"
android:orientation="vertical"
android:background="#FFF">
<ListView
android:id="@+id/mainuserlist"
android:layout_height="match_parent"
android:scrollbarStyle="outsideOverlay"
android:scrollbarSize="1dp"
android:scrollbarThumbVertical="@drawable/bar"
android:layout_width="match_parent" >
</ListView>
</LinearLayout>
<!-- /内容列表区 -->
<!-- 固定顶部 -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_alignParentTop="true"
android:background="#0C0">
</LinearLayout>
<!-- /固定顶部 -->
<!-- 固定底部 -->
<LinearLayout
android:id="@+id/LinearLayout01"
android:layout_width="match_parent"
android:background="#EEE"
android:layout_height="50dp"
android:layout_marginBottom="-50dp"
android:layout_alignParentBottom="true"
android:orientation="vertical">
</LinearLayout>
<!-- /固定底部 -->
</RelativeLayout>