今天在做一个app引导界面的时候,想设置成全屏显示,一直报错ausedby:android.util.AndroidRuntimeException:requestFeature()mustbecalledbeforeaddingcontent,百度了很多都不行后来实在没办法了,Google了一下,终于解决了,由于我用的是Google最新的开发工具,继承的是Acti..
分类:
其他好文 时间:
2015-04-06 06:29:32
阅读次数:
127
a {
position: relative;
display: inline-block;
outline: none;
text-decoration: none;
color: #000;
font-size: 32px;
padding: 5px 10px;
cursor:hand;
}
a:hover::before, a:hover::after { ...
分类:
Web程序 时间:
2015-04-05 23:34:34
阅读次数:
245
题目:
Given a linked list and a value x, partition it such that all nodes less than x come
before nodes greater than or equal tox.
You should preserve the original relative order of the nodes ...
分类:
其他好文 时间:
2015-04-04 10:41:39
阅读次数:
154
需要测试的类Person:
package cn.edu.lstc.junit;
public class Person {
public void run() {
System.out.println("run...");
}
public void eat() {
System.out.println("eat...");
}
public String a() ...
分类:
其他好文 时间:
2015-04-04 09:12:11
阅读次数:
110
刚碰到这个问题,写好的一个项目没有任何问题却不能运行,运行直接报出这个错误,ADT环境一直在用,没有任何问题,各种fix、clean、恢复R文件、重启ADT,无果,遂从网上查找各种解决办法,发现无数人遇到这个问题,找到一种比较合理的方案,但是我没有测试效果,没有找到keysto..
分类:
移动开发 时间:
2015-04-03 19:36:15
阅读次数:
200
Function.prototype.before=function(func){var _self=this;return function(){if(func.apply(this,arguments)==false){return false;}return _self.apply(this,...
分类:
Web程序 时间:
2015-04-03 14:43:59
阅读次数:
139
Spring mvc 用POI 导入Excel数据的时候提示:org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save()。 原因:检查之后发现是因为Excel的数据格式...
分类:
Web程序 时间:
2015-03-31 14:55:23
阅读次数:
183
打包时报如下错误:Export aborted because fatal lint errors were found. These are listed in the Lint View. Either fix these before running Export again,or turn ...
分类:
移动开发 时间:
2015-03-31 14:29:53
阅读次数:
168
body{
????????????????font-family:?cursive;
????????????????font-size:?14px;
????????????}
????????????.left{
???????????????...
分类:
Web程序 时间:
2015-03-31 13:09:38
阅读次数:
253
错误代码:Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting...
分类:
移动开发 时间:
2015-03-31 12:11:15
阅读次数:
161