上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 93 下一页
摘要: a:link,a:visited{font-size:14px;line-height:20px;text-decoration:none;color:blue;}a:hover{color:red;} 阅读全文
posted @ 2011-09-03 18:03 jetz 阅读(188) 评论(0) 推荐(0)
摘要: #series{width:580px;font-size:14px;margin:0 0 0 10px;}#series td{border-bottom:1px dotted gray;height:24px;}#series .col2{width:80px;}后台代码:strSeriesList = Formater.LinkedTable(dt2, "f_id", "series", "|f_id|", "f_title= ;f_date= ;", "f_title", ". 阅读全文
posted @ 2011-09-03 18:01 jetz 阅读(241) 评论(0) 推荐(0)
摘要: table#tbl{ border-collapse:collapse;border:2px solid #6699cc;}#tbl th {border: 1px solid #6699cc; }#tbl td {border: 1px solid #6699cc; }#tbl{ font-size:14px; width:910px;}上面三行控制表格线,下面控制特定的属性。 阅读全文
posted @ 2011-09-03 17:40 jetz 阅读(503) 评论(0) 推荐(0)
摘要: 在run config中增加参数:-scale 0.6参见 阅读全文
posted @ 2011-08-15 16:56 jetz 阅读(546) 评论(0) 推荐(0)
摘要: 非常奇怪,从第十条起,重复第一条。到20条时,再重复第一条。一直跟踪,发现数据都没有问题。这篇文章提到了问题的关键:http://laolang.xtmm.cn/?post=14343这么修改就好了: public View getView(int position, View convertView, ViewGroup parent) { return itemViews[position];// if (convertView == null)// return itemViews[position];// return convertView; } 阅读全文
posted @ 2011-08-05 22:20 jetz 阅读(1976) 评论(0) 推荐(0)
摘要: java.net.URLDecoder.decode(str,"UTF-8");同时,必须加异常处理。 阅读全文
posted @ 2011-08-05 15:04 jetz 阅读(1344) 评论(0) 推荐(1)
摘要: jetz:version:12: 阅读全文
posted @ 2011-07-24 20:38 jetz 阅读(205) 评论(0) 推荐(0)
摘要: 一些特定的情况下,无法用静态的方法定义页面中用到的view。如自定义的曲线图,就是一个独立的view,要把它作为一个部分插入到页面中,需要以下的方法:LinearLayout l = new LinearLayout(this); //l就是当前的页面的布局l.addView(myView); //加入新的viewl.setPadding(20, 390, 20, 40); //设置位置LinearLayout.LayoutParams p = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT,Linea. 阅读全文
posted @ 2011-07-24 10:45 jetz 阅读(2567) 评论(0) 推荐(0)
摘要: 想在界面上放四个按钮,以2*2的形式存在,却没有办法快速实现。尝试了一下,可以用嵌套的方式,一个LinearLayout嵌套两个LinearLayout,外层的LinearLayout用纵向布局,而内部的用横向布局。xml文件:<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical&q 阅读全文
posted @ 2011-07-24 10:27 jetz 阅读(3980) 评论(0) 推荐(1)
摘要: 希望实现一个折线图,但没有找到合适的控件或者代码,只有一个基本样子的,在它的基础上,进行了一些改进,改得比较灵活,可以传递参数,可以设置位置,坐标轴长度,刻度长度等。 自定义的ChartView.javapackage jetz.common;import android.content.Context;import android.graphics.Canvas;import android.graphics.Color;import android.graphics.Paint;import android.view.View;public class ChartView extends. 阅读全文
posted @ 2011-07-24 10:14 jetz 阅读(26035) 评论(16) 推荐(0)
上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 93 下一页