Button屬性

android:autoLink setAutoLinkMask(int)控制鏈接網址和電子郵件地址等是否自動發現並轉換爲可點擊的鏈接。

android:autoText setKeyListener(KeyListener)如果設置,指定該TextView文本輸入法和自動糾正一些常見的拼寫錯誤

android:bufferType setText(CharSequence TextView.BufferType)確定最低類型getText()將返回。

android:capitalize setKeyListener(KeyListener)如果設置,指定該TextView文本輸入法,應該自動利用用戶類型。

android:cursorVisible setCursorVisible(布爾)使得光標(默認)可見或不可見。

android:數字setKeyListener(KeyListener)如果設置,指定該TextView數字輸入法,這些特定的字符,它將接受的。

android:drawableBottom setCompoundDrawablesWithIntrinsicBounds(int,int,int,int)可拉的得出以下文本。

android:drawableLeft setCompoundDrawablesWithIntrinsicBounds(int,int,int,int)繪製的是左邊的文本。

android:drawablePadding setCompoundDrawablePadding(int)之間的填充畫板和文本。

android:drawableRight setCompoundDrawablesWithIntrinsicBounds(int,int,int,int)繪製的是右邊的文本。

android:drawableTop setCompoundDrawablesWithIntrinsicBounds(int,int,int,int)上面的得出可拉的文本。

android:可編輯如果設置,指定該TextView輸入法。

android:editorExtras setInputExtras(int)引用一個< input-extras > XML資源包含額外的數據提供一個輸入方法,這是私人的實現輸入法。

android:ellipsize setEllipsize(TextUtils.TruncateAt)如果設置,導致單詞以上的觀點是碎ellipsized寬,而不是在中間。

android:ems setEms(int)使TextView正是這許多ems寬。

android:freezesText setFreezesText(布爾)如果設置文本視圖將包含當前完成文本內的冷凍冰柱除了元數據,比如當前光標位置。

android:重力setGravity(int)指定如何對齊文本視圖的x和y軸小於文本時的觀點。android:高度setHeight(int)使TextView正是這許多像素高。

android:提示setHint(int)時所顯示的提示文本的文本是空的。

android:imeActionId setImeActionLabel(CharSequence int)爲EditorInfo提供一個值。 actionId時使用一個輸入連接到文本視圖方法。

android:imeActionLabel setImeActionLabel(CharSequence int)爲EditorInfo提供一個值。 actionLabel時使用一個輸入連接到文本視圖方法。

android:imeOptions setImeOptions(int)附加功能您可以啓用一個輸入法與一個編輯器來提高與應用程序的集成。

android:includeFontPadding setIncludeFontPadding(布爾)留下足夠的字體就是和流暢的空間而不是使用嚴格字體上升和下降。

android:inputMethod setKeyListener(KeyListener)如果設置,指定該TextView應該使用指定的輸入方法(指定完全限定類名)。

android:inputType setRawInputType(int)被放置在一個文本字段的數據類型,用來幫助一個輸入法決定如何讓用戶輸入文本。

android:lineSpacingExtra setLineSpacing(浮子,浮子)額外間距行文本。

android:lineSpacingMultiplier setLineSpacing(浮子,浮子)額外間距行文本,乘數效應。

android:行setLines(int)使TextView正是這許多行高。

android:linksClickable setLinksClickable(布爾)如果設置爲false,阻礙運動方法將運動的聯繫方法即使autoLink原因被發現的鏈接。

android:marqueeRepeatLimit setMarqueeRepeatLimit(int)字幕動畫重複的次數。

android:maxEms setMaxEms(int)使TextView最多這許多ems寬。

android:maxHeight setMaxHeight(int)使TextView最多這許多像素高。

android:最大長度setFilters(InputFilter)設置一個過濾器來限制輸入的文本長度到指定的號碼。

android:maxLines setMaxLines最多(int)使TextView被這麼多行高。

android:maxWidth setMaxWidth最多(int)使TextView被這麼多像素寬。

android:minEms setMinEms(int)使TextView至少這許多ems寬。

android:minHeight setMinHeight(int)使TextView至少這許多像素高。

android:minLines setMinLines(int)使TextView至少這許多行高。

android:minWidth setMinWidth(int)使TextView至少這許多像素寬。

android:數字setKeyListener(KeyListener)如果設置,指定該TextView數字輸入法。

android:密碼setTransformationMethod(TransformationMethod)字段的字符是否顯示爲密碼點,而不是自己。

android:phoneNumber setKeyListener(KeyListener)如果設置,指定該TextView有電話號碼的輸入方法。

android:privateImeOptions setPrivateImeOptions(String)添加內容類型描述提供輸入方法在文本視圖,這是私人的實現輸入法。

android:scrollHorizontally setHorizontallyScrolling(布爾)文本是否允許更廣泛的比視圖(因此可以水平滾動)。

android:selectAllOnFocus setSelectAllOnFocus(布爾)如果文本是可選擇的,選擇它當視圖所需要的關注,而不是將光標移動到開始或結束。

android:shadowColor setShadowLayer(浮子,浮子,浮子,int)放置一個指定顏色的陰影背後的文本。

android:shadowDx setShadowLayer(浮動,浮動,浮動,int)水平偏移的影子。

android:shadowDy setShadowLayer(浮子,浮子,浮子,int)垂直偏移量的影子。

android:shadowRadius setShadowLayer(浮子,浮子,浮子,int)半徑的影子。

android:單行模式setTransformationMethod(TransformationMethod)限制了文本一行水平滾動,而不是讓它包裝到多個行,並提出重點而不是按enter鍵時插入一個新行。

android:文本setText(CharSequence TextView.BufferType)文本顯示。

android:textAppearance基本文本顏色,字體,大小和風格。

android:textColor setTextColor(int)文本顏色。

android:textColorHighlight setHighlightColor(int)的顏色選擇突出顯示的文本。

android:textColorHint setHintTextColor(int)提示文本的顏色。

android:textColorLink setLinkTextColor(int)鏈接的文本顏色。

android:textIsSelectable isTextSelectable()表明的內容不可編輯的文本可以選擇。

android:textScaleX setTextScaleX(浮動)設置文本的水平擴展因素。

android:textSize setTextSize(int,浮動)大小的文本。

android:textStyle setTypeface(字體)風格(粗體、斜體、bolditalic)文本。

android:字體setTypeface(字體)字體(正常、無襯線、等寬字體)的文本。

android:寬度setWidth(int)使TextView正是這許多像素寬。

發佈了59 篇原創文章 · 獲贊 4 · 訪問量 2萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章