Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Trusted Contributor
Posts: 115
Registered: ‎11-16-2011
My Device: Smartphone Storm 9900
My Carrier: 3

how to create custom ListField color Font?

im create listfield in one rows separated 2 text... rowhheight is 2*font.getHeight...

and now i want to set color on text1 black...and on text is Gray....

like this


text1      <--------- black

text2     <------------ Gray



any solutions? thanks for advanced

Posts: 17,005
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: how to create custom ListField color Font?

in drawListRow use graphics.setColor before you draw the second row.
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter