dbachelder / CreditCardEntry

Smooth UI for Credit Card Entry on Android device, regex check for supported credit card types and luhn check. Inspired by Square credit card entry interface
MIT License
503 stars 166 forks source link

Setting card to invisible in layout and then visible renders the view unsuable #36

Open SundeepK opened 8 years ago

SundeepK commented 8 years ago

I have noticed that we I set the view to android:visibility="invisible" in the layout and then later make it visible via code. The view will display, but I can't seem to focus on it or tap on the view to try and enter data.

However, you can programmatically make the view "GONE" or "INVISIBLE" and then later make is visible. I'm using android version 6 on a nexus 6p is that helps. I haven't dug into the source code to find the problem because there's an easy work around but it might be worth having it documented as a issue for other too see.

dbachelder commented 8 years ago

Thanks for the report. Can you reproduce the issue in the demo app? I'll try to look at it later this week if you don't get to it.