<span id="Label3"></p><p><p>First Class: property value TRUE or False<br>Android:layout_centerhrizontal Horizontal Center</p></p><p align="left"><p align="left">Android:layout_centervertical Vertical Center<br>Android:layout_centerinparent is completely centered relative to the parent element<br>Android:layout_alignparentbottom snaps to the bottom edge of the parent element<br>Android:layout_alignparentleft snaps to the left edge of the parent element<br>Android:layout_alignparentright snaps to the right edge of the parent element<br>Android:layout_alignparenttop snaps to the top edge of the parent element<br>android:layout_alignwithparentifmissing if the corresponding sibling element cannot be found, then the parent element is the Reference.</p></p><p align="left"><p align="left">Android:layout_alignparentstart start close to parent element end position</p></p><p align="left"><p align="left">Android:layout_alignparentend Close parent element End position</p></p><p align="left"><p align="left">Android:animatelayoutchanges if the layout changes when there is an animation effect</p></p><p align="left"><p align="left">Android:clipchildren defines whether a sub-layout must be within a defined area</p></p><p align="left"><p align="left">Android:cliptopadding defines whether there is space between layouts</p></p><p align="left"><p align="left">Android:animationcache definition Sub-layout also has animation effect</p></p><p align="left"><p align="left">Android:alwaysdrawnwithcache defines whether a child layout applies a drawing's cache</p></p><p align="left"><p align="left">Android:addstatesfromchildren define whether the layout applies a sub-layout background</p></p><p align="left"><p align="left">Android:splitmotionevents define whether the layout passes touch events to child layouts</p></p><p align="left"><p align="left">Android:focusableintouchmode defines if the focus can be acquired through touch</p></p><p align="left"><p align="left">Android:isscrollcontainer defines whether a layout can be resized as a scroll container to adjust the entire form</p></p><p align="left"><p align="left">Android:fadescrollbars scroll bar Auto-hide</p></p><p align="left"><p align="left">Android:fitssystemwindows whether to consider system Windows (such as status Bar) when setting layout adjustments</p></p><p align="left"><p align="left">Android:visibility define whether the layout is visible</p></p><p align="left"><p align="left">Android:requiresfadingedge defines whether edges fade when scrolling</p></p><p align="left"><p align="left">Android:clickable define whether you can click</p></p><p align="left"><p align="left">Android:longclickable defines if a long click is possible</p></p><p align="left"><p align="left">Android:saveenabled set whether the view data is saved when the window freezes (such as rotating the Screen)</p></p><p align="left"><p align="left">Whether the touch event is filtered when the android:filtertoucheswhenobscured window is obscured by other visible windows</p></p><p align="left"><p align="left">Android:keepscreenon setting the screen to solid</p></p><p align="left"><p align="left">Android:duplicateparentstate whether to get the drawing state from the parent container (cursor, Press Inferior)</p></p><p align="left"><p align="left">android:soundeffectsenabled tap or touch to see if there is a sound effect</p></p><p align="left"><p align="left">android:hapticfeedbackenabled Setting Tactile Feedback</p></p><p align="left"><p align="left"></p></p><p align="left"><p align="left">Second Class: the attribute value must be the reference name of the ID "@id/id-name"</p></p><p align="left"><p align="left">Android:layout_alignbaseline the text of this element aligns with the parent element text</p></p><p align="left"><p align="left">Android:layout_below at the bottom of an element<br>Android:layout_above at the top of an element<br>Android:layout_toleftof on the left side of an element<br>Android:layout_torightof on the right side of an element</p></p><p align="left"><p align="left">Android:layout_tostartof This element starts with an element</p></p><p align="left"><p align="left">Android:layout_toendof This element ends at an element</p></p><p align="left"><p align="left">Android:layout_aligntop aligns the top edge of this element with the top edge of an element<br>Android:layout_alignleft aligns the left edge of this element with the left edge of an element<br>Android:layout_alignbottom aligns the bottom edge of this element with the bottom edge of an element<br>Android:layout_alignright aligns the right edge of this element with the right edge of an element</p></p><p align="left"><p align="left">Android:layout_alignstart This element aligns with the beginning parent element</p></p><p align="left"><p align="left">Android:layout_alignend This element aligns with the end parent element</p></p><p align="left"><p align="left">Android:ignoregravity the specified element is not affected by gravity</p></p><p align="left"><p align="left">Android:layoutanimation The animation that defines when the layout is displayed</p></p><p align="left"><p align="left">Android:id adding IDs to layouts for easy search</p></p><p align="left"><p align="left">Android:tag add tag for layout to find and similar</p></p><p align="left"><p align="left">Android:scrollbarthumbhorizontal sets the drawable of the horizontal scroll bar.</p></p><p align="left"><p align="left">Android:scrollbarthumbvertical Setting the drawable of the vertical scroll bar</p></p><p align="left"><p align="left">Android:scrollbartrackhorizontal sets the color drawable of the horizontal scrollbar background (track)</p></p><p align="left"><p align="left">Android:scrollbartrackvertical sets the color drawable of the vertical scrollbar background (track)</p></p><p align="left"><p align="left">Android:scrollbaralwaysdrawhorizontaltrack set whether the horizontal scrollbar contains a track</p></p><p align="left"><p align="left">Android:scrollbaralwaysdrawverticaltrack sets whether the vertical scrollbar contains a track</p></p><p align="left"><p align="left">Android:nextfocusleft setting left specifies the view to get the next focus</p></p><p align="left"><p align="left">Android:nextfocusright Setting the right side specifies the view to get the next focus</p></p><p align="left"><p align="left">Android:nextfocusup setting the upper specified view to get the next focus</p></p><p align="left"><p align="left">Android:nextfocusdown setting the specified view below to get the next focus</p></p><p align="left"><p align="left">Android:nextfocusforward setting the specified view for the next focus</p></p><p align="left"><p align="left">Android:contentdescription description</p></p><p align="left"><p align="left">Android:onclick calls the specified method from the context when clicked</p></p><p align="left"><p align="left"></p></p><p align="left"><p align="left">Class Iii: attribute values are specific pixel values, such as 30DIP,40PX,50DP</p></p><p align="left"><p align="left">Android:layout_width defines the width of this element</p></p><p align="left"><p align="left">Android:layout_height defines the height of this element</p></p><p align="left"><p align="left">Android:layout_margin the distance between the upper and lower left of this element</p></p><p align="left"><p align="left">Android:layout_marginbottom distance from the bottom edge of an element<br>Android:layout_marginleft distance from the left edge of an element<br>Android:layout_marginright distance from the right edge of an element<br>Android:layout_margintop distance from the top edge of an element</p></p><p align="left"><p align="left">Android:layout_marginstart the distance from the starting position in this element</p></p><p align="left"><p align="left">Android:layout_marginend the distance from the end position in this element</p></p><p align="left"><p align="left">Android:scrollx Horizontal Initial scrolling offset</p></p><p align="left"><p align="left">android:scrolly Vertical Initial scrolling offset</p></p><p align="left"><p align="left">Android:background background of this element</p></p><p align="left"><p align="left">Android:padding specifying the spacing between layouts and sub-layouts</p></p><p align="left"><p align="left">ANDROID:PADDINGLEFT Specifies the spacing between the left and child layouts of the layout</p></p><p align="left"><p align="left">ANDROID:PADDINGTOP Specifies the spacing between the top of the layout and the child layout</p></p><p align="left"><p align="left">android:paddingright Specifies the spacing between the right side of the layout and the child layout</p></p><p align="left"><p align="left">Android:paddingbottom Specify the spacing between the bottom of the layout and the child layout</p></p><p align="left"><p align="left">Android:paddingstart the spacing between the left and the child layout of the specified layout is the same as Android:paddingleft</p></p><p align="left"><p align="left">Android:paddingend the spacing between the specified layout and the child layout is the same as Android:paddingright</p></p><p align="left"><p align="left">Android:fadingedgelength setting the length of the border gradient</p></p><p align="left"><p align="left">Android:minheight min. Height</p></p><p align="left"><p align="left">Android:minwidth min. Width</p></p><p align="left"><p align="left">Android:translationx moving distance in horizontal direction</p></p><p align="left"><p align="left">Android:translationy movement distance in vertical direction</p></p><p align="left"><p align="left">Android:transformpivotx deflection in the horizontal direction relative to a point</p></p><p align="left"><p align="left">Android:transformpivoty deflection in the vertical direction relative to a point</p></p><p align="left"><p align="left"></p></p><p align="left"><p align="left">Class Fourth: attribute values ask Android built-in values</p></p><p align="left"><p align="left">Android:gravity how controls are laid out</p></p><p align="left"><p align="left">Android:layout_gravity Layout method</p></p><p align="left"><p align="left">Android:persistentdrawingcachehua defining the persistence of a drawing's cache</p></p><p align="left"><p align="left">Android:descendantfocusability control Sub-layout Focus get mode commonly used in ListView item contains multiple controls clicked invalid</p></p><p align="left"><p align="left">Android:scrollbars to set the state of the scroll bar</p></p><p align="left"><p align="left">Android:scrollbarstyle setting the style of the scroll bar</p></p><p align="left"><p align="left">Android:fitssystemwindows whether to consider system Windows (such as status Bar) when setting layout adjustments</p></p><p align="left"><p align="left">Android:scrollbarfadeduration Setting the scrollbar fade time</p></p><p align="left"><p align="left">Android:scrollbardefaultdelaybeforefade sets the scrollbar to begin fading after n milliseconds, in MILLISECONDS.</p></p><p align="left"><p align="left">Android:scrollbarsize to set the scroll adjustment size</p></p><p align="left"><p align="left">Android:fadingedge the gradient of the border when you set the pull scroll bar</p></p><p align="left"><p align="left">Android:drawingcachequality to set translucent quality when drawing</p></p><p align="left"><p align="left">Android:overscrollmode style when sliding to boundary</p></p><p align="left"><p align="left">Android:alpha Setting transparency</p></p><p align="left"><p align="left">Android:rotation Rotation degree</p></p><p align="left"><p align="left">Android:rotationx Horizontal Rotation degree</p></p><p align="left"><p align="left">Android:rotationy Vertical Rotation degree</p></p><p align="left"><p align="left">Android:scalex Setting X-axis Scaling</p></p><p align="left"><p align="left">Android:scaley Setting the Y-axis scaling</p></p><p align="left"><p align="left">Android:verticalscrollbarposition the position of the vertical scroll bar of the camera</p></p><p align="left"><p align="left">Android:layertype Setting support</p></p><p align="left"><p align="left">Android:layoutdirection defining the orientation of layout sheets</p></p><p align="left"><p align="left">Android:textdirection Defining Text Direction</p></p><p align="left"><p align="left">Android:textalignment text Alignment</p></p><p align="left"><p align="left">Android:importantforaccessibility important lines for setting up accessibility</p></p><p align="left"><p align="left">Android:labelfor Adding tags</p></p><p><p>Android Layout Properties Daquan</p></p></span>
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