From c52aed104587a4062f76f8784cfd09b6eb54e79a Mon Sep 17 00:00:00 2001 From: adslk Date: Wed, 7 Jul 2021 10:09:05 +0800 Subject: [PATCH] add readme file of badge sample Signed-off-by: adslk --- UI/Badge/README.md | 16 ++++++++++++++++ UI/Badge/README_zh.md | 16 ++++++++++++++++ UI/Badge/{entry => }/screenshots/badge.jpg | Bin 3 files changed, 32 insertions(+) create mode 100644 UI/Badge/README.md create mode 100644 UI/Badge/README_zh.md rename UI/Badge/{entry => }/screenshots/badge.jpg (100%) diff --git a/UI/Badge/README.md b/UI/Badge/README.md new file mode 100644 index 0000000000..0e11fe262e --- /dev/null +++ b/UI/Badge/README.md @@ -0,0 +1,16 @@ +# Badge + +### Introduction + +This sample shows how to customize the color, size, position, and events to respond for badges. + +### Usage + +After you enter the home screen of your application, two types of badge examples will be displayed. + +After you touch the message box, the badge disappears. + +### Constraints + +This sample can only be run on mini-system devices. + diff --git a/UI/Badge/README_zh.md b/UI/Badge/README_zh.md new file mode 100644 index 0000000000..ba456c6cc5 --- /dev/null +++ b/UI/Badge/README_zh.md @@ -0,0 +1,16 @@ +# 事件标记控件 + +### 简介 + +本示例展示了事件标记控件(badge)的简单使用,开发者可自定义该控件的颜色、大小、放置位置、响应事件等能力。 + +### 使用说明 + +进入应用主界面后,会显示两种消息提醒示例。 + +点击消息框后,消息提醒控件会隐藏。 + +### 约束和限制 + +本示例仅支持在轻量系统上运行。 + diff --git a/UI/Badge/entry/screenshots/badge.jpg b/UI/Badge/screenshots/badge.jpg similarity index 100% rename from UI/Badge/entry/screenshots/badge.jpg rename to UI/Badge/screenshots/badge.jpg -- Gitee