Welcome!

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

Reply
Highlighted
New Contributor
Posts: 6
Registered: ‎03-02-2010
My Device: 8900
My Carrier: ERA

AutoCompleteField with custom background

I would like to create an AutoCompleteField with custom background in the embedded EditField. Namely I want to have a white background (like for instance in native BlackBerry email client in recipient entry field).

 

I tried to set the background directly on AutoCompleteField and also on embedded EditField with getEditField().setBackground(), however the background is still solid grey (why is that the default color anyway?).

 

Any ideas how to do that?

 

Thanks in advance!