134

持つことができる値はどこにInputTypeありますか?

http://developer.android.com/reference/android/text/InputType.htmlを知っていますが、レイアウトXMLファイルの値はどのように表示されますか?

4

3 に答える 3

314

Eclipse のプロパティ タブを使用して、さまざまな値を設定できます。

ここにすべての可能な値があります

  • なし
  • 文章
  • textCapCharacters
  • textCapWords
  • textCapSentences
  • テキストオートコレクト
  • テキストオートコンプリート
  • テキスト複数行
  • textImMultiLine
  • textNoSuggestions
  • textUri
  • テキストメールアドレス
  • textEmail件名
  • textShortMessage
  • textLongMessage
  • textPersonName
  • textPostalAddress
  • テキストパスワード
  • textVisiblePassword
  • textWebEditText
  • テキストフィルター
  • テキストふりがな
  • textWebEmailAddress
  • textWebPassword
  • 番号
  • 番号署名済み
  • numberDecimal
  • 番号パスワード
  • 電話
  • 日付時刻
  • 日にち
  • 時間

説明については、こちらをご覧ください: http://developer.android.com/reference/android/widget/TextView.html#attr_android:inputType

于 2010-04-26T11:11:49.717 に答える