back soft

مطالب مرتبط با «onbase signature pad interface» در back soft | نویسنده: استخدام کار

Signature pad on Android from Fragment

Vote count: 0 First thanks to the great job!!! I tried to add a signature pad, on a android application using a custom view: public class Firma extends View{ // defines paint and canvas private Paint drawPaint; private Path path = new Path(); public Firma(Context context, AttributeSet attrs) { super(context); setFocusable(true); setFocusableInTouchMode(true); setupPaint(); } private void setupPaint() { // Setup paint with color and stroke styles drawPaint = new Paint(); int paintColor = Color.BLACK; drawPaint.setColor(paintColor); drawPaint.setAntiAlias(true); drawPaint.setStrokeWidth(5); drawPaint.setStyle(Paint.Style.STROKE); drawPaint.setStrokeJoin(Paint.Join.ROUND); drawPaint.setStrokeCa...

ادامه مطلب