可见(visible)XML文件:android:visibility="visible"Java代码:view.setVisibility(View.VISIBLE);不可见(invisible)XML文件:android:visibility="invisible"Java代码:view.set...
分类:
移动开发 时间:
2015-08-17 13:30:16
阅读次数:
203
?Time Changes EverythingPhilip NelsononE oF THE THingS I’ve been most entertained by as the years have gone by is observing what things have lasted and what haven’t. So many patterns, frameworks, parad...
分类:
其他好文 时间:
2015-08-13 10:06:19
阅读次数:
99
# coding:utf-8s = """Have you thought about what you want people to say about you after you’re gone? Can you hear the voice saying, “He was a great ma...
分类:
编程语言 时间:
2015-08-04 13:12:04
阅读次数:
156
文章摘录自 浪人的星空 的博客http://blog.csdn.net/hitlion2008/article/details/6737537/当需要在运行时动态根据条件来决定显示哪个View或某个布局:方法一:通常的想法就是把可能用到的View都写在上面,先把它们的可见性都设为View.GONE,...
分类:
移动开发 时间:
2015-08-04 12:41:58
阅读次数:
167
The biggest mistake that you can make is to believe that you are working for somebody else. Job security is gone. The driving force of a career must c...
分类:
其他好文 时间:
2015-08-03 19:00:57
阅读次数:
103
django 中,导入excel到mysql中。excel 转成sql,然后导入mysql。 sql过大,出现(2006, ‘MySQL server has gone away‘)错误。 改mysql 配置my.cnf,[mysqld]中的 max_allowed_packet = 64M ait_timeout = 86400 解...
分类:
数据库 时间:
2015-07-30 19:38:01
阅读次数:
187
android中UI应用的开发中常常会使用view.setVisibility()来设置控件的可见性。当中该函数有3个可选值。他们有着不同的含义:View.VISIBLE--->可见View.q=INVISIBLE&ie=utf-8&src=se_lighten_f" style="margin:0...
分类:
移动开发 时间:
2015-07-26 17:03:39
阅读次数:
136
登陆mysql终端,查看当前配置(默认单位是字节):show VARIABLES like '%max_allowed_packet%';在mysql的安装目录下 找到 my.ini文件 加入以下代码:interactive_timeout = 120wait_timeout = 120max_al...
分类:
数据库 时间:
2015-07-17 11:40:27
阅读次数:
141
<RelativeLayoutandroid:id="@+id/rl_share"android:layout_width="match_parent"android:layout_height="match_parent"android:visibility="gone"><RelativeLayoutandroid:id="@+id/other_layout_top"android:layout_width="match_parent"android:layout_height="150..
分类:
其他好文 时间:
2015-07-16 14:27:15
阅读次数:
134