DescriptionBeing the only living descendant of his grandfather, Kamran the Believer inherited all of the grandpa’s belongings. The most valuable one was a piece of convex polygon shaped farm in the gra...
分类:
其他好文 时间:
2015-08-07 22:27:41
阅读次数:
103
在style.xml文件里定义 然后在manifest.xml中引用就可以了 如果错误描述为java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) wi...
分类:
移动开发 时间:
2015-07-28 12:53:05
阅读次数:
121
一般这种问题就是item里面有checkbox或button之类抢占焦点的控件,解决方案有2种:第一种:就是在checkbox或button添加android:focusable="false"属性第二种:就是在checkbox或button的父layout中添加android:descendant...
分类:
其他好文 时间:
2015-07-12 17:20:11
阅读次数:
108
1.jQuery基本选择器:#id:根据id匹配一个元素.class:根据给定的class匹配元素element:根据标签匹配元素*:匹配所有元素selector1,selector2:将每一个选择器匹配到的元素一起返回2.层次选择器$("ancestor descendant"):选择ancest...
分类:
Web程序 时间:
2015-07-12 00:09:16
阅读次数:
217
如果想通过DOM元素之间的层次关系来获取特定元素,例如后代元素,子元素,相邻元素,兄弟元素等,则需要使用层次选择器.
1
、ancestor descendant
用法: $(”form input”) ;
返回值 集合元素
说明:在给定的祖先元素下匹配所有后代元素.这个要下面讲的”parent> child”区分开.
2、parent > child
...
分类:
Web程序 时间:
2015-07-10 16:36:58
阅读次数:
142
异常信息:java.lang.IllegalArgumentException: parameter must be a descendant of this view错误原因:发生这个错误主要是ListView或者其它ViewGroup等容器控件因为滑动而暂时移除子View,但却没有移除该子View上面的焦点Focus,所以在ListView滑动返回到原来的位置的时候没有恢复成原来的View,导致...
分类:
编程语言 时间:
2015-06-30 16:25:20
阅读次数:
189
Big Christmas Tree题目分析: 叫你构造一颗圣诞树,使得 (sum of weights of all descendant nodes) × (unit price of the edge)尽量的小。转换后就是求根节点到每一个节点的距离最短,也就是最短路。生成树可能会超时。我没试....
分类:
其他好文 时间:
2015-06-29 22:06:39
阅读次数:
111
当你想隐藏
Androidmanifest.xml
android:n...
分类:
移动开发 时间:
2015-05-28 12:41:53
阅读次数:
170
Grandpa's EstateTime Limit:1000MSMemory Limit:10000KTotal Submissions:11289Accepted:3117DescriptionBeing the only living descendant of his grandfather...
分类:
其他好文 时间:
2015-05-07 21:55:24
阅读次数:
152
报错如下:
java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
解决方法:
创建的activity是MainActivity extends ActionBarActivity这样的。把后面的ActionBarActivity改...
分类:
移动开发 时间:
2015-04-15 17:04:38
阅读次数:
153