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

  • 相关阅读:
    requireJS搭建
    html启动本地.exe文件
    自定义input[type="checkbox"]的样式
    使用rem单位时css sprites的坑
    visibility API
    css动画
    去除ios端输入框的弹出
    *java类的生命周期
    处理高并发,防止库存超卖
    java注解的使用
  • 原文地址:https://www.cnblogs.com/codeskilla/p/4957453.html
Copyright © 2011-2022 走看看