application 风格适应多版本

//多版本改为没有actionbar要做..................

 values_v11    styles.xml   改为

<resources>

    <!--
        Base application theme for API 11+. This theme completely replaces
        AppBaseTheme from res/values/styles.xml on API 11+ devices.
    -->

//默认是有actionbar的   <style name="AppBaseTheme" parent="android:Theme.Holo.Light">
    <style name="AppBaseTheme" parent="android:Theme.Light.NoTitleBar">
        <!-- API 11 theme customizations can go here. -->
    </style>

</resources>

values_v14    styles.xml 改为

<resources>

    <!--
        Base application theme for API 14+. This theme completely replaces
        AppBaseTheme from BOTH res/values/styles.xml and
        res/values-v11/styles.xml on API 14+ devices.
    -->

//默认 是有actionbar的<style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar">
    <style name="AppBaseTheme" parent="android:Theme.Holo.Light.NoActionBar">
        <!-- API 14 theme customizations can go here. -->
    </style>

</resources>

你可能感兴趣的:(noactionbar)