Hi all,

I'm trying to use a custom listSelector on a GridView. When I use the
default listSelector, I see that it modifies the size of my items so
the listSelector display correctly. The list Selector is bigger than
my items:

See how when using the default selecto, it make grid items to be
resized. Above the gridview I have a LinearLayout with 4 of the same
images(ImageView) the GridView contains.

http://twitpic.com/2hxkjh

I wanted a custom listSelector, not as bigger as the default (that
makes my items smaller), but bigger enough to simulate a border on
them without overlap my items content.
I'm, not sure if this is an expected behavior, but when I set the
listSelector with my own image, I see the selector being fit to my
items size. At least my items won't get resized

http://twitpic.com/2hxlni

Any ideas of how to set a selector that doesn't get resized?

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

Reply via email to