EditText input屬性大全

2021-08-21 16:50:10 字數 1347 閱讀 1017

android:inputtype=」none」

android:inputtype=」text」

android:inputtype=」textcapcharacters」 字母大寫

android:inputtype=」textcapwords」 首字母大寫

android:inputtype=」textcapsentences」 僅第乙個字母大寫

android:inputtype=」textautocorrect」 自動完成

android:inputtype=」textautocomplete」 自動完成

android:inputtype=」textmultiline」 多行輸入

android:inputtype=」textimemultiline」 輸入法多行(如果支援)

android:inputtype=」textnosuggestions」 不提示

android:inputtype=」texturi」 **

android:inputtype=」textemailaddress」 電子郵件位址

android:inputtype=」textemailsubject」 郵件主題

android:inputtype=」textshortmessage」 短訊

android:inputtype=」textlongmessage」 長資訊

android:inputtype=」textpersonname」 人名

android:inputtype=」textpostaladdress」 位址

android:inputtype=」textpassword」 密碼

android:inputtype=」textvisiblepassword」 可見密碼

android:inputtype=」textwebedittext」 作為網頁表單的文字

android:inputtype=」textfilter」 文字篩選過濾

android:inputtype=」textphonetic」 拼音輸入 //數值型別

android:inputtype=」number」 數字

android:inputtype=」numbersigned」 帶符號數字格式

android:inputtype=」numberdecimal」 帶小數點的浮點格式

android:inputtype=」phone」 撥號鍵盤

android:inputtype=」datetime」 時間日期

android:inputtype=」date」 日期鍵盤

android:inputtype=」time」 時間鍵盤

CSS屬性 背景屬性 or 浮動屬性

background color red background image url background repeat no repeat repeat repeat x repeat y background position 水平位置 垂直位置 可以給負值 background attachme...

復合屬性 列表屬性 文字屬性

background 復合屬性 url 位址 本地位址,網路位址 repeat 預設值 水平和垂直都鋪滿 repeat x 只鋪滿水平方向 左右 repeat y 只鋪滿垂直方向 上下 no repeat 不平鋪 放不滿,留出空白 background size 100 100 背景縮放 boxba...

CSS屬性 文字屬性 or 列表屬性

font weight bolder 更粗的 bold 加粗 normal 常規 lighter 細的 font weight 100 900 100 500 不加粗 600 900 加粗 常用 100 細體 400 正常 700 加粗 900 更粗 font style italic 傾斜字 ob...