Here's a copy of a XML file to create a drawable with a white background, black border and rounded corners:
save it as a xml file in the drawable directory,
Use it like you would use any drawable background(icon or resource file) using its resource name (R.drawable.your_xml_name)