onEditorAction 같은 기능에 대해서 몇가지 질문 드립니다.
edWidth.setOnEditorActionListener(new OnEditorActionListener() {
@Override
public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
});
TextWatcher textWatcherInput = new TextWatcher() {
@Override
public void onTextChanged(CharSequence s, int start, int before, int count) {
// TODO Auto-generated method stub
}
@Override
public void beforeTextChanged(CharSequence s, int start, int count,
int after) {
// TODO Auto-generated method stub
}
@Override
public void afterTextChanged(Editable s) {
// TODO Auto-generated method stub
}
};
1) onEditorAction 함수 이용시 TextView의 v 값을 가지고 올 수 있습니다.
그런데 TextView의 터치나 숫자 입력시에는 v 값을 못가지고 오고 완료 버튼을 눌러야지만 v 값을 가지고 올 수 있는데 혹시 단순 숫자만 입력을 한 것 만으로도 v값을 가지고 오는게 가능할까요??
2) TextView 클릭 시 숫자키패드가 나오는데 키패드 호출된 상태에서 화면의 다른 부분을 터치가 안되게 하는게 가능한지 알고 싶습니다. 아니면 숫자키패드를 만들수 밖에 없는 건가요??