Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

orange outline color around item view #34

Open
martingg88 opened this issue Nov 23, 2014 · 1 comment
Open

orange outline color around item view #34

martingg88 opened this issue Nov 23, 2014 · 1 comment

Comments

@martingg88
Copy link

I've set the following drawable to pinterestlikeadapterView, but it keep show me the
orange outline around item view once I've pressed the item view. Do you have any idea about this issue?

Your help will be much more appreciated. Many thanks.

<item android:state_focused="true"  android:state_enabled="false" android:state_pressed="true" android:drawable="@color/active_background" />
<item android:state_focused="true"  android:state_enabled="false"                               android:drawable="@color/active_background" />
<item android:state_focused="true"                                android:state_pressed="true"  android:drawable="@color/active_background" />
<item android:state_focused="false"                               android:state_pressed="true"  android:drawable="@color/active_background" />
<item android:state_focused="true"                                                              android:drawable="@color/active_background" />

<item android:drawable="@drawable/shape_gridview_round" />
@hxors
Copy link

hxors commented Dec 8, 2014

set the gridview's selector to transparent, then you can get it. good luck.
eg. gridView.setSelector(new ColorDrawable(Color.TRANSPARENT));

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants