OK I finally figured it out.  For anyone else that wants to implement
a horizontal progress bar with only code, create it like this:

" ProgressBar pb = new ProgressBar(context, null,
android.R.attr.progressBarStyleHorizontal); "

On Jul 22, 12:23 am, Hayden <[email protected]> wrote:
> I have been searching forever and have not found a way to create a
> horizontal progress bar at runtime (I don't want to use XML).  How can
> I set this XML attribute, as seen in this 
> posthttp://groups.google.com/group/android-beginners/browse_thread/thread...,
> programmatically?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to