SkillAgentSearch skills...

PanelView

仪表盘的自定义view

Install / Use

/learn @xsfelvis/PanelView
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

PanelView

仪表盘的自定义view<br>

How to use

add a PanelView.PanelView into your xml <br>

<PanelView.PanelView
        android:id="@+id/panView"
        panel:Unit=" Km/h"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="当前速度"/>

more attrs to see values/attr,you can choose attr you need<br>

you can also change attr by calling method like,more details to see PanelView.java

setPercent(int percent);
setText(String text);
setTextSize(int size);
setArcColor(int color);
setPointerColor(int color);
setArcWidth(int width);
setPointerColor(int color);
setAcrStartColor(int acrStartColor);
setAcrEndColor(int acrEndColor);<br>
setUnit(String unit);<br>

More to see my csdn blog

我的csdn博客

View on GitHub
GitHub Stars16
CategoryDevelopment
Updated1y ago
Forks4

Languages

Java

Security Score

55/100

Audited on May 30, 2024

No findings