mirror of
https://gitee.com/openharmony/applications_app_samples
synced 2024-11-23 08:30:06 +00:00
add readme file of badge sample
Signed-off-by: adslk <liuxin283@huawei.com>
This commit is contained in:
parent
f483a1ca72
commit
c52aed1045
16
UI/Badge/README.md
Normal file
16
UI/Badge/README.md
Normal file
@ -0,0 +1,16 @@
|
||||
# Badge<a name="EN-US_TOPIC_0000001172354593"></a>
|
||||
|
||||
### Introduction<a name="section104mcpsimp"></a>
|
||||
|
||||
This sample shows how to customize the color, size, position, and events to respond for badges.
|
||||
|
||||
### Usage<a name="section107mcpsimp"></a>
|
||||
|
||||
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<a name="section112mcpsimp"></a>
|
||||
|
||||
This sample can only be run on mini-system devices.
|
||||
|
16
UI/Badge/README_zh.md
Normal file
16
UI/Badge/README_zh.md
Normal file
@ -0,0 +1,16 @@
|
||||
# 事件标记控件<a name="ZH-CN_TOPIC_0000001172354593"></a>
|
||||
|
||||
### 简介<a name="section104mcpsimp"></a>
|
||||
|
||||
本示例展示了事件标记控件(badge)的简单使用,开发者可自定义该控件的颜色、大小、放置位置、响应事件等能力。
|
||||
|
||||
### 使用说明<a name="section107mcpsimp"></a>
|
||||
|
||||
进入应用主界面后,会显示两种消息提醒示例。
|
||||
|
||||
点击消息框后,消息提醒控件会隐藏。
|
||||
|
||||
### 约束和限制<a name="section112mcpsimp"></a>
|
||||
|
||||
本示例仅支持在轻量系统上运行。
|
||||
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Loading…
Reference in New Issue
Block a user