Hi, Did you get a solution ?
I have the same problem... Thanks, Antoine On 25 août, 05:42, fr4gus <[email protected]> wrote: > Hi all, > > I'm trying to use a custom listSelector on aGridView. When I use the > default listSelector, I see that it modifies the size of my items so > the listSelector display correctly. The listSelectoris bigger than > my items: > > See how when using the default selecto, it make grid items to be > resized. Above thegridviewI have a LinearLayout with 4 of the same > images(ImageView) theGridViewcontains. > > 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 theselectorbeing fit to my > items size. At least my items won't get resized > > http://twitpic.com/2hxlni > > Any ideas of how to set aselectorthat 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

