org.hermit.android.widgets
Class LinedEditText

java.lang.Object
  extended by EditText
      extended by org.hermit.android.widgets.LinedEditText

public class LinedEditText
extends EditText

A custom EditText that draws lines between each line of text that is displayed.


Constructor Summary
LinedEditText(Context context, AttributeSet attrs)
          Construct a widget from a given attribute set.
 
Method Summary
protected  void onDraw(Canvas canvas)
          Overridden onDraw method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinedEditText

public LinedEditText(Context context,
                     AttributeSet attrs)
Construct a widget from a given attribute set. This is required to allow this widget to be used from XML layouts.

Parameters:
context - Context we're running in.
attrs - Attributes for this widget.
Method Detail

onDraw

protected void onDraw(Canvas canvas)
Overridden onDraw method. Draw the text, with lines.

Parameters:
canvas - Canvas to draw into.