Thank you, Justin.

I tried to play with onMeasure and onLayout methods. 
I've reviewed source code of TextView and it seems that bounds of 
background can't be changed:

public void draw(Canvas canvas) { 
    ...    

    background.setBounds(0, 0,  mRight - mLeft, mBottom - mTop); 

    ...
}

I agree with you that it doesn't make sense try to do this within EditText.

And it is really makes development much faster if you  "Do the simplest 
thing that could possibly work."  

Many Thanks !

Dan.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to