摘要:
转载自http://blog.163.com/freemanls@126/blog/static/164585061201171210504864/前言首先我们要知道setTag方法是干什么的,SDK解释为TagsUnlike IDs, tags are not used to identify v... 阅读全文
posted @ 2015-08-24 21:19
fightzhao
阅读(231)
评论(0)
推荐(0)
摘要:
TextView的setCompoundDrawables不显示问题解决 TextView可以用过调用setCompoundDrawables设置一张图片出现在上下左右四个地方。代码如下: Drawable drawable = getResources().getDrawable(R.drawab... 阅读全文
posted @ 2015-08-24 21:00
fightzhao
阅读(1581)
评论(0)
推荐(0)
摘要:
int[] location = new int[2] ;view.getLocationInWindow(location); //获取在当前窗口内的绝对坐标view.getLocationOnScreen(location);//获取在整个屏幕内的绝对坐标location [0]--->x坐标,... 阅读全文
posted @ 2015-08-24 20:54
fightzhao
阅读(238)
评论(0)
推荐(0)
摘要:
转载http://www.cnblogs.com/mengdd/p/3569127.html 阅读全文
posted @ 2015-08-24 20:01
fightzhao
阅读(134)
评论(0)
推荐(0)

浙公网安备 33010602011771号