You must call this *after* a layout. Also, this will be reset by the
next layout pass.
On Wed, Nov 11, 2009 at 11:34 PM, Nithin wrote:
> Hi,
>
> I created textview in java and trying offsetLeftAndRight(int), but
> the textview is not moving at all. I am using linear layout.
>
> the code is,
>
>
Hi,
I created textview in java and trying offsetLeftAndRight(int), but
the textview is not moving at all. I am using linear layout.
the code is,
layout = new LinearLayout(this);
layout.setOrientation(LinearLayout.VERTICAL);
TevtView tv = new TextView(this);
tv.offsetLeftAndRight(50);
but the t
2 matches
Mail list logo