Java tutorial
//package com.java2s; import android.app.ActionBar; import android.app.Activity; public class Main { /** * Set the action bar to stop displaying the application icon * * @param activity The current Activity */ public static void setActionBarNoIcon(Activity activity) { // remove the icon from the actionbar ActionBar actionBar = activity.getActionBar(); if (actionBar != null) { activity.getActionBar().setDisplayShowHomeEnabled(false); } } }