setbackground

Setting a background color to my Blackberry application very basic!

This is my screen: final class GeneralExpenseViewScreen extends MainScreen { public GeneralExpenseViewScreen() { super(); LabelField title = new LabelField("TeamMate TEC | Expenses", LabelField.ELLIPSIS | LabelField.USE_ALL_WIDTH); setTitle(title); Background bg = BackgroundFactory.cr...

Widget button setBackgroundResource

Hi, i have a widget and i personalized my buttons with a personal layout using a resource layout. At a certain moment i want to change this type of button (that now is green), with another style (that is red), so a tried in my onReceive method this code: remoteViews.setInt(R.id.ButtonAddOne,"setBackgroundResource",R.drawable.buttonlayo...