Different Theme for different Android SDK versions

后端 未结 1 730
予麋鹿
予麋鹿 2020-12-14 01:01

Is there a way to use a different theme depending on which SDK version the application is installed on?

The reason I ask is because I want to support all the way bac

相关标签:
1条回答
  • 2020-12-14 01:45

    What you are doing (with your values-v14 folder) is correct. You just need to change your Build Target to allow it to compile. (right click your project, choose properties, select Android, Choose Android 14 or above)

    Make sure you do not use any features greater than your android:minSdkVersion as it will cause a Force Close if used on an earlier version of Android.

    0 讨论(0)
提交回复
热议问题