if you want to set backgroud color then set properties of layout or directly in xml file to write
android:background="#colorcode"
or
if you want to set backgroud image then set properties of layout or directly in xml file to write
android:background="@drawable/image"
where first of all you want to put your image in res/drawable folder...