Android Layout controls

Source: Internet
Author: User

1 <LinearLayoutxmlns:android= "Http://schemas.android.com/apk/res/android"2 Android:layout_width= "Match_parent"3 Android:layout_height= "Match_parent"4 android:orientation= "vertical" 5 android:gravity= "Center_vertical"6     >7 8     <ImageView9         Android:id= "@+id/imageview1"Ten Android:layout_width= "Match_parent" One Android:layout_height= "Wrap_content" A android:src= "@drawable/qq_image" /> -  -     <CheckBox the         Android:id= "@+id/checkbox1" - Android:layout_width= "Wrap_content" - Android:layout_height= "Wrap_content" - Android:text= "checkbox" /> +  -     <EditText +         Android:id= "@+id/edittext1" A Android:layout_width= "Match_parent" at Android:layout_height= "Wrap_content" - Android:hint= "EditText" - Android:ems= "Ten" > -      -         <Requestfocus/> -     </EditText> in  -     <Autocompletetextview to         Android:id= "@+id/autocompletetextview1" + Android:layout_width= "Match_parent" - Android:layout_height= "Wrap_content" the Android:completionthreshold= "2" * Android:hint= "@string/edittext1_name" > $     </Autocompletetextview>Panax Notoginseng  -     <Multiautocompletetextview the         Android:id= "@+id/multiautocompletetextview1" + Android:layout_width= "Match_parent" A Android:layout_height= "Wrap_content" the Android:completionthreshold= "2" + Android:hint= "@string/edittext2_name" > -     </Multiautocompletetextview> $  $     <Button -         Android:id= "@+id/button1" - Android:layout_width= "Match_parent" the Android:layout_height= "50DP" - Android:background= "#C0D9D9"Wuyi Android:text= "button" /> the  -     <Com.example.anroiddome.MyTextView Wu         Android:id= "@+id/textview1" - Android:layout_width= "Match_parent" About Android:layout_height= "Wrap_content" $ android:ellipsize= "Marquee" - android:focusable= "true" - Android:focusableintouchmode= "true" - Android:singleline= "true" A Android:text= "@string/view_name" /> +  the     <ToggleButton -         Android:id= "@+id/togglebutton" $ Android:layout_width= "Match_parent" the Android:layout_height= "Wrap_content" the android:checked= "false" the Android:textoff= "Off (ToggleButton)" the Android:texton= "On (ToggleButton)" /> -  in     <Radiogroup the         Android:id= "@+id/radiogroup1" the Android:layout_width= "Wrap_content" About Android:layout_height= "Wrap_content"  the android:orientation= "Horizontal" the         > the  +         <RadioButton -             Android:id= "@+id/radio0" the Android:layout_width= "Match_parent"Bayi Android:layout_height= "Wrap_content" the Android:text= "Male" /> the  -         <RadioButton -             Android:id= "@+id/radio1" the Android:layout_width= "Match_parent" the Android:layout_height= "Wrap_content" the android:checked= "true" the Android:text= "female" /> -     </Radiogroup> the  the </LinearLayout>

Finishing in http://naotu.baidu.com/file/e5880b84b1a906838116f7a45f58de78

Android Layout controls

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.