同理 org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:?Line?52?in?XML?document?from?class?path?resource?[bean.xml]?is?invalid;?nested?exception?is?org.xml.sax.S...
分类:
Web程序 时间:
2014-09-16 16:14:00
阅读次数:
859
http://blog.csdn.net/heartofthesea/article/details/222893991.将准备好的字体文件加入项目中2.打开Build Phases—Copy Bundle Resources,确保刚添加的字体文件在列表中,否则需要手动加到这里3.编辑”项目名-In...
分类:
移动开发 时间:
2014-09-15 17:10:59
阅读次数:
267
1、确定你的项目工程的Resources下有你要用的字体文件(.ttf或者.odf)。2、然后在你的工程的Info.plist文件中新建一行,添加key为:UIAppFonts,类型为Array或Dictionary都行,在UIAppFonts下再建立一个键值对,key为:Item 0,添加Valu...
分类:
移动开发 时间:
2014-09-15 09:52:28
阅读次数:
262
http://blog.csdn.net/akof1314/article/details/38845933设有一张png/tga图集,导入到Unity,放置目录"Assets/Resources/UI"(UI文件夹可替换成其他的,重要的是要在"Assets/Resources/"路径下),默认为如...
分类:
其他好文 时间:
2014-09-13 23:57:26
阅读次数:
641
Android资源分两类:无法通过R清单类访问的原生资源,保存在assets目录下,R资源类的路径:..\build\generated\source\r\debug\工程名可以通过R清单类访问的原生资源,保存在res目录下Resources类:资源管理类Context.getResources()...
分类:
移动开发 时间:
2014-09-12 23:17:04
阅读次数:
364
android.content.res.Resources$NotFoundException: String resource ID #0x0 找不到资源文件ID #0x0
原因分析如下:
遇到这种情况,很有可能是把一个int型业务数据的 设置setText()或者类似的方法中, 这样Android系统就会主动去资源文件当中寻找, 但是它不是一个资源文件ID, 所以就会报出这个bug...
分类:
移动开发 时间:
2014-09-12 20:43:24
阅读次数:
252
style.xml<resources><!--Baseapplicationtheme,dependentonAPIlevel.ThisthemeisreplacedbyAppBaseThemefromres/values-vXX/styles.xmlonnewerdevices.--><stylename="AppBaseTheme"parent="android:Theme.Light"><!--Themecustomizationsavailableinnew..
分类:
移动开发 时间:
2014-09-12 15:26:34
阅读次数:
210
1.Drawable—>BitmapResources res=getResources();Bitmap bmp=BitmapFactory.decodeResource(res, R.drawable.sample_0);Resources res=getResources();private ...
分类:
移动开发 时间:
2014-09-12 14:56:03
阅读次数:
180
Android中UI特效
android经典开源代码分享
本文原始网址
作者为23code,欢迎给作者投稿
其它UI相关的网址:
https://github.com/Trinea/android-open-project
http://alamkanak.github.io/android-libraries-and-resources/
...
分类:
移动开发 时间:
2014-09-11 17:19:02
阅读次数:
317