ttilLastDate = (TextInputLayout) view.findViewById(R.id.tilLastDate);
tilLastDate.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Log.v("PublishTask","has click");
}
});
为什么OnClickListener不起作用?