@@ -0,0 +1,1159 @@
+package com.roly.nfc.crypto.view;%0A%0Aimport android.content.Context;%0Aimport android.graphics.Canvas;%0Aimport android.graphics.Color;%0Aimport android.graphics.Paint;%0Aimport android.util.AttributeSet;%0Aimport android.widget.EditText;%0A%0Apublic class LineEditText extends EditText %7B%0A%0A    private static Paint linePaint;%0A%0A    static %7B%0A        linePaint = new Paint();%0A        linePaint.setColor(Color.BLACK);%0A        linePaint.setStyle(Paint.Style.STROKE);%0A    %7D%0A%0A    public LineEditText(Context context, AttributeSet attrs) %7B%0A        super(context, attrs);%0A    %7D%0A%0A    @Override%0A    protected void onDraw(Canvas canvas) %7B%0A        int lineHeight = getLineHeight();%0A        int totalLines = Math.max(getLineCount(), getHeight() / lineHeight);%0A%0A        int voffset = getExtendedPaddingTop();%0A%0A        int paddingLeft = getPaddingLeft();%0A        int paddingRight = getPaddingRight();%0A        int width = canvas.getWidth() - paddingLeft - paddingRight;%0A%0A        for (int i = 1; i %3C totalLines; i++) %7B%0A            int lineY = voffset + i * lineHeight;%0A            canvas.drawLine(paddingLeft, lineY, width, lineY, linePaint);%0A        %7D%0A%0A        super.onDraw(canvas);%0A    %7D%0A%0A%7D%0A

Add LineEditText view