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.
ページがロードされた後にデフォルト値を表示する、編集不可能なEditTextとがあります。次に、ユーザーがボタンをクリックした後に有効にして編集可能にしSpinnerたいと考えています。事前に感謝します:)EditTextSpinner
EditText
Spinner
使用方法:
editText.setEnabled(false); spinner.setEnabled(false);
onCreate()-メソッドとボタンクリックで。
onCreate()
editText.setEnabled(true); spinner.setEnabled(true);