先看效果:
布局:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout...
分类:
移动开发 时间:
2014-07-27 11:39:04
阅读次数:
238
今天用maven新建一个项目导入到MyEclipse中,项目前面显示了一个小叉叉,代码中却没有任何错误。于从 problems 视图中查看错误信息,错误信息的“Description”显示:
Java compiler level does not match the version of the installed Java project facet.
该问题的解决方案有如下两种:
...
分类:
编程语言 时间:
2014-07-27 11:23:22
阅读次数:
212
题目地址:HDU 3416
这道题WA了一天半。。。最终才发现是我一直习惯性的将isap的表示上界的变量直接表示成sink+1了。。。但是在这道题里汇点sink不一定是最后一个点。。。sad。。。
这题可以有两种方法做,一种是求两次最短路,d1表示所有点到源点的最短距离,再求一次用d2表示所有点到汇点的最短距离。然后根据公式d1[u]+d2[v]+w==d1[sink]判断是否属于最短路中的一...
分类:
其他好文 时间:
2014-07-26 03:01:36
阅读次数:
223
一个int占多少个字节?这个问题我们往往得到的答案是4.可是int究竟占多少个字节,却跟你的机器环境有关.As you can see, the typical data type sizes match the ILP32LL model, which is what most compilers...
分类:
其他好文 时间:
2014-07-25 19:05:41
阅读次数:
272
版本SDK5.0 [DllImport("Match.dll")] static extern bool process(string a, string b); protected void Page_Load(object sender, EventArg...
分类:
其他好文 时间:
2014-07-25 16:47:51
阅读次数:
302
Java compiler level does not match the version of the installed Java project facet Assuming that you are using the m2e plugin in Eclipse, you‘ll need to specify the?source?and?targetversions as...
分类:
其他好文 时间:
2014-07-25 00:11:14
阅读次数:
223
在vsphere client中部署ovf模板后启动linux 的network后提示:device eth0 does not seem to be present, delaying initialization
设备eth0没有准备就绪,延迟初始化...
分类:
Web程序 时间:
2014-07-24 17:48:06
阅读次数:
249
如何在动态的修改列的显示和隐藏:下面为示例代码:if(matchStatus.getValue()=="weipp"){colMode=this.getColumnModel();var handColIndx=colMode.findColumnIndex("match");colMode.set...
分类:
Web程序 时间:
2014-07-24 17:27:40
阅读次数:
235
本文将告诉你如何让你的应用程序支持各种不同屏幕大小,主要通过以下几种办法:让你的布局能充分的自适应屏幕根据屏幕的配置来加载合适的UI布局确保正确的布局应用在正确的设备屏幕上提供可以根据屏幕大小自动伸缩的图片使用 "wrap_content" 和 "match_parent"为了确保你的布局能够自适应...
分类:
移动开发 时间:
2014-07-24 17:25:42
阅读次数:
359
http://www.cnblogs.com/huxi/archive/2010/07/04/1771073.htmlpython中re.match()与re.search()的区别是前者从字符串开始位置匹配,后者是字符串中匹配在学习中发现某一部分的代码,用法和实验结果不同时,查找相关方法和代码的用...
分类:
编程语言 时间:
2014-07-24 14:37:35
阅读次数:
281