ActionBar の setDisplayShowTitleEnabled を実行するか setDisplayOptions で制御する。
@Override
protected void onCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
// タイトルを表示しないようにする
getActionBar().setDisplayShowTitleEnabled(false);
// getActionBar().setDisplayOptions(0, ActionBar.DISPLAY_SHOW_TITLE);
アプリのアイコンも非表示にするなら、
getActionBar().setDisplayShowHomeEnabled(false);
が必要
でもこれだけでは不十分であり Activity起動時に一瞬アクションバー上にアイコンとタイトルが出てしまうので、
結局、style.xml で書かなくてはならない。
<resources>
<style name="AppBaseTheme" parent="android:Theme.Light">
<!--
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
-->
</style>
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
<style name="myTheme" parent="android:Widget.Holo.ActionBar">
<item name="android:displayOptions"></item>
</style>
</resources>
AndroidManifest.xml の方で、、
該当の Activity の設定にこの style を適用する。
<activity android:theme="@style/myTheme"