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

OSCHINA-MIRROR/HarmonyOS-tpc-LoadingView

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

A short and simple permissive license with conditions only requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.

Permissions
  • Commercial use
  • Modification
  • Distribution
  • Private use
Limitations
  • Liability
  • Warranty
Conditions
  • License and copyright notice
README.md 3.6 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
gitlife-traslator Отправлено 26.11.2024 05:03 0c79582

LoadingView

Простой LoadingView для OpenHarmony с анимацией.

Скриншоты:

Id Picture Name Method
1 LVCircularCD setViewColor(int color), startAnim(int time), stopAnim()
2 LVCircularRing setViewColor(int color), setBarColor(int color), startAnim(int time), stopAnim()
3 LVCircular setViewColor(int color), setRoundColor(int color), startAnim(int time), stopAnim()
4 LVFinePoiStar setViewColor(int color), setCircleColor(int color), startAnim(int time), stopAnim(), setDrawPath(boolean isDrawPath)
5 LVCircularSmile setViewColor(int color), startAnim(int time), stopAnim()
6 LVGears setViewColor(int color), startAnim(int time), stopAnim()
7 LVGearsTwo setViewColor(int color), startAnim(int time), stopAnim()
8 LVWifi setViewColor(int color), startAnim(int time), stopAnim()
9 LVCircularJump setViewColor(int color), startAnim(int time), stopAnim()
10 LVCircularZoom setViewColor(int color), startAnim(int time), stopAnim()
11 LVPlayBall setViewColor(int color), setBallColor(int color), startAnim(int time), stopAnim()
12 LVNews setViewColor(int color), startAnim(int time), stopAnim()
13 LVLineWithText setViewColor(int color), setTextColor(int color), setValue(int value) // 0-100
14 LVEatBeans setViewColor(int color), setEyeColor(int color), startAnim(int time), stopAnim()
15 LVChromeLogo startAnim(int time), stopAnim()
16 LVRingProgress setViewColor(int color), setTextColor(int color), setPorBarStartColor(int color), setPorBarEndColor(int color), startAnim(int time), stopAnim()
17 LVBlock setViewColor(int color), isShadow(boolean boolean show), setShadowColor(int color), startAnim(int time), stopAnim()
18 LVFunnyBar setViewColor(int color), startAnim(int time), stopAnim()
19 LVGhost setViewColor(int color), setHandColor(int color), startAnim(int time), stopAnim()
20 LVBlazeWood startAnim(int time), stopAnim()
21 LVBattery setViewColor(int color), setCellColor(int color), setShowNum(boolean show), setValue(int value)//0-100, startAnim(int time), stopAnim()

Зависимости:

allprojects{
    repositories{
        mavenCentral()
    }
}
implementation 'io.openharmony.tpc.thirdlib:LoadingView:1.0.1'

Запуск:

Для запуска требуется DevEco studio и загруженный SDK. Лицензия

The MIT License (MIT)

Copyright (c) 2016 ldoublem

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

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

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

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