android-autofittextview icon indicating copy to clipboard operation
android-autofittextview copied to clipboard

Add stroke for text content

Open khacpv opened this issue 9 years ago • 3 comments

How can I add a stroke for content of text? I tried to override onDraw with Paint.Style.STROKE but it's too difficult to locale position of stroke text. Anyone can help me? thanks a lot!

khacpv avatar Aug 05 '15 05:08 khacpv

Are you able to get this working with a normal TextView?

grantland avatar Aug 05 '15 06:08 grantland

I tried to combine AutoFitTextView with StrokeTextView.java library and it's work properly. But I want to use EditText, It's not working.

khacpv avatar Aug 05 '15 07:08 khacpv

Could you provide some sample code? I'm not really sure what you're doing.

grantland avatar Aug 05 '15 18:08 grantland