【代码中设置】

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:获取网页源代码
  2. Android软键盘之代码改变软键盘状态
  3. android 用代码设置margin属性,textView加粗
  4. Android调用百度地图API实现――实时定位代码
  5. android获取当前Canvas位图代码
  6. Android 代码获取手机ip地址(个人笔记)
  7. Android Studio 添加百分比布局库的依赖报错 第一行代码
  8. android 打开摄像头的代码

随机推荐

  1. 基站定位获取位置坐标
  2. 自定义ListView,解决嵌套item显示不全问
  3. ReleaseNotes 3.1 & 3.2
  4. android 文字转化为语音TextToSpeech
  5. Android(安卓)listView 中响应Button点击
  6. 用Android(安卓)写休闲拼图游戏(二)
  7. Android端实现图标带提示数字功能
  8. android 获取手机相关信息
  9. material-dialogs(material design)
  10. List of Android(安卓)MIME types and Ur