1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/HarmonyOS-tpc-TriangleLabelView

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать

A permissive license whose main conditions require preservation of copyright and license notices. Contributors provide an express grant of patent rights. Licensed works, modifications, and larger works may be distributed under different terms and without source code.

Permissions
  • Commercial use
  • Modification
  • Distribution
  • Patent use
  • Private use
Limitations
  • Trademark use
  • Liability
  • Warranty
Conditions
  • License and copyright notice
  • State changes
README.md 1.6 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
gitlife-traslator Отправлено 24.11.2024 15:12 ec60c61

TriangleLabelView

Показать компонент треугольника.

Как использовать

Gradle-зависимость:

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

Чтобы увидеть, как TriangleLabelView добавляется в ваши XML-макеты, проверьте пример проекта.

<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" />

Лицензия

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.

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/HarmonyOS-tpc-TriangleLabelView.git
git@api.gitlife.ru:oschina-mirror/HarmonyOS-tpc-TriangleLabelView.git
oschina-mirror
HarmonyOS-tpc-TriangleLabelView
HarmonyOS-tpc-TriangleLabelView
master