Devlight / Devlight/ArcProgressStackView

Possible bug with app:apsv_model_offset="10dp"

Abierto
#18 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
1.3k
Forks
203
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

When set app:apsv_model_offset="10dp" the circles get cut by the edges of the view, the solution is in the line 827 of the ArcProgressStackView.java

Change
final float modelOffset = (mProgressModelSize * i) +
(paintOffset + shadowOffset) - (mProgressModelOffset * i);

With
final float modelOffset = (mProgressModelSize * i) +
(paintOffset + shadowOffset) + (mProgressModelOffset * i);

if you put + (mProgressModelOffset * i); works perfectly

Hope this help
Best Regards

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Open ArcProgressStackView.java and inspect line 827, where modelOffset is calculated. Reproduce the app:apsv_model_offset="10dp" case if possible, then verify that the circles are no longer cut by the view edges and that the offset calculation matches the reported correction.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
android, java
Área
mobile-dev
Tipo de issue
Error
Dificultad
1/5
Tiempo estimado
Menos de una hora
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
55/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.