Hi i got a problem with a listview,
how can i get to change the state when my listview item is selected (in the
use of multipane view)
i only need to change that state the other states like pressed and things i
like to keep default
Thanks
--
You received this message because you are
Here is how I do it:
?xml version=1.0 encoding=utf-8?
selector xmlns:android=http://schemas.android.com/apk/res/android;
item android:drawable=@android:color/transparent
android:state_pressed=true/
item android:drawable=@android:color/transparent
android:state_selected=true/
item
I just want the selector to be as default, when I select an item I see
color change. But when I change my xml the selector is no longer
working. Why is this so?
---
?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
Hi,
In my application I have a list with 2 types of items. For the first
type I can use the default selector drawn behind the content, but for
the second type I would need another selector that is drawn in front
of the content.
Can this be done in android?
The reason why I need another
Yes you can. Look for examples where ListViews can show multiple view types.
On Wed, Nov 3, 2010 at 10:10 PM, Johannes De Smedt
johannes.desm...@gmail.com wrote:
Hi,
In my application I have a list with 2 types of items. For the first
type I can use the default selector drawn behind the
Make the image slightly smaller than the list item size - in other words,
leave a margin for the standard selection.
Consistency in the UI is a good thing.
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
03.11.2010 19:40 пользователь Johannes De Smedt
johannes.desm...@gmail.com написал:
6 matches
Mail list logo