I\'m implementing a simple method to add a Button to a LinearLayout programatically.
Button
LinearLayout
When I invoke the setBackground(Drawable background) metho
You can't use setBackground(). This method may be not available in your Android level.
setBackground()