| <?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"> | 
|   | 
|   | 
|     <RelativeLayout | 
|         android:layout_width="match_parent" | 
|         android:background="#ffffff" | 
|         android:layout_height="45dp"> | 
|   | 
|         <TextView | 
|             android:id="@+id/bt_cancel" | 
|             android:layout_width="wrap_content" | 
|             android:layout_height="match_parent" | 
|             android:layout_marginLeft="20dp" | 
|             android:gravity="center" | 
|             android:text="取  消" | 
|             android:textColor="@color/title_bg" | 
|             android:textSize="19sp" /> | 
|   | 
|         <TextView | 
|             android:id="@+id/bt_add" | 
|             android:layout_width="wrap_content" | 
|             android:layout_height="match_parent" | 
|             android:layout_alignParentRight="true" | 
|             android:layout_marginRight="20dp" | 
|             android:gravity="center" | 
|             android:text="确  定" | 
|             android:textColor="@color/title_bg" | 
|             android:textSize="19sp" /> | 
|   | 
|   | 
|     </RelativeLayout> | 
|   | 
|     <!--此部分需要完整复制过去,删减或者更改ID会导致初始化找不到内容而报空--> | 
|     <LinearLayout | 
|         android:id="@+id/optionspicker" | 
|         android:layout_width="fill_parent" | 
|         android:layout_height="wrap_content" | 
|         android:minHeight="150dp" | 
|         android:gravity="center" | 
|         android:background="@android:color/white" | 
|         android:orientation="horizontal"> | 
|   | 
|         <com.contrarywind.view.WheelView | 
|             android:id="@+id/options1" | 
|             android:layout_width="0dp" | 
|             android:layout_height="match_parent" | 
|             android:layout_weight="1" /> | 
|   | 
|         <com.contrarywind.view.WheelView | 
|             android:id="@+id/options2" | 
|             android:layout_width="0dp" | 
|             android:layout_height="match_parent" | 
|             android:layout_weight="1" /> | 
|   | 
|         <com.contrarywind.view.WheelView | 
|             android:id="@+id/options3" | 
|             android:layout_width="0dp" | 
|             android:layout_height="match_parent" | 
|             android:layout_weight="1" /> | 
|     </LinearLayout> | 
| </LinearLayout> |