Today began to do a small feature of the Android applet-book Purchase Program
Brief introduction:
This program is mainly to practice mastering the use of the CheckBox control, its function is to display the selected books to the user to see.
Details:
First, let's take a look at what the general documents are:
The role of document Main.xml is to design program interface;
And Checkboxdemoactivity.java is mainly used to implement the function of code writing.
Second, the production process interface:
After the code of the interface is written, it is now possible to navigate through the interface we have made:
Third, just complete the production of the interface is not enough, if not realize its function, the program is not only a "paper tiger"? Now we should write the Java code that implements the functionality:
Four, the program has been programmed to complete the following to start the simulator to see the effect:
In the red box is produced by the completion of the Android program, click into and use the program, you can see the results:
Hey, choose the book applet is done! I come out and ask the great gods to teach ^_^
My Andro (ii) "Selection of the book applet"