Where do I get the selection color?

by Mariano Kamp » Wed, 11 Mar 2009 20:39:45 GMT


Sponsored Links
 Hi,

  I'd like to use the standard selection color when clicking on a list item.
Where do I get it from?

Cheers,
Mariano

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



Where do I get the selection color?

by Romain Guy » Thu, 12 Mar 2009 00:57:09 GMT


 It's not a single color, but a gradient defined in a 9patch.






-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

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


Sponsored Links


Where do I get the selection color?

by Mariano Kamp » Thu, 12 Mar 2009 03:47:21 GMT


 Ah, thanks -
where can I find the gradient defined in a 9patch?






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



Other Threads

1. [WTA] Karena Harganya mirip, bingung pilih desire HD, Nexus S, Sonyericsson Arc

Guys,
lagi droid less karena kehilangan desire... :-(

mau cari pengganti tapi sumpah bingung banget... antara
DHD, Nexus S, Soner Arc.
karena ketiganya harganya mirip mirp, dan semua garansi resmi

tunggu LG optimus 2x kayaknya ga deh

pengennya :
batre ga terlalu boros, speed ok bgt untuk single core, aplikasi apapun yang
dibuat di android jalan dan ga lag.
semua sensor ada, rencana mau dev applikasi.

ada yang sudah pakai ke 3 nya?
bisa review soal batere dan hasil benchmark


Thanks...

-- 
===============

2. Use one handler for multiple activties

Hi,
I have two activties(one list view and one normal view which is
launched when an item is selected from list) in my application. I have
a background thread whihc is started when the appplication is launched
which gets data from the network conitnuously and post it to the UI
using handler. But I have two user interfaces/layouts. How can I
update the two UIs using one handler? If not possible then how to
implement two handlers? If I use two handlers then how to decide in
the background to post data to the proper handler?

Regards,
Nand

-- 

3. Need Support for Mouse Pointer in Android (mydroid)

4. Is anyone using OpenX for android ads? - If not, which ad server?

5. Xperia play - how are they filtering by device like that ?

6. Import/Export data file

7. Create Groups in Phone contacts