B4A Class [B4X] [XUI] [custom view] CircularProgressBar

Status
Not open for further replies.

Brandsum

Well-Known Member
Licensed User
There is a problem. When I set HorizontalAnchor and VerticalAnchor to both sides to place it in the center in designer window, I'm getting this error while loading the layout file.

B4X:
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
Panel size is unknown. Layout may not be loaded correctly.
Error occurred on line: 39 (CircularProgressBar)
java.lang.IllegalArgumentException: width and height must be > 0
    at android.graphics.Bitmap.createBitmap(Bitmap.java:1033)
    at android.graphics.Bitmap.createBitmap(Bitmap.java:1000)
    at android.graphics.Bitmap.createBitmap(Bitmap.java:950)
    at android.graphics.Bitmap.createBitmap(Bitmap.java:911)
    .....
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…