Android examples for User Interface:EditText
is EditText Input Equal To
//package com.java2s; import android.widget.EditText; public class Main { public static boolean isInputEqualTo(EditText editText, double input) { if (Double.parseDouble(editText.getText().toString()) == input) return true; return false; }/* w ww . j ava 2 s.c o m*/ }