第一步:
在styles.xml增加如下:
<style name="CustomActivityTheme" parent="@android:style/Theme.NoTitleBar.Fullscreen">
<item name="android:textColor">#000000</item>
</style>
第二步:AndroidManifest.xml中将应用的主题设置成自己定义的一个继承了Theme.NoTitleBar.Fullscreen的主题
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/CustomActivityTheme" >