I am trying to add a ProgressBar to my activity. I merely tried to initialise the ProgessBar using pbar.Initialize("pbar") and I get the error:
java.lang.RuntimeException: <internal>: You must supply a layout_height attribute.
The activity has some lables and imageviews before this line of code and everything works fine except for the ProgressBar. I didn't even add it to the activity using Activity.addview. I just initialised the ProgressBar before adding and got the following error. Any idea why?
NB:- I have enabled Do Not Overwrite Manifest File, due to some custom permissions I added. I assume ProgressBar is like any other view and doesn't need any special entries in the Manifest file.
java.lang.RuntimeException: <internal>: You must supply a layout_height attribute.
The activity has some lables and imageviews before this line of code and everything works fine except for the ProgressBar. I didn't even add it to the activity using Activity.addview. I just initialised the ProgressBar before adding and got the following error. Any idea why?
NB:- I have enabled Do Not Overwrite Manifest File, due to some custom permissions I added. I assume ProgressBar is like any other view and doesn't need any special entries in the Manifest file.