Code example for ActionBarActivity

0
 
 
/** 
 * Created by daro on 8/26/13. 
 */ 
public class AboutActivity extends ActionBarActivity { 
 
    @Override 
    protected void onCreate(Bundle savedInstanceState) { 
        super.onCreate(savedInstanceState); 
        setContentView(R.layout.activity_demo); 
        getSupportActionBar().setTitle(getString(R.string.demo_tab_title)); 
        getSupportActionBar().setDisplayHomeAsUpEnabled(true); 
    } 
} 
Connect your IDE to all the code out there  Get Codota for Java