How to Get Rid of the Pink Mail Icon

In Android Studio version 1.5.1 when using the ‘Blank Activity’ template, a pink email icon is placed onto the screen by default.

Emulator Screen Capture

In order to remove the pink icon, open the activity_main.xml file in the res/layouts folder, and remove the highlighted section of code.

Code

In activity_main.java, remove the highlighted code:

main_activity.java

 

Share:

Facebooktwittergoogle_plusredditpinterestlinkedinmail

profcodegirl