【代码中设置】

public void onCreate(Bundle savedInstanceState)    {        super.onCreate(savedInstanceState);                // set full screen        requestWindowFeature(Window.FEATURE_NO_TITLE);        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);                setContentView(R.layout.iff_main);    }

Maifest 配置文件中设置

  <activity            android:name="com.pbi.iff.IFFActivity"            android:label="@string/app_name"            android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" >            <intent-filter>                <action android:name="android.intent.action.MAIN" />                <category android:name="android.intent.category.LAUNCHER" />            </intent-filter>        </activity>


更多相关文章

  1. android设置多个类似APP其中的一个为默认
  2. Android实现动态切换横竖屏,保存横竖屏数据(用Preference存储)
  3. Android获取、设置Wifi状态
  4. [Android实例] android多点触摸demo .
  5. android中检查是否联网code
  6. Android程序开发:简单电话拨号器
  7. android 相对布局例子代码
  8. Android(安卓)设置View背景图网络url
  9. 从头开始学Android—Android(安卓)Studio(二)

随机推荐

  1. Android(安卓)画图常用类
  2. Android(安卓)Studio下载地址[国内可下载
  3. 补间动画
  4. Android中Cursor类的概念和用法
  5. 安卓开发---进度条
  6. Android:获取设备ID、型号等
  7. Android终于公布源代码
  8. LinearLayout和RelativeLayout 属性对比
  9. Android(安卓)编程好书推荐
  10. Android(安卓)使用Json实现服务器与客户