Android TextView's Background Not Moving When TextView.Padding Changes

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-04-28T20:05:50Z Indexed on 2010/04/28 20:27 UTC
Read the original article Hit count: 452

Filed under:
|
|
|

I have a TextView that I created in the main.xml. In my app.java I am dynamically positioning that TextView based on where the user taps the screen. The problem I am having is that when I call myTextView.setPadding(100,100,0,0), it moves the actual Text of the TextView, but does not move the Colored Background of the TextView.

Ideas?

© Stack Overflow or respective owner

Related posts about android

Related posts about textview