安卓布局,比較詳細(xì)也比較亂

布局:

AbsoluteLayout(絕對(duì)布局):

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':持續(xù)高速緩存繪圖

android:alwaysDrawnWithCache='true|false'

android:andStatesFromChildre='true|false'

android:descendantFocusability='beforeDescendants|afterDescendants|blocksDescendants':后裔可聚焦

android:id='@+id/absoluteLayout'

android:tag='@---'

android:android:scrollX='---'

android: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':適合系統(tǒng)窗口

android:scrollbars='none|horizontal|vertical'

android:scrollbarStyle='insideOverlay(內(nèi)覆蓋)|insideInset(內(nèi)插圖)|outsideOverlay(外覆蓋)|outsideInset(外插圖)'

android:isScrollContainer='true|false':是一個(gè)滾動(dòng)集合

android:fadeScrollbars='true|false':褪色的滾動(dòng)條

android:scrollbarFadeDuration='---':卷軸淡出

android:scrollDefaultDelayBeforeFade='---':滾動(dòng)前默認(rèn)延遲

android:scrollbarSize='---'

android:scrollbarThumbHorizontal='@----':拇指水平滾動(dòng)條

android:scrollbarThumbVertical='@----':拇指垂直滾動(dòng)條

android:scrollbarTrackVertical='@---':垂直滾動(dòng)條軌道

android:scrollbarTrackHorizontal='@---':水平滾動(dòng)條軌道

android:scrollbarAlwaysDrawHorizontalTrack='true|false':水平滾動(dòng)條總是吸引軌道

android:scrollbarAlwaysDrawVerticalTrack='true|false':垂直滾動(dòng)條總是吸引軌道

android:fadingEdge='none|horizontal|vertical':衰落的邊緣

android:fadingEdgeLength='---':邊長衰落

android:nextFocusLeft='----':下左焦點(diǎn)

android:nextFocusUp='---':下一個(gè)重點(diǎn)注冊(cè)

android:nextFocusRight='---':正確的下一個(gè)重點(diǎn)

android:nextFocusDown='---':下一個(gè)焦點(diǎn)下移

android:clickable='true|false':點(diǎn)擊

android:longClickable='true|false'

android:saveEnabled='true|false':啟用保存

android:drawingCacheQuality='auto|low|hight':繪圖緩存質(zhì)量

android:keepScreenOn='true|false':保持屏幕

android:duplicateParentState='true|false':重復(fù)父狀態(tài)

android:minHeight='---':

android:minWidth='----':

android:soundEffectEnabled='true|false':音效啟用

android:hapticFeedbackEnable='true|false':觸覺反饋啟用

android:contentDescription='@---':內(nèi)容概述

android:onClick='@---':

android:layout_gravity='top|bottom|right|left|center_vertical|center_horizontal|fill_vertical|fill_horizontal|center|fill|clip_vertical|clip_horizontal':重力

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(撥號(hào)器過濾器):

ExpandableListView(可擴(kuò)展的列表視圖):

FrameLayout(針布局):

GridView(網(wǎng)格視圖):

HorizontalScrollView(水平滾動(dòng)查看):

ImageSwither(圖像切換):

LinearLayout(線性布局):

ListView(列表視圖):

MediaController(媒體控制器):

RadioGroup(單選按鈕組):

RelativeLayout(相對(duì)布局):

ScrollView(滾動(dòng)查看):

SlidingDrawer(滑動(dòng)抽屜):

TabHost(標(biāo)簽主機(jī)):

TabWidget(標(biāo)簽控件):

TableLayout(表格布局):

TableRow(表行):

TextSwitcher(文字切換):

ViewAnimator(查看動(dòng)畫):

ViewFlipper(參看弗利珀):

ViewSwitcher(查看切換):

---------------------------------------------------

GestureOverlayView(手勢覆蓋查看):

SurfaceView(表現(xiàn)觀):

View(參看):

ViewStub(查看存根):

WebView(WEB視圖):

AnalogClock(模擬時(shí)鐘):

AutoCompleteTextView(自動(dòng)完成文本視圖):

Button(按鈕):

CheckBox(復(fù)選框):

CheckedTextView(檢查的文字查看):

Chronometer(時(shí)計(jì)):

DatePicker(日期選擇器):

DigitalClock(數(shù)字時(shí)鐘):

EditText(編輯文字):

Gallery(畫廊):

ImageButton(圖像按鈕):

ImageView(圖像查看):

MultiAutoCompleteTextView(多自動(dòng)完成文本查看):

ProgressBar(進(jìn)度):

QuickContactBadge(快速聯(lián)系徽章):

Radio Button(單選按鈕):

RatingBar(評(píng)分酒吧):

SeekBar(搜索欄:即拖拉進(jìn)度條):

Spinner(微調(diào)):

TextView(文本視圖):

TimePicker(時(shí)間選擇器):

ToggleButton(切換按鈕):

TwoLineListItem(兩線列表項(xiàng)):

VideoView(視頻查看):

ZoomButton(變焦按鈕):

ZoomControls(縮放控制):

Include(包括):

-------------------------------

(合并):

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=''

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容