Wednesday, March 5, 2014

Advanced Usage android progressBar, and seek advice ~


Will the next brightest Great God:
progressBar how to make custom style progress bar can end with a picture? Do not replicate onDraw () methods. If this effect:

Brother in this gratitude you for the first ~ ~ ~<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Bangniding
Reply:
Own use XML to achieve a LayerDrawable, then set it to the ProgressBar progressDrawable.
Defined in the Web search LayerDrawable custom ProgrsssBar
@ Android: id / background with the picture above to remove the blue progress bar, made NinePatch, empty out the pattern around
@ Android: id / progress with the blue progress bar above, also made NinePatch
Note the blue progress bar so stay well than white, do not cover the pattern on the background around
Reply:
Well, you can achieve with this approach is indeed ~ ~ ~ but still do so after reaching one hundred percent will show that pattern. . .
I hope not show up after a hundred percent, XML progressbar android I've seen in such a way as if there is, it is nowhere to be found. . .
Thank you for your answer, or special ha ~ ~ ~
Reply:
cited a floor a394268045 reply:
Bangniding
Thank Bangding ~

No comments:

Post a Comment