公司开发只能用英文版的VS2005 (雅蠛蝶)Tool-->Options-->Debugging->General:把Require source files to exactly match the orginal version的复选勾去掉就OK了。
分类:
其他好文 时间:
2015-05-19 20:34:28
阅读次数:
289
一、关于布局适配1、不要使用绝对布局2、尽量使用match_parent 而不是fill_parent 。3、能够使用权重的地方尽量使用权重(android:layout_weight)4、如果是纯色背景,尽量使用android的shape 自定义。5、如果需要在特定分辨率下适配,可以在res目录上...
分类:
移动开发 时间:
2015-05-19 18:53:58
阅读次数:
223
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
android:layout_height="match_parent"...
分类:
移动开发 时间:
2015-05-19 16:36:20
阅读次数:
167
有的时候我们需要为一个listview设置固定的数据,下边就是如何设置静态的数据布局文件listview 的主页面
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_...
分类:
移动开发 时间:
2015-05-18 18:57:43
阅读次数:
176
布局文件activity_main.xml<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:la...
分类:
移动开发 时间:
2015-05-18 18:56:57
阅读次数:
159
1 #include 2 #include 3 void next(char T[],int nextArr[],int n); 4 5 int match(char S[],int tn,char T[],int sn,int nextArr[]); 6 7 int main(void){ ...
分类:
编程语言 时间:
2015-05-18 16:17:26
阅读次数:
172
主要用到了:file_get_contents();preg_match_all(); 这2个函数查看地址:http://git.oschina.net/xiaoz6/phpExample
分类:
Web程序 时间:
2015-05-18 14:17:15
阅读次数:
125
一、string中提供的
charAt() 返回在指定位置的字符。
示例:'abc'.charAt(1); //"b"
charCodeAt() 返回在指定的位置的字符的 Unicode 编码。
示例:'abc'.charCodeAt(1); //98
indexOf(searchvalue,fromindex) 检索字符串,返回对应下标。
示例:'a...
分类:
编程语言 时间:
2015-05-18 09:05:38
阅读次数:
115
1.括号匹配算法 //括号匹配算法 public void pipei()throws Exception{ char temp,ch; int match; //记录匹配结果 BufferedRea...
分类:
编程语言 时间:
2015-05-16 19:59:48
阅读次数:
119
1 PHP - 验证 E-mail 2 3 $email = test_input($_POST["email"]); 4 if (!preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/",$email)){ 5 $emailErr = "无效的 email 格...
分类:
Web程序 时间:
2015-05-16 11:46:48
阅读次数:
107