1.电话拨号器:
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"
a...
分类:
移动开发 时间:
2014-05-13 15:08:57
阅读次数:
508
在include标签中不能省略
layout_width或者layout_height否则设置layout_weight就会无效。如下设置即可
android:id="@+id/linearLayout1"
android:layout_width="match_parent"
android:layout_height="w...
分类:
其他好文 时间:
2014-05-13 07:12:47
阅读次数:
389
当我在subsite里点击”Add a document”,报这个错,后来一看event log:
在AAM里加上一条: 问题搞定:
分类:
其他好文 时间:
2014-05-12 13:14:07
阅读次数:
306
ran"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe-i"whichsolvedtheproblem
分类:
其他好文 时间:
2014-05-12 04:04:25
阅读次数:
339
function getServiceUrl() {
var serverUrl = Xrm.Page.context.getServerUrl();
if (serverUrl.match(/\/$/)) {
serverUrl = serverUrl.substring(0, serverUrl.length - 1);
}
retur...
分类:
其他好文 时间:
2014-05-11 22:01:16
阅读次数:
261
由于正则不是很熟悉所以面对这样的目前只能采取两步走一
判断url地址是否是正确的http二判断后缀是否是图片 格式/驗證URLfunction validUrl(strUrl){ strUrl =
strUrl.match(/http:\/\/.+/); alert(strUrl); ...
分类:
其他好文 时间:
2014-05-10 08:11:09
阅读次数:
310
当tomcat启动出现这个错误时,按照如下步骤可以解决:1、删掉F:\tomcat20111101\apache-tomcat-6.0.26\conf\Catalina目录下的localhost文件夹2、删掉F:\tomcat20111101\apache-tomcat-6.0.26\webapps...
分类:
其他好文 时间:
2014-05-10 05:20:52
阅读次数:
290
public void replaceRightView(View v) {
int f = LinearLayout.LayoutParams.MATCH_PARENT;
LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(f, f);
LinearLayout fragment_place = (Line...
分类:
其他好文 时间:
2014-05-09 22:50:20
阅读次数:
332
java.lang.IllegalArgumentException: Document base
D:\appservers\apache-tomcat-6.0.20\webapps\megaeyes_enterprise_manager does not
exist or is not a re...
分类:
移动开发 时间:
2014-05-09 16:09:21
阅读次数:
776
题目来源:HDU 3081 Marriage Match II
题意:
思路:
错误代码 纠结不知道哪错了 先放一放
#include
#include
#include
#include
#include
using namespace std;
const int maxn = 1010;
const int INF = 999999999;
struct Edg...
分类:
其他好文 时间:
2014-05-09 02:38:25
阅读次数:
264