overwriting ondraw off an edittext but still extending activity
so i wan't to make a edit text like this one

![enter image description here][1]


  [1]: http://i.stack.imgur.com/Dm6zs.png

i know to get the lines i need to over write the ondraw but how can i due this and still extend activity ??

i found this post 
http://groups.google.com/group/android-developers/browse_thread/thread/35c777eb33a60ded?pli=1

but it dos not explain how the implemation is don 
overwriting ondraw off an edittext but still extending activity
===

so i wan't to make a edit text like this one

![enter image description here][1]


  [1]: http://i.stack.imgur.com/Dm6zs.png

i know to get the lines i need to over write the ondraw but how can i due this and still extend activity ??

i found this post 
http://groups.google.com/group/android-developers/browse_thread/thread/35c777eb33a60ded?pli=1

but it dos not explain how the implemation is don 