📜  TextInputEditText 点击事件 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:02.457000             🧑  作者: Mango

代码示例1
from_textedit.setEnabled(true);
from_textedit.setTextIsSelectable(true);
from_textedit.setFocusable(false);
from_textedit.setFocusableInTouchMode(false);
from_textedit.setOnClickListener(new View.OnClickListener() {
    @Override
    public void onClick(View view) {
        Log.d(TAG, "Edit Text is clicked");
    }
});