README.md
1# picker
2
3### Introduction
4
5This sample shows how to use the **<picker\>** component to implement the common text picker, date picker, time picker, date and time picker, and multi-column text picker.
6
7### Usage
8
9In the sample, touch the text in each text box. The corresponding picker is displayed. Select any value from the picker and touch **OK**. The selected value is displayed in the text box.
10
11### Constraints
12
13This sample can only be run on standard-system devices.
14
README_zh.md
1# 滑动选择器
2
3### 简介
4
5本示例展示<picker>组件的使用方法,实现了普通选择器,日期选择器,时间选择器,时间日期选择器,多列文本选择器。
6
7实现效果如下:
8
9
10
11### 相关概念
12
13TextPicker:文本类滑动选择器组件。
14
15TimePicker:选择时间的滑动选择器组件。
16
17DatePicker:选择日期的滑动选择器组件。
18
19### 相关权限
20
21不涉及。
22
23### 使用说明
24
25点击各个显示框中的文本内容,弹出对应选择器,在选择器中选择任意值,点击确定后文本显示框中会显示所选择的值。
26
27### 约束与限制
28
291.本示例仅支持标准系统上运行。
30
312.本示例需要使用DevEco Studio 3.0 Beta4 (Build Version: 3.0.0.992, built on July 14, 2022)才可编译运行。
32