floating action button not showing image [duplicate]
问题 This question already has answers here : error: package android.support.design.widget does not exist (4 answers) Closed 2 years ago . I've added xml code to have a floating action button on my screen (no functionality right now but will) but when I go onto the design view of xml, instead of showing the email icon image, it shows just text like 'floating action button': ' Could someone explain what I've done wrong? the code I use: <android.support.design.widget.FloatingActionButton android:id=