Thin progress bar

Basically what I want is a simple progressbar with a custom layout to be just a 2dp - 3dp thin line, used to show some progress (RAM used), something like this one:

http://www.uiparade.com/portfolio/dark-progress-loader/#

Could someone recommend me the best approach to do this?

Thanks in advance!.

Upvotes: 0

Views: 1724

Answers (1)

Jeffrey Blattman
Jeffrey Blattman

Reputation: 22637

you can set a custom drawable and a ProgressBar. here's a post that talks about it can shows how it can be done,

Custom Drawable for ProgressBar/ProgressDialog

of course, the hard part is correctly designing the drawable to get the look you want. that's left as an exercise for the reader.

Upvotes: 1

Related Questions