Android commands in English

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.