Java tutorial
//package com.java2s; import android.app.ActionBar; import android.app.Activity; public class Main { public static void setupActionBarDisplayUp(Activity activity) { setupActionBar(activity); activity.getActionBar().setDisplayHomeAsUpEnabled(true); } public static void setupActionBar(Activity activity) { ActionBar actionBar = activity.getActionBar(); actionBar.setDisplayUseLogoEnabled(true); } }