After about four nights of study, finally made a small thing, from the small white slowly learned something:
1. Nesting use of layouts
Use of 2.EditText, button, and other attributes
3. Need to declare before use, and then instantiate, the button needs to set the Click event
4. Use the OnClick function to set the function of the click button
5. Internationalization to put the kanji into the string.xml, from which to call
Layout Code main function
Set the background color add android:theme= "@android: Style/theme.black.notitlebar" in androidmanifest.xml activity
Set the color need to add color.xml to EditText under Res-values to set the white bottom need to create a new drawable under Res, new white_bg.xml to achieve
Interface:
Recently feel that learning to program and review the conflict is very big, both have to do a good job, their own strength and the height of their own to reach is far from enough, to intensify efforts to break their own.
Android Applet (i) Calculator