Android Question Progress Bar issue

3fazeac

Member
Licensed User
Longtime User
I have the simplest Progress Bar implemented, namely:

Dim PBar As ProgressBar

PBar.Initialize("")
Activity.AddView(PBar,10%x,350dip,80%x,50dip)
PBar.Height = 50dip

The positioning and horizontal dimension are correct but the height of the gray progress bar is more like 3dip than 50dip. It makes no difference what I set the PBar.Height to. Nor does changing the y value (last argument) in the AddView call make any difference.

Does anyone know what's going on? I must be doing something wrong :(
 

Attachments

  • PBarExample.zip
    323.3 KB · Views: 253
  • Screenshot_2016-04-12-16-26-50.png
    Screenshot_2016-04-12-16-26-50.png
    29.9 KB · Views: 273
Top