很简单,修改styles.xml代码

    <style name="AppBaseTheme" parent="android:Theme.Light">

       

    style>


   

    <style name="AppTheme" parent="AppBaseTheme">

       

    style>


为:

    <style name="AppBaseTheme" parent="android:Theme.Holo.Light">

        

    style>


   

    <style name="AppTheme" parent="AppBaseTheme">

       

    style>



然后

AndroidManifest.xml文件中设置android:theme="@style/AppTheme"

    <application

        android:name=".AppContext"

        android:allowBackup="true"

        android:icon="@drawable/logo"

        android:label="@string/app_name"

        android:launchMode="singleTask"

        android:screenOrientation="portrait"

        android:theme="@style/AppTheme" >

   application>


 运行程序可观察前后对比效果






更多相关文章

  1. Android 发送短信 源代码
  2. Android:如何实现例如iOS的listview 的弹性效果
  3. android 常用代码备份
  4. android AnimationDrawable类实现动画效果
  5. [Android] 代码实现按钮/图片自旋转(中心旋转)
  6. android 的C++代码都加 namespace android
  7. Android代码混淆一定要Export Android Application,否则不起效
  8. Android的Location功能代码
  9. 页面跳转采用滑动效果

随机推荐

  1. Android用户界面UI组件--AdapterView及其
  2. [置顶] Android各种Layout用到的一些重要
  3. Maven + Eclipse + Android(安卓)环境搭
  4. Android小技巧/ImageView src与backgroun
  5. android应用自定义字体
  6. Android(安卓)IPC机制
  7. android获取mac地址
  8. Android架构组件-Paging库的使用
  9. Android设置TextView行间距(非行高)
  10. android中的(singleLine)单行显示 none sta