Back to project page androidactionbar.
The source code is released under:
Apache License
If you think the Android project androidactionbar listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package info.androidhive.actionbar; /* w w w .jav a 2 s . c om*/ import android.app.ActionBar; import android.app.Activity; import android.os.Bundle; public class LocationFound extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_location_found); // get action bar ActionBar actionBar = getActionBar(); //actionBar.setIcon(R.drawable.ico_actionbar); // Enabling Up / Back navigation actionBar.setDisplayHomeAsUpEnabled(true); } }