Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit has private access ! #169

Closed
eakteam opened this issue Jan 3, 2020 · 7 comments
Closed

Unit has private access ! #169

eakteam opened this issue Jan 3, 2020 · 7 comments
Labels
Bug bug!!

Comments

@eakteam
Copy link

eakteam commented Jan 3, 2020

APT app:hightspeedcolor not found

But in the documentation it says that we can use those attributes :

app:unit="m/s"
app:maxSpeed="220"
app:minSpeed="-50"
app:withTremble="false"
app:backgroundCircleColor="#f00"
app:speedometerWidth="35dp"
app:indicatorColor="#2b38e6"
app:centerCircleColor="#b2f941ff"

app:lowSpeedColor="#58ed21"
app:mediumSpeedColor="#edd029"
app:highSpeedColor="#ec2f33"

app:markColor="#99000000"
app:textColor="#e23900"
app:speedTextColor="#000000"
app="unitTextSize"="12sp"
app="trembleDegree"="8"
app="trembleDuration"="2000"
app="startDegree"="180"
app="endDegree"="360"
app="lowSpeedPercent"="25"
app="mediumSpeedPercent"="75"
app="speedometerTextRightToLeft"="true"

@anastr
Copy link
Owner

anastr commented Jan 4, 2020

these attributes are deprecated, please take a look at 1.5.0 log and Style page.

@anastr anastr closed this as completed Jan 4, 2020
@mordOccano
Copy link

mordOccano commented Jan 28, 2020

first of all, thank you very much.
is the method setUnit deprecated?
again, thanks

@anastr
Copy link
Owner

anastr commented Jan 28, 2020

try to access to unit directly:

speedometer.unit = "YOUR_UNIT"

@anastr
Copy link
Owner

anastr commented Jan 28, 2020

looks like unit has private access this line, this should be fixed.

@anastr anastr reopened this Jan 28, 2020
@anastr anastr changed the title Some XML attributes not found on version 1.5.0 Unit has private access ! Jan 28, 2020
@mordOccano
Copy link

mordOccano commented Jan 28, 2020 via email

@anastr anastr added the Bug bug!! label Feb 14, 2020
@anastr
Copy link
Owner

anastr commented Feb 23, 2020

fixed in new version c93b5e1.

@anastr anastr closed this as completed Feb 23, 2020
@eakteam
Copy link
Author

eakteam commented Feb 23, 2020

@anastr , thanks :) !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug bug!!
Projects
None yet
Development

No branches or pull requests

3 participants