You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the problem is that SpeedDialView is not the FAB itself, but just a LinearLayout. Thus, the contentDescription is being applied to the SpeedDialView and not the (main) FAB that's IN the SpeedDialView. (If that's not the problem, then I don't know what is.)
The text was updated successfully, but these errors were encountered:
Hi @TacoTheDank, thank you for reporting the issue.
As far as I can tell the contentDescription that you set to the SpeedDialView is also applied to the main FAB (see here and here).
Can you please try to call SpeedDialView.setContentDescription() programmatically after the main fab is created? maybe something is still null when I'm trying to set it from XML and a workaround could be to call setContentDescription programmatically.
Unfortunately right now I do not have time to dig deeper in this issue but PRs are welcome.
@leinardi Hi, I did what you suggested. I removed android:contentDescription="@string/apply_action" from the XML and set setContentDescription() programmatically, and it now works. The main FAB is now described as "Apply action button."
Step 1: Are you in the right place?
Step 2: Describe your environment
?
(not sure what this means)Step 3: Describe the problem:
Steps to reproduce:
Observed Results:
Expected Results:
Relevant Code:
I think the problem is that SpeedDialView is not the FAB itself, but just a LinearLayout. Thus, the contentDescription is being applied to the SpeedDialView and not the (main) FAB that's IN the SpeedDialView. (If that's not the problem, then I don't know what is.)
The text was updated successfully, but these errors were encountered: