Android instruction in English
Haidian District, Beijing Zhang Junhao
Hope that through this article constantly collect and organize Android English command, let people see the text, after all, the name is people up, the basic will be fine, even if you give your own puppy name also want to think about half a day, not to mention is an open source mechanism?
Toast
is a simple message prompt ( mechanism ) box for Android. Unlike the dialog (dialog box, the information mechanism with which the user interacts), the focus cannot be obtained, i.e. it cannot interact with the user, the toast is displayed for a limited time, and the toast automatically disappears based on the display time set by the user.
Toast Chinese explanation toast (piece), do not know whether you have seen a bread machine, bread slices After the test is automatically ejected from the toaster, very image of the expression of the toast in the role of Android, Also pop up a toast-style message box ~.
Use the package to be introduced: importandroid.widget.Toast;
Example: In the current activity, add the following code for a click event:
Toast.maketext (Getapplicationcontext (), "You want to cue the message", Toast.length_short). Show (); ( 2014-10-30 )
Radio Button
Radio Box , you can provide the user with an option set of two or more mutually exclusive options. Why is a radio box used Radio represents Radio that's not what it means? the Wiki Radio button has such an explanation: Radio buttons were named Afterthe physical buttons used on older radios to select Prese T Stations–when oneof the buttons is pressed, other buttons would pops out, leaving the Pressedbutton the only button in The "pushed in" position.
Radio Button in Vintage Radios used to select a preset station. Physical button name-- when a button is pressed, the other buttons bounce , making the pressed button the only button in the push state. (2014-10-30)
Android commands in English