I refered to this link: How do I make a dotted/dashed line in Android?, and used DashPathEffect. But this does not work for me? why? my code:
DashPathEffect
pu
This should work.
EditText editText=(EditText) v.findViewById(android.R.id.text1); editText.setPaintFlags(editText.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG);
EditText editText=(EditText) v.findViewById(android.R.id.text1);
editText.setPaintFlags(editText.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG);