Black spinner in progressbar

by fr4gus » Fri, 20 Aug 2010 02:17:35 GMT


Sponsored Links
 Hi all,

I want to use a small spinner for an indeterminate progress bar. So I
added this to my screen:

                <ProgressBar
                        android:id="@+android:id/ConnectionProgress"
                style="?android:attr/progressBarStyleSmallTitle"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content" />

But it shows a white spinner. I looked at SDK folder, and I saw there
is also a black spinner. Is it possible to indicate to user the black
spinner instead of white spinner?.

I want an "elegant" form of using that spinner that already exists in
Android, but looks I may have to copy the image to my proyect and
create the animation, and set it in "indeterminate drawable"

Any ideas?

Thanks in advance for any help.

--



Black spinner in progressbar

by Gon莽alo Ferreira » Fri, 27 Aug 2010 02:52:20 GMT


 Check out here:

 http://developer.android.com/reference/android/R.attr.html #progressBarStyleInverse

Just change the style attributes for one of those in the link.
The attributes with the suffix Inverse are black spinners, usually for
a light background.




--


Sponsored Links


Black spinner in progressbar

by Gon莽alo Ferreira » Fri, 27 Aug 2010 02:52:25 GMT


 Check out here.

 http://developer.android.com/reference/android/R.attr.html #progressBarStyleInverse

Just change the style for one of those in that link.
The attributes with the suffix Inverse are black spinners, usually for
light backgrounds.




--



Black spinner in progressbar

by fr4gus » Tue, 31 Aug 2010 00:27:36 GMT


 Thanks! :)





--



Black spinner in progressbar

by Gon莽alo Ferreira » Tue, 07 Sep 2010 19:14:19 GMT


 Just an update relating to this subject.

The color of the the spinners depends on the theme you're using.
So when you use a Black theme (default) the Inverse Spinners will be
white and vice-versa, not exactly the way i said before.







--



Other Threads

1. Is there a way to get icons for apps on the Market?

Just wondering if it is possible to get icons for applications on the
Android Market?

For example, if there is an application called
"com.mycompany.someapp", is there a way to programmatically grab an
image (icon) for that application either through an Android API or by
simply downloading it from someplace on the net? I know it is possible
to get the icon for an installed app using the PackageManager API;
however, I don't believe that works for apps that are not installed.

Failing that, since PackageManager can get a list of icons for
installed applications, it should be possible to compile a fairly
comprehensive list by creating an app that queries the PackageManger
and uploads all the installed app icons to a webserver. That's not as
nice as a true API, but it seems like it would work reasonably well.
Can anyone think of anything particularly wrong with that approach?

Thanks for your ideas and suggestions.
--~--~---------~--~----~------------~-------~--~----~

2. In which layout it can easy to arrange the more number of editviewfield and textview.

In which layout it can easy to arrange the more number of editviewfield and
textview..........


for example to create New user page...........

can u tel me pls...


thanks,

with regards,
Raghav.S

--~--~---------~--~----~------------~-------~--~----~

3. advice sought - grid of thumbnails that do something when you click on them.

4. How i get the Selected item from the list Adapter.

5. zip files in resources

6. View with both text and progress bar

7. Make some part of an image transparent: Cut a hole to see the background image