us take a look at default themes supplied with Android SDK. Below themes will control the background, status bar and title bar.

Status bar: Visible

Status bar: Visible

Status bar: Invisible

Title bar: Visible

Title bar: Invisible

Title bar: Invisible

Theme

Theme.NoTitleBar

Theme.NoTitleBar.Fullscreen

Theme.Black

Theme.Black.NoTitleBar

Theme.Black.NoTitleBar.Fullscreen

Theme.Light

Theme.Light.NoTitleBar

Theme.Light.NoTitleBar.Fullscreen

Theme.Translucent

Theme.Translucent.NoTitleBar

Theme.Translucent.NoTitleBar.Fullscreen

剩余的就是修改里面的参数了

<activity

android:name=“.Welcome”

android:label=“@string/app_name”

android:theme=“@android:style/Theme.Translucent.NoTitleBar” >

setTheme(android.R.style.Theme_Translucent_NoTitleBar);

setContentView(R.layout.main);

<?xml version=“1.0″ encoding=“utf-8″?>

<resources>

<style name=“MyTheme”>

HERE DEFINE ALL THE ATTRIBUTES

</style>

更多相关文章

  1. mybatisplus的坑 insert标签insert into select无参数问题的解决
  2. Python技巧匿名函数、回调函数和高阶函数
  3. python list.sort()根据多个关键字排序的方法实现
  4. fragment
  5. android Gallery 详解
  6. android客户端访问网络工具类
  7. android登录超时显示demo
  8. Android中Fragment的Arguments
  9. Android(安卓)Http Get/Post提交请求

随机推荐

  1. Android模拟器中创建和使用SDCard
  2. 【Android】模拟Android微信APK底部的Tab
  3. Android(安卓)访问权限设置
  4. AOSP和Chromium的Android(安卓)WebViewTe
  5. Android(安卓)Service最全面的解析
  6. android 视频 加密/解密(使用AES)
  7. 疯狂安卓Android自学笔记
  8. Android(安卓)开发系列视频教程下载
  9. 编译Android源码时出现的java版本的问题
  10. Android(安卓)Bitmap太大导致ImageView不