第N+1次提交
This commit is contained in:
182
app/src/main/res/layout/dialog_date_picker1.xml
Normal file
182
app/src/main/res/layout/dialog_date_picker1.xml
Normal file
@@ -0,0 +1,182 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (c) 2022 NetEase, Inc. All rights reserved. -->
|
||||
<!-- Use of this source code is governed by a MIT license that can be -->
|
||||
<!-- found in the LICENSE file. -->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/shape_dialog_bg2"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/bottpm_ly"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingRight="15dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_close_key"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginStart="15dp"
|
||||
android:src="@mipmap/user_colose_img"
|
||||
android:tint="#5D5D5D"
|
||||
tools:ignore="UseAppTint" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="选择月份"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="18sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_confirm"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="30dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:paddingStart="@dimen/dp_15"
|
||||
android:paddingRight="@dimen/dp_15"
|
||||
android:gravity="center"
|
||||
android:layout_centerVertical="true"
|
||||
android:text="@string/video_call_out_over"
|
||||
android:background="@drawable/button_true_bg1"
|
||||
android:textColor="#F6F8FD"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:background="@color/color_f7f7f7" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="@dimen/dp_2"
|
||||
android:layout_centerInParent="true">
|
||||
<View android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:background="@drawable/shengri_item_bg"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingStart="40dp"
|
||||
android:paddingTop="15dp"
|
||||
android:paddingEnd="40dp"
|
||||
android:paddingBottom="20dp">
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.datepicker.PickerView
|
||||
android:id="@+id/dpv_year"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="@dimen/picker_view_height"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:text="@string/year"
|
||||
android:layout_marginEnd="@dimen/dp_50"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/date_unit_text_size" />
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.datepicker.PickerView
|
||||
android:id="@+id/dpv_month"
|
||||
android:layout_width="40dp"
|
||||
android:layout_marginStart="@dimen/dp_50"
|
||||
android:layout_height="@dimen/picker_view_height" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:text="@string/month"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/date_unit_text_size" />
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.datepicker.PickerView
|
||||
android:id="@+id/dpv_day"
|
||||
android:layout_width="0dp"
|
||||
android:visibility="gone"
|
||||
android:layout_height="@dimen/picker_view_height"
|
||||
android:layout_weight="2" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="@string/day"
|
||||
android:visibility="gone"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/date_unit_text_size" />
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.datepicker.PickerView
|
||||
android:id="@+id/dpv_hour"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/picker_view_height"
|
||||
android:visibility="gone"
|
||||
|
||||
android:layout_weight="2" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_hour_unit"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:visibility="gone"
|
||||
|
||||
android:text="@string/hour"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/date_unit_text_size" />
|
||||
|
||||
<com.netease.yunxin.kit.common.ui.widgets.datepicker.PickerView
|
||||
android:id="@+id/dpv_minute"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/picker_view_height"
|
||||
android:visibility="gone"
|
||||
|
||||
android:layout_weight="2" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_minute_unit"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:visibility="gone"
|
||||
android:gravity="center"
|
||||
android:text="@string/minute"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="@dimen/date_unit_text_size" />
|
||||
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user