5 Star 0 Fork 0

HarmonyOS-TPC / TriangleLabelView

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.md 1.49 KB
一键复制 编辑 原始数据 按行查看 历史
yxf 提交于 2021-04-20 14:21 . modify README.md

TriangleLabelView

Show triangle Component. How to Use

Gradle Dependency

implementation "io.openharmony.tpc.thirdlib:TriangleLabelView:1.0.1"

To see how the TriangleLabelView are added to your xml layouts, check the sample project.

<jp.shts.android.library.TriangleLabelView
        ohos:id="$+id:left_top_no_1111"
        ohos:width="match_parent"
        ohos:height="match_parent"

        ohos:align_parent_left="true"
        ohos:align_parent_top="true"

        ohos:backgroundColor="#F57F17"
        ohos:corner="leftTop"
        ohos:labelBottomPadding="5vp"
        ohos:labelCenterPadding="0vp"
        ohos:labelTopPadding="10vp"
        ohos:primaryText="New"
        ohos:primaryTextColor="#FFEB3B"
        ohos:primaryTextSize="16fp"
        ohos:secondaryText="01"
        ohos:secondaryTextColor="#FFF9C4"
        ohos:secondaryTextSize="11fp" />

License

Copyright (C) 2016 Shota Saito

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
1
https://gitee.com/HarmonyOS-tpc/TriangleLabelView.git
git@gitee.com:HarmonyOS-tpc/TriangleLabelView.git
HarmonyOS-tpc
TriangleLabelView
TriangleLabelView
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891