Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.FROYO ) {
- Log.i( tag, "Setting backgroundColour: " + backgroundColour );
- remoteViews.setInt( R.id.mainLinearLayout, "setBackgroundColor",
- backgroundColour );
- } else {
- Log.i( tag, "Not setting background colour due to android version" );
- }
Advertisement
Add Comment
Please, Sign In to add comment