README_en.md
1# Drag Event
2
3### Introduction
4
5This sample shows the drag operation function.
6
7### Usage
8
91. Drag an icon on the home screen to swap its position with any other icon on the home screen.
102. Drag an icon on the home screen to any position on the dock bar at the bottom.
113. Drag an icon on the dock bar to swap its position with any other icon in the dock bar.
124. You can touch an icon on the dock bar to remove it. The removed icon will be displayed on the home screen again.
13
14### Constraints
15
16This sample can only be run on standard-system devices.
17
18
README_zh.md
1# 拖拽事件
2
3### 简介
4
5本示例主要展示了拖拽操作的功能。实际效果如下:
6
7
8
9### 相关概念
10
11拖拽事件:本模块提供了界面元素拖拽的功能。
12
13### 相关权限
14
15不涉及。
16
17### 使用说明
18
191.按住桌面图标进行拖拽可以与桌面其他图标交换位置。
20
212.按住桌面图标可以拖拽至底部Dock栏任意位置。
22
233.按住底部Dock栏图标进行拖拽可以与Dock栏其他图标交换位置。
24
254.点击底部Dock栏图标可以进行移除,移除的图标可以返回到桌面上。
26
27### 约束与限制
28
291.本示例仅支持在标准系统上运行。
30
312.本示例需要使用DevEco Studio 3.0 Beta4 (Build Version: 3.0.0.992, built on July 14, 2022)才可编译运行。