Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build an Interactive Story App (Retired) User Input Using EditText for Text Input

Ahmad Ghazal
Ahmad Ghazal
981 Points

Email button at the bottom right corner

I have an email button showing at the right bottom corner of the emulator screen, I don't know where it came from, its been there since the beginning of the project. I cant click on it or highlight it, any one has the same or knows the reason

1 Answer

It is called a Floating Action Button (FAB). To remove it go to app > res > layout > activity_main.xml (or whatever your main activity is called). It will not look like your other layout and instead will contain the FAB. You can remove it in the text view of the layout if you want, otherwise, you should be able to select it now.

tl;dr There are 2 layout files, one will be of the content and the other will contain the button.