Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int colorPos;
- if (modelNote2.getBackgroundColor() > Var.COLOR_BACKGROUND_VIEW.length - 1) {
- colorPos = 0;
- } else {
- colorPos = modelNote2.getBackgroundColor();
- }
- views.setInt(R.id.viewTop, "setBackgroundColor", Color.parseColor(Var.COLOR_BACKGROUND_VIEW[colorPos]));
- views.setInt(R.id.appwidget_textContent, "setBackgroundColor", Color.parseColor(Var.COLOR_BACKGROUND_EDIT_TEXT[colorPos]));
- views.setInt(R.id.appwidget_textContent, "setTextColor", Color.BLACK);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement