<?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:background="@color/white" android:orientation="vertical" > <include layout="@layout/top"/> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" > <TextView android:layout_marginBottom="10dp" android:layout_marginTop="10dp" android:id="@+id/tvLocalAddress" android:layout_width="wrap_content" android:layout_height="wrap_content" android:drawablePadding="@dimen/size_dp_5" android:drawableRight="@drawable/pull_black" android:gravity="center" android:paddingLeft="@dimen/size_dp_15" android:text="杭州" android:textColor="@color/textColor" android:textSize="@dimen/sp_16" /> <LinearLayout android:layout_width="wrap_content" android:layout_weight="1" android:layout_height="wrap_content" android:layout_marginRight="@dimen/size_dp_15" android:paddingTop="5dp" android:paddingBottom="5dp" android:background="@drawable/rudiobtn_gray" android:layout_gravity="center_vertical" > <EditText android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10dp" android:layout_weight="1" android:hint="请输入搜索内容" android:textSize="@dimen/sp_16" android:gravity="center_horizontal" android:background="@null" /> <ImageView android:layout_width="40dp" android:layout_height="match_parent" android:src="@drawable/search_black" android:layout_marginRight="15dp" android:layout_gravity="center_vertical" /> </LinearLayout> </LinearLayout> <FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" android:background="@android:color/white"> <android.support.v7.widget.RecyclerView android:id="@+id/schoollist" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="center" android:divider="@null" /> <TextView android:id="@+id/dialog" android:layout_width="80.0dip" android:layout_height="80.0dip" android:layout_gravity="center" android:background="@drawable/progress_bg" android:gravity="center" android:textColor="#ffffffff" android:textSize="30.0dip" android:visibility="invisible" /> <com.shunzhi.parent.views.SideBar android:id="@+id/sidrbar" android:layout_width="30.0dip" android:layout_height="fill_parent" android:layout_gravity="right|center" android:background="#77dddddd" android:layout_marginBottom="5dp" android:layout_marginTop="5dp" /> </FrameLayout> <TextView android:id="@+id/go_next" android:layout_width="match_parent" android:layout_height="40dp" android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:text="下一步" android:textColor="@color/white" android:textSize="@dimen/txtsize_title" android:gravity="center" android:background="@drawable/rudiobtn" android:layout_marginBottom="10dp" /> </LinearLayout>