현재 android는 layout을 위해 xml resource file을 사용하고 있다.
하지만, xmlns:android=http://schemas.android.com/apk/res/android" 을 
정리해 놓은 DTD 나 schema를 체계적으로 정리해서 문서화 하지 않고 있다.
 
아래의 내용은 Android Application 개발을 효율적으로 하기 위해,
일단 resource 관련 DTD를 정의하기 위한 Draft 수준의 자료정리임.
 
android.widget.ImageView
android:adjustViewBounds   
android:maxHeight   
android:maxWidth   
android:scaleType (matrix | fitXY | fitStart | fitCenter | fitEnd | center )
android:shouldFit      
android:tint  
android.widget.TextView
android:autoLink       
android:autoText   
android:bufferType   
android:capitalize   
android:cursorVisible   
android:digits    
android:disabledTextColor  
android:ems    
android:focusedTextColor  
android:gravity   
android:height    
android:hint    
android:hintTextColor   
android:includeFontPadding  
android:inputMethod   
android:lines    
android:maxEms    
android:maxHeight  
android:maxLength  
android:maxLines  
android:maxWidth  
android:minEms   
android:minHeight  
android:minLines  
android:minWidth  
android:normalTextColor 
android:numeric  
android:password  
android:phoneNumber  
android:scrollHorizontally  
android:selectAllOnFocus  
android:selectedTextColor  
android:shadowColor  
android:shadowDx  
android:shadowDy  
android:shadowRadius  
android:singleLine  
android:text   
android:textAlign  
android:textColor  
android:textHiliteColor 
android:textScaleX  
android:textSize  
android:textStyle  
android:typeface  
android:width  

android.widget.EditView 

android:autoText   
android:capitalize  
android:digits     
android:inputMethod  
android:numeric  
android:phoneNumber  
android.view.View 
android:background - (#RGBA | @android:drawable/<image_filename>)
android:fadingEdge
android:fadingEdgeLength
android:fitStatusBar
android:focusType
android:focusable - ( true | false )
android:horizontalScrollbarThumb
android:horizontalScrollbarTrack
android:nextFocusDown - (@+id/<id_name>)
android:nextFocusLeft - (@+id/<id_name>)
android:nextFocusRight - (@+id/<id_name>)
android:nextFocusUp - (@+id/<id_name>)
android:padding - (<int>dip)
android:paddingBottom - (<int>dip)
android:paddingLeft - (<int>dip)
android:paddingRight - (<int>dip)
android:paddingTop - (<int>dip)
android:scrollX
android:scrollY
android:scrollbarDefaultDelayBeforeFade
android:scrollbarFadeDuration - (<int>)
android:scrollbarSize - (<int>dip)
android:scrollbars - none
android:verticalScrollbarThumb - @android:drawable/<image_filename>
android:verticalScrollbarTrack - @android:drawable/<image_filename>
android:visibility - invisible|gone
android.view.ViewGroup
android:layout_height  - fill_parent|wrap_content
android:layout_width - fill_parent|wrap_content
android:layout_marginBottom  - (<int>dip)
android:layout_marginLeft - (<int>dip)
android:layout_marginRight - (<int>dip)
android:layout_marginTop - (<int>dip)
android:clipChildred
android:clipToPadding
 
android.widget.FrameLayout
android:foreground
android:measureAllChildren
 
android.widget.LinearLayout
android:animationDuration
android:baselineAligned - true | false
android:baselineAlignedChildIndex - (<int>)
android:gravity - (center_horizontal | center_vertical | center | bottom | right)
android:orientation - (vertical | horizontal)
android:layout_gravity  -  (top | bottom | left | right | center_vertical | fill_vertical 
                                    | center_horizontal | fill_horizontal | center | fill )
android:layout_weight  - (<int>)

android.widget.TableLayout
android:collapseColumns - (<int>)
android:shrinkColumns - (<int>,<int>)
android:stretchColumns - (<int>)
android.widget.AbsoluteLayout
 
android.widget.RelativeLayout
android:layout_above    - (@+id/<id_name>)
android:layout_alignBaseline                                                                                                  
android:layout_alignBottom  
android:layout_alignLeft  
android:layout_alignParentBottom
android:layout_alignParentLeft  
android:layout_alignParentRight - true
android:layout_alignParentTop  
android:layout_alignRight  
android:layout_alignTop -  (@+id/<id_name>)
android:layout_below  - (@+id/<id_name>)
android:layout_centerHorizontal 
android:layout_centerInParent  
android:layout_centerVertical  
android:layout_toLeft    - (@+id/<id_name>)
android:layout_toRight   
 
android.widget.Gallery
android:animationDuration
android:drawSelectorOnTop
android:gravity
android:spacing
android:spinnerSelector
android.widget.GridView
android:columnWidth
android:drawSelectorOnTop
android:gravity
android:horizontalSpacing
android:listSelector
android:numColumns - (auto_fit)
android:stretchMode - (none | spcingWidth | columnWidth)
android:verticalSpacing
android.widget.ListView
android:drawSelectorOnTop
android:entries
android:gravity
android:listSelector
android.widget.PopList

android.widget.ScrollView

android.widget.Spinner
android:drawSelectorOnTop
android:dropDownArrowDown
android:dropDownArrowUp
android:dropDownSelector
android:gravity
android:spinnerSelector
android.widget.SurfaceView

 
android.widget.TabHost

 
android.widget.ViewFlipper

 
android.widget.ViewSwitcher
Posted by 행복한 프로그래머 궁금쟁이박

댓글을 달아 주세요

  1. thl2012 2011.03.22 15:42  댓글주소  수정/삭제  댓글쓰기

    A very good artist style jewellery artist using a steady clientele can possess the desire career. they are able to purpose from their residence developing styles http://www.linksoflondonjewellerysale.net/ which they adore and market them for earnings to customers who really appreciate their talent. finding a artist style jewellery producing artwork level from an accredited artwork college may be the 1st movement in producing this desire a reality.

  2. BlogIcon Replica handbags 2012.09.11 15:39  댓글주소  수정/삭제  댓글쓰기

    로칼뉴스 교육 이민 관광 부동산 정보 무료 이민법률상담 벼룩시장 구인구직