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
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.
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
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
4 matches
Mail list logo