zoukankan      html  css  js  c++  java
  • 新旧 界面

    1、

    res --> values --> styles.xml

    新版:

    <style name="AppBaseTheme" parent="Theme.AppCompat.Light">

    </style>

    旧版:

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

    2、

    res --> values-v11 --> styles.xml

    新版:

    <style name="AppBaseTheme" parent="Theme.AppCompat.Light">
    </style>

    旧版:

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

    3、

    res --> values-v14 --> styles.xml

    新版:

    <style name="AppBaseTheme" parent="Theme.AppCompat.Light.DarkActionBar">
    </style>

    旧版:

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

    4、

    res --> menu --> main.xml

    新版:

    <item
    android:id="@+id/action_settings"
    android:orderInCategory="100"
    android:title="@string/action_settings"
    app:showAsAction="never"/>

    旧版:

    <item
    android:id="@+id/action_settings"
    android:orderInCategory="100"
    android:showAsAction="never"
    android:title="@string/action_settings"/>

    X

  • 相关阅读:
    内网Windows Server时间自动同步
    处理sqlserver数据
    virtualenv使用
    vue过渡动画效果
    vue视图
    vue组件
    Vue实例
    vue介绍
    Bootstrap布局
    Bootstrap组件
  • 原文地址:https://www.cnblogs.com/codeskilla/p/4957453.html
Copyright © 2011-2022 走看看