MrEngineer13 / SnackBar

toast-like alert pattern for Android inspired by the Google Material Design Spec

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weird behaviour of action button.

StephaneBg opened this issue · comments

When the snack is shown for the second time the text is underlined.
A long press on the text of the button asks for actions.

screenshot_2014-10-30-18-09-06

Interesting, what I think is happening is that Android is giving the focus to the SnackBar button so what I've done is set the SnackBar action button focusable to false which should fix the problem. Please verify this and let me know as I cannot reproduce this on my device.

I had this problem, what I did to fix this, was removing the "android:editable" and the "android:capitalize"" attributes from the button style...