您的位置:首页 > 移动开发 > Android开发

android 导航框架

2012-05-18 13:19 190 查看
http://stackoverflow.com/questions/4546505/header-navigation-control-in-android

Table view实现导航
http://xiangqianppp-163-com.iteye.com/blog/1473551
popup window, 亮点是此作者写了几篇文章就成专家了,还有include的用法,在一个xml布局包含另一个xml布局,有点像asp了

/article/1358702.html



滑动框架

http://blog.csdn.net/swadair/article/details/7551609



linearlayout 控件平均宽度

http://topic.csdn.net/u/20111220/18/f64345cc-7426-4386-9c88-2c436e2ae911.html



仿UC框架

http://www.eoeandroid.com/thread-163917-1-1.html

dialog各种
http://www.cnblogs.com/weeds/archive/2012/01/17/2324238.html
J***A日期比较

http://blog.sina.com.cn/s/blog_4dcc6389010009hz.html

tomcat日志监控

http://tech.sina.com.cn/s/2009-02-09/10292804994.shtml

http://hooray520.iteye.com/blog/1335156

http://blog.csdn.net/tian_hehe/article/details/4007799

J***A rest获取header

两种方式:

1)使用@HeaderParam

BaseRespObj postHello(@HeaderParam("User-Agent")final String userAgent, @FormParam("id")final int id);


2)使用@Context

public class HelloServiceImpl implements IHelloService {
	@Context
	protected HttpServletRequest req;

	public Hello getHello(int id) {
		System.out.println(req.getHeader("User-Agent"));
		
	}
}


第二种方式不需要在每个接口中都把header作为参数传入,使接口更为简洁。可封装BaseRest统一处理header即可。



win7 无线wifi热点

http://www.itokit.com/2012/0109/72950.html

布局入门

http://www.cnblogs.com/tianjian/archive/2012/06/01/2531097.html

TextView添加下划线

TextView tv = (TextView) findViewById(R.id.text);

tv.getPaint().setFlags(Paint.UNDERLINE_TEXT_FLAG);

tv.setText("添加下划线");
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: