123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/select_date"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="#00000000"
- android:gravity="bottom"
- android:orientation="vertical">
- <LinearLayout
- android:id="@+id/select_date_child"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="#ffffff"
- android:orientation="vertical">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="44dp">
- <TextView
- android:id="@+id/but_cancel"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_alignParentLeft="true"
- android:layout_marginRight="15dip"
- android:gravity="center"
- android:paddingLeft="12dp"
- android:text="取消"
- android:textColor="#e84515"
- android:textSize="13sp" />
- <TextView
- android:id="@+id/but_send"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_alignParentRight="true"
- android:gravity="center"
- android:paddingRight="12dp"
- android:text="完成"
- android:textColor="#e84515"
- android:textSize="12sp" />
- </RelativeLayout>
- <LinearLayout
- android:id="@+id/time_linear"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:background="@mipmap/begin_time_bg"
- android:orientation="horizontal">
- <LinearLayout
- android:id="@+id/start_time_linear"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:gravity="center"
- android:orientation="vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="开始于"
- android:textSize="12sp" />
- <TextView
- android:id="@+id/start_time"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="2018-05-19 18:18"
- android:textColor="#000000"
- android:textSize="15sp" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/end_time_linear"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:gravity="center"
- android:orientation="vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="结束于"
- android:textSize="12sp" />
- <TextView
- android:id="@+id/end_time"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="2018-05-19 18:18"
- android:textColor="#000000"
- android:textSize="15sp" />
- </LinearLayout>
- </LinearLayout>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <LinearLayout
- android:id="@+id/start_linear"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center_vertical"
- android:orientation="horizontal">
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:paddingBottom="10dp"
- android:paddingTop="10dp"
- android:text="年"
- android:textColor="@android:color/black" />
- <com.yanyi.datelib.wheelview.WheelView
- android:id="@+id/start_year"
- android:layout_width="match_parent"
- android:layout_height="160dp"
- android:layout_gravity="center_vertical"
- android:layout_weight="1" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:paddingBottom="10dp"
- android:paddingTop="10dp"
- android:text="月"
- android:textColor="@android:color/black" />
- <com.yanyi.datelib.wheelview.WheelView
- android:id="@+id/start_month"
- android:layout_width="match_parent"
- android:layout_height="160dp"
- android:layout_gravity="center_vertical"
- android:layout_weight="1" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:paddingBottom="10dp"
- android:paddingTop="10dp"
- android:text="日"
- android:textColor="@android:color/black" />
- <com.yanyi.datelib.wheelview.WheelView
- android:id="@+id/start_day"
- android:layout_width="match_parent"
- android:layout_height="160dp"
- android:layout_gravity="center_vertical"
- android:layout_weight="1" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/start_hour_linear"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:paddingBottom="10dp"
- android:paddingTop="10dp"
- android:text="时"
- android:textColor="@android:color/black" />
- <com.yanyi.datelib.wheelview.WheelView
- android:id="@+id/start_hour"
- android:layout_width="match_parent"
- android:layout_height="160dp"
- android:layout_gravity="center_vertical"
- android:layout_weight="1" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/start_minute_linear"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:paddingBottom="10dp"
- android:paddingTop="10dp"
- android:text="分"
- android:textColor="@android:color/black" />
- <com.yanyi.datelib.wheelview.WheelView
- android:id="@+id/start_minute"
- android:layout_width="match_parent"
- android:layout_height="160dp"
- android:layout_gravity="center_vertical"
- android:layout_weight="1" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/end_linear"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:visibility="gone">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center_vertical"
- android:orientation="horizontal">
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:paddingBottom="10dp"
- android:paddingTop="10dp"
- android:text="年"
- android:textColor="@android:color/black" />
- <com.yanyi.datelib.wheelview.WheelView
- android:id="@+id/end_year"
- android:layout_width="match_parent"
- android:layout_height="160dp"
- android:layout_gravity="center_vertical"
- android:layout_weight="1" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:paddingBottom="10dp"
- android:paddingTop="10dp"
- android:text="月"
- android:textColor="@android:color/black" />
- <com.yanyi.datelib.wheelview.WheelView
- android:id="@+id/end_month"
- android:layout_width="match_parent"
- android:layout_height="160dp"
- android:layout_gravity="center_vertical"
- android:layout_weight="1" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:paddingBottom="10dp"
- android:paddingTop="10dp"
- android:text="日"
- android:textColor="@android:color/black" />
- <com.yanyi.datelib.wheelview.WheelView
- android:id="@+id/end_day"
- android:layout_width="match_parent"
- android:layout_height="160dp"
- android:layout_gravity="center_vertical"
- android:layout_weight="1" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/end_hour_linear"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:paddingBottom="10dp"
- android:paddingTop="10dp"
- android:text="时"
- android:textColor="@android:color/black" />
- <com.yanyi.datelib.wheelview.WheelView
- android:id="@+id/end_hour"
- android:layout_width="match_parent"
- android:layout_height="160dp"
- android:layout_gravity="center_vertical"
- android:layout_weight="1" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/end_minute_linear"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:paddingBottom="10dp"
- android:paddingTop="10dp"
- android:text="分"
- android:textColor="@android:color/black" />
- <com.yanyi.datelib.wheelview.WheelView
- android:id="@+id/end_minute"
- android:layout_width="match_parent"
- android:layout_height="160dp"
- android:layout_gravity="center_vertical"
- android:layout_weight="1" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- </RelativeLayout>
- </LinearLayout>
- </LinearLayout>
|