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、 と をButton下に置くことです。ユーザーが特定の単語を入力してボタンをクリックすると、値は正しく、他のすべての単語は間違っています..コードで識別する方法は?
Edittext
Button
btn.onClickListiner(this); @Override public void onClick(View v) { if (v == btn) { // check word String word = editText.getText().toString(); // don't forget "toString()" . // checking word below : }}