[android-developers] Re: ListView selection highlight size

2008-11-25 Thread Andriy Zakharchuk
Have you tried setting your own list selector via android:listSelector or setSelector(int)? Hmm, when I read documentation first time I thought that it is a kind of an icon (checkbox or smth else) I can use in addition to the selection. Now, I played with it a little bit, and I guess that's

[android-developers] Re: ListView selection highlight size

2008-11-21 Thread Mark Murphy
Andriy Zakharchuk wrote: Is there any way to make highlight box smaller, the same size as list view item is (like it was in m3_rc37)? There may be a theme or style that handles this, but you can always create your own layout for the adapter to use, and you can control the height that way.

[android-developers] Re: ListView selection highlight size

2008-11-21 Thread Andriy Zakharchuk
Thank you for answering. The problem is not with list item view itself. I do everything you are talking about: I created my custom adapter, which returns my custom list item views, which extend LinearLayout and contain a number of widgets inside. However with Adapter.new/getView() I can control

[android-developers] Re: ListView selection highlight size

2008-11-21 Thread Mark Murphy
Andriy Zakharchuk wrote: So my question was about selected item highlight, not the list item view. Ah, terribly sorry. Have you tried setting your own list selector via android:listSelector or setSelector(int)? -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the