样式效果
1、创建底部的布局 layout_footer.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
...
分类:
移动开发 时间:
2016-04-26 20:02:15
阅读次数:
217
-Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match. vm参数配置 -Dmaven.multiModulePro ...
分类:
系统相关 时间:
2016-04-26 17:28:44
阅读次数:
351
正则表达式的常用方法: #preg_replace(正则表达式,“x”,$str) 将字符串中满足正则表达式的替换成x #preg_spilt ( 正则表达式,$str ) 将字符串按满足正则表达式的地方分隔开来,返回数组 #preg_match ( 正则表达式,$str,数组 ) 将字符串str中 ...
分类:
编程语言 时间:
2016-04-26 09:28:14
阅读次数:
265
使用HttpClient方式请求网络
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
andr...
分类:
移动开发 时间:
2016-04-24 23:17:03
阅读次数:
588
正则表达式: 声明: 方法: 字符串正则: 方法: search():字符串查找,有的话输出字符串的位置,没有的话输出-1 match():字符串匹配 replace():字符串替换 split():字符串转换为数组 ...
分类:
编程语言 时间:
2016-04-24 00:38:01
阅读次数:
230
在Elasticsearch的DSL中, 有两个概念需要搞清楚, query 和 filter, 对ES的检索效率是很有影响的。
下面就来搞清楚这两个关键字的具体函数。
query context: 回答的是这个文档在多大程度上匹配查询语句(How well does this document match this query clause?),会计算出一个分数_score。
...
分类:
其他好文 时间:
2016-04-22 19:32:35
阅读次数:
233
1 <rewrite> 2 <rules> 3 <rule name="OrgPage" stopProcessing="true"> 4 <match url="^(.*)$" /> 5 <conditions logicalGrouping="MatchAll"> 6 <add input="{ ...
分类:
Web程序 时间:
2016-04-22 18:31:49
阅读次数:
605
表结构如下: 创建了两个全文索引,但是在查找的时候,却出现如下这样的错误。 单独match某一列可以正常查询,但是match多列就报错。 后来从MySQL的文档上面找到:The MATCH() column list must match exactly the column list in som ...
分类:
数据库 时间:
2016-04-22 16:12:34
阅读次数:
212
<GridLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layo ...
分类:
其他好文 时间:
2016-04-22 09:27:21
阅读次数:
275
1 <?xml version="1.0" encoding="utf-8"?> 2 <GridLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:layout_width="match_parent ...
分类:
其他好文 时间:
2016-04-22 01:05:38
阅读次数:
115