Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
タイムアウト設定については、ユーザーに数値を尋ねる必要があります。Androidに「数値制御」のキドがありますか、それともテキスト入力を使用して、ユーザーが指定したテキストが数値かどうかを確認する必要がありますか? どうもありがとうございました!
テキストボックスのグラフィカル レイアウト ビューで [プロパティ] > [入力の種類] > [数値] を選択するか、xml ビューで "android:inputType="number"" を EditText に追加できます。
これを編集テキストフィールドに入力してみてください..これは数字のみを受け入れます..
android:inputType="number"
このプロパティを編集テキストに追加します。