How to set style to a progressBar programmatically on Android -
I have style by moving progress in style.xml when I prepare the layout, then put Progressbar there and set the style Done:
style = "@ style / progressbar style" Set the layout to the dialog and it's okay.
In order to make progress for communicating in other ways programmatically, I have the next code for progress:
New Progress Beta (Reference, Blank, R. Style progress bar style); But there is nothing like this instead of propsbar.
Do not forget the progressbar to see the PS that I set as a visual dialog.
You can set your style, for example, from Constructor:
progressBar = new progressbar (activity, empty, android.r.tprogrambarsistel); Where the third feature is the style.
In your case, I think the error is incorrect to choose just this.
Comments
Post a Comment