XMLでリセットボタンを作ってJAVAで中身を作ろうとしているのですがfield"button2"is never usedとなって認識されません。
調べてみるとバージョンを上げると解決したりするらしいのですが、やり方がよく分かりません。
public class MainActivity extends AppCompatActivity implements SensorEventListener {
SensorManager manager;
Sensor sensor;
TextView xTextView;
TextView editText;
TextView editText3;
TextView cal;
Button button;
Button button2;
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。