//検索用(テスト)
private static final String MATCH_HIRAGANA = "^[u3040-u309F]+$"; if(editView.getText().toString().matches(MATCH_HIRAGANA)){ Toast.makeText(getActivity(), "ひらがなだった", Toast.LENGTH_SHORT).show(); }
//検索用(テスト)
private static final String MATCH_HIRAGANA = "^[u3040-u309F]+$"; if(editView.getText().toString().matches(MATCH_HIRAGANA)){ Toast.makeText(getActivity(), "ひらがなだった", Toast.LENGTH_SHORT).show(); }
コメント