Android layout attributes

Source: Internet
Author: User

Layout:
AbsoluteLayout (absolute layout ):
Xmlns: android = "http://scmemas.android.com/apk/res/android"
Style = "@..."
Android: clipChildren = "true | false"
Android: clipToPadding = "true | false"
Android: layoutAnimation = "@---"
Android: animationCache = "true | false"
Android: persistentDrawingCache = "none | animation | scrolling | all": continuous high-speed cache plotting
Android: alwaysDrawnWithCache = "true | false"
Android: andstatesfromchilde = "true | false"
Android: descendantFocusability = "beforeDescendants | afterDescendants | blocksDescendants": descendant focus
Android: id = "@ + id/absoluteLayout"
Android: tag = "@---"
Android: scrollX = "---"
Android: scrollY = "---"
Android: background = "@---"
Android: padding = "----"
Android: paddingLeft = "----"
Android: paddingTop = "----"
Android: paddingRight = "----"
Android: paddingBotton = "---"
Android: focusable = "true | false"
Android: focusableInTouchMode = "true | false"
Android: visibility = "visible | invisible | gone"
Android: fitsSystemWindows = "true | false": Applicable to system Windows
Android: scrollbars = "none | horizontal | vertical"
Android: scrollbarStyle = "insideOverlay (insideInset) | insideInset (insideOverlay) | outsideInset (external illustration )"
Android: isScrollContainer = "true | false": A rolling set.
Android: fadeScrollbars = "true | false": faded scroll bar
Android: scrollbarFadeDuration = "---": Scroll fade out
Android: scrolldefadeldelaybeforefade = "---": Default latency before scrolling
Android: scrollbarSize = "---"
Android: scrollpolicumbhorizontal = "@ ----": horizontal scroll bar of the thumb
Android: scrollpolicumbvertical = "@ ----": thumb vertical scroll bar
Android: scrollbarTrackVertical = "@ ---": vertical scroll bar track
Android: scrollbarTrackHorizontal = "@ ---": horizontal scroll bar track
Android: scrollbarAlwaysDrawHorizontalTrack = "true | false": horizontal scroll bars always attract tracks.
Android: scrollbarAlwaysDrawVerticalTrack = "true | false": the vertical scroll bar always attracts the track.
Android: fadingEdge = "none | horizontal | vertical": fading edge
Android: fadingEdgeLength = "---": Decline of edge Length
Android: nextFocusLeft = "----": Bottom left focus
Android: nextFocusUp = "---": next important registration
Android: nextFocusRight = "---": Correct next focus
Android: nextFocusDown = "---": Move down the next focus
Android: clickable = "true | false": Click
Android: longClickable = "true | false"
Android: saveEnabled = "true | false": Enable save
Android: drawingCacheQuality = "auto | low | hight": quality of drawing Cache
Android: keepScreenOn = "true | false": Keep the screen
Android: duplicateParentState = "true | false": duplicate parent State
Android: minHeight = "---":
Android: minWidth = "----":
Android: soundEffectEnabled = "true | false": enables sound effects.
Android: hapticFeedbackEnable = "true | false": enables tactile feedback.
Android: contentDescription = "@ ---": Content Overview
Android: onClick = "@---":
Android: layout_gravity = "top | bottom | right | left | center_vertical | center_horizontal | fill_vertical | fill_horizontal | center | fill | clip_vertical | clip_horizontal": gravity
Android: layout_width = "fill_parent | match_parent | wrap_content"
Android: Llayout_height = "fill_parent | match) parent_wrap_content"
Android: layout_margin = "":
Android: layout_marginLeft = ""
Android: layout_marginTop = ""
Android: layout_marginRight = ""
Android: layout_marginBottom = ""

DialerFilter (Dial filter ):

ExpandableListView (Scalable List View ):
FrameLayout (PIN layout ):
GridView (grid view ):
HorizontalScrollView (horizontal scroll view ):
ImageSwither (image switching ):
LinearLayout (linear layout ):

ListView (List View ):
MediaController (Media Controller ):
RadioGroup (single-choice button group ):
RelativeLayout (relative layout ):
ScrollView ):
SlidingDrawer (slide drawer ):
TabHost ):
TabWidget (Label Control ):
TableLayout (table layout ):
TableRow (table row ):
TextSwitcher (Text switching ):
ViewAnimator (view animation ):
ViewFlipper (see freper ):
ViewSwitcher (view switch ):
---------------------------------------------------
GestureOverlayView ):
SurfaceView (performance view ):
View (SEE ):
ViewStub (view the stub ):
WebView ):
AnalogClock (analog clock ):
AutoCompleteTextView (automatically complete the text view ):
Button ):
CheckBox (check box ):
CheckedTextView (check the text ):
Chronometer (hours ):
DatePicker (date selector ):
DigitalClock (digital clock ):
EditText ):
Gallery (Gallery ):
ImageButton (image button ):
ImageView ):
MultiAutoCompleteTextView ):
ProgressBar (Progress ):
QuickContactBadge (quick contact badge ):
Radio Button (single choice Button ):
RatingBar (score bar ):
SeekBar (search bar: Drag progress bar ):
Spinner (fine-tuned ):
TextView ):
TimePicker (Time selector ):
ToggleButton (switch button ):
TwoLineListItem (two-line list item ):
VideoView ):
ZoomButton (zoom button ):
ZoomControls (scaling Control ):
Include (includes ):
-------------------------------
<Merge> </merge> (merge ):
Xmlns: android = "http://schemas.android.com/apk/res/android"
Android: layout_gravity = "top | bottom | left | right | center_vertical | fill_vertical | center_horizontal | fill_horizontal | center | fill | clip_vertical | clip_horizontal"
Android: layout_width = "fill_parent | match_parent | wrap_content"
Android: layout_height = "fill_parent | match_parent | wrap_content"
Android: layout_margin = ""
Android: layout_marginLef = ""
Android: layout_marginTop = ""
Android: layout_marginRight = ""
Android: layout_marginBottom = ""

From: http://www.fourants.com /? P = 298

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.