增值的文件夹后,Android获得其他样式 [英] Android get an other style after adding value's folders
本文介绍了增值的文件夹后,Android获得其他样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个应用程序,需要在不同尺寸的设备上运行。
I have an application, that need to run in different size devices
对于这一点,我添加了下一个文件夹:RES /值正常和RES /价值观大。
For this, I added the next folders: res/values-normal and res/values-large.
一切工作正常,除了申请方式进行了修改。
Everything works fine except the application style was modified.
例如微调就像在型号1 并添加文件夹后,它变得像在模型2
For example the Spinner was like the Model1 and after adding the folders it became like the Model2
http://postimg.org/image/cf3qa2oqd/
如果我删除这些文件夹,所有的收益和以前一样(的型号1 )。
If I remove these folders, all returns as before (Model1).
谢谢,
注:我无法在这里添加图片
NB: I was not able to add the image here.
推荐答案
解决办法是:
改变应用程序的主题在样式文件
the solution is: change the Application Theme in the Style file
<style name="AppBaseTheme" parent="android:Theme.Holo">
它工作正常。
这篇关于增值的文件夹后,Android获得其他样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文