On Mon, Nov 23, 2009 at 10:20 PM, Nithin wrote:
> Try offsetLeftAndRight() and offsetTopAndBottom() on the imageView, to
> position it accordingly in the layout. But it is temporary only. Both
> these offset will reset in the next layout pass.
>
Given that you don't know when a layout pass will
Thanks for the replies, guys. I ended up using View.setPadding (the
temporary nature of the offset* methods was a bit too transitory for
my needs) to set a left/top padding on the ImageView, and it works
like a charm.
On Nov 23, 11:44 pm, "appforce.org" wrote:
> Hi Eric,
>
> Have you considered
Hi Eric,
Have you considered changing your adapter to provide the ImageView-s
nested in RelativeLayout-s?
This will let you do getParent().addView() on you icons.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send
Hi Eric,
Try offsetLeftAndRight() and offsetTopAndBottom() on the imageView, to
position it accordingly in the layout. But it is temporary only. Both
these offset will reset in the next layout pass.
Thanks
On Nov 24, 1:53 am, Eric wrote:
> Hey all,
>
> I'm trying to figure out how to mimic the
4 matches
Mail list logo