我最近格式化了我的电脑,但在安装Eclipse并运行程序后,该应用程序与以前看起来不一样。Android程序在旧版本中工作
我来解释一下这个例子用图片..
新
老
这里是我的清单版本
<uses-sdk android:minSdkVersion="8"
android:targetSdkVersion="22"
android:maxSdkVersion="24" />
我最近格式化了我的电脑,但在安装Eclipse并运行程序后,该应用程序与以前看起来不一样。Android程序在旧版本中工作
我来解释一下这个例子用图片..
新
老
这里是我的清单版本
<uses-sdk android:minSdkVersion="8"
android:targetSdkVersion="22"
android:maxSdkVersion="24" />
中使用Android支持库。
https://android-developers.blogspot.com/2014/10/appcompat-v21-material-design-for-pre.html
这样你就可以得到所有API版本的同一个主题。
其他一些有用的链接:
https://guides.codepath.com/android/Migrating-to-the-AppCompat-Library https://developer.android.com/topic/libraries/support-library/setup.html https://developer.android.com/topic/libraries/support-library/features.html
格式化“查看需要API级别14(当前最小为8):
您所看到的不同文本样式和小工具。这是预计在不同的Android版本 –
不,相同。程序API改变..请帮助.. – davut
一切看起来不一样。你明确指出“新”和“旧” –