Devlight / Devlight/ArcProgressStackView
Possible bug with app:apsv_model_offset="10dp"
- Vorherrschende Sprache
- Java
- Sterne
- 1.3k
- Forks
- 203
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- android, java
- Bereich
- mobile-dev
- Issue-Typ
- Bug
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- Unter einer Stunde
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 55/100