New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On GingerBread, ListView's background looks wried with material theme when one of its item is pressed. #17
Comments
ummm... I don't see this issue. Are you sure it's there? |
Yes, I'm sure. My emulator's Android version is 2.3.3. |
But I can't reproduce it on the emulator. Odd. |
Press one item, and don't release your finger. |
oops. I missed this part. How could it be? |
I also want to know… |
Here's what I did in my app. It avoids this issue by having a simple ListView. Single selection:
Multi-selection:
|
Thank you @AndroidDeveloperLB,What's the style xml of your ListView. |
I didn't set a style for the listView. |
Well the activity has the theme of the library, with just a few adjustments for other stuff, but as I remember they shouldn't affect ListViews in general...
The rest is just customized attributes that I've created for very specific usages (because my app has multiple themes the user can choose from). |
Same issue here. |
@RaymondBakkerMoonlightMultimedia I think this is caused by an issue of old platform's ListView(Not very sure). Here is a workaround: 3ab68ad |
what exactly have you changed? |
@AndroidDeveloperLB Seems old Android verions behave differently when using @color or @drawable resources. I have yet to test to verify that it has been fixed. |
Ohhh... I remember I read about it somewhere. in order to use a color, you have to use a drawable that has it inside a "shape" xml tag. |
Just tested it, can confirm that it has been fixed! |
Could you please publish the new version on Maven? Thanks in advance |
@marbat87 0.2.1 is available now. |
On GingerBread emulator. Choose Material theme(or Material light theme), and show "List Dialog"(or any other dialog contains ListView) . Then press an item and all the other items look like being pressed.
The text was updated successfully, but these errors were encountered: