James,

I don't have an answer, but I do have a note in my notebook to post
this very same question! I am experiencing the exact same problem in a
ListView.

Any help is always appreciated,

Kevin

On Oct 24, 5:44 am, James <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I have a set of items in a ListView . I'm changing the background of
> items when user select or click on the them. The background image
> changes correctly, but there always has an colored(Orange/Yellow)
> rectangle covers on the background image when I press up/down arrow or
> click on items. This looks very terrible especially when click -- the
> colored(Yellow, in this case) rectangle will show and disapear again
> quickly, but I definately could see it flashes. Is there a way to
> remove the highlight mark(colored(Orange/Yellow) rectangle)? I'm using
> 1.0 rc1.
>
> The items in ListView is TextView, as below:
>
> <?xml version="1.0" encoding="utf-8"?>
> <TextView android:id="@+id/phone_numbers_row_text_tv"
> xmlns:android="http://schemas.android.com/apk/res/android";
>     android:layout_centerHorizontal="true"
>     android:layout_width="wrap_content"
>     android:layout_height="wrap_content"
>     android:background="@drawable/list_view_selector"
>     android:gravity="center"
>     />
>
> The "list_view_selector" is as below:
> <?xml version="1.0" encoding="utf-8"?>
> <selector xmlns:android="http://schemas.android.com/apk/res/android";>
>         <item
>                 android:state_selected="true"
>                 android:drawable="@drawable/number_select_bg"/>
>         <item
>                 android:state_pressed="true"
>                 android:drawable="@drawable/number_select_bg"/>
>         <item
>                 android:state_focused="true"
>                 android:drawable="@drawable/number_select_bg"/>
>         <item
>                 android:drawable="@drawable/number_bg"/>
> </selector>
--~--~---------~--~----~------------~-------~--~----~
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