Instructions
- 1
Open the Eclipse software and your Android project to load the code files in the editor and emulator. Double-click the XML file for the layout.
2Create the basic button XML. The following code creates a button with the standard button background:
3Add the color code to the button's XML layout. The following code is the same button with a custom black background color:
No comments:
Post a Comment