在代码里面和在manifest里面配置去标头;

代码里面:

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
((ExitApplication) getApplication()).addActivity(this);
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.activity_adress);

manifest里面:

<application
android:allowBackup="true"
android:icon="@drawable/icon"
android:label="@string/app_name"
android:name="com.example.imageloader.myAPPlication"
android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen" >

代码里面的配置比manifest里面配置的版本要高

posted @ 2016-05-16 09:03  zyy明天你好  阅读(150)  评论(0编辑  收藏  举报