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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Talwinder Singh](https://secure.gravatar.com/avatar/f8577b984064e6d549b482ccb60a0265?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Talwinder Singh
826 PointsTitle not appearing
My app's title "Interactive story" is not appearing at the top and also their appears some message icon in bottom right corner.
1 Answer
![Kyle Baker](https://secure.gravatar.com/avatar/bb52e30e7d3577778c9dc43c8d6abe5c?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Kyle Baker
8,211 PointsThat message icon is a float button so to get rid of that you just get rid of the xml and java for the float button. Look in activity_main.xml at the bottom and get rid of this
<android.support.design.widget.FloatingActionButton android:id="@+id/fab" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom|end" android:layout_margin="@dimen/fab_margin" app:srcCompat="@android:drawable/ic_dialog_email"/>
Then in MainActivity.java in the onCreate method, get rid of this
FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab); fab.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG) .setAction("Action", null).show(); } });
As for your other question, I would like to see your activity_main.xml, AndroidManifest.xml and your styles.xml in order to attempt to answer. :)
kelvin gwaruka
931 Pointskelvin gwaruka
931 PointsThanks Kyle, successfully removed my button which was bothering me a bit.
Kyle Baker
8,211 PointsKyle Baker
8,211 PointsGlad to help Kelvin :)