上一页 1 ··· 131 132 133 134 135 136 137 138 139 ··· 340 下一页
摘要: 1、定义LayoutParams 2、在LayoutParams中设置marginLeft 3、把这个LayoutParams设置给控件 阅读全文
posted @ 2016-08-05 09:53 星辰之力 阅读(3527) 评论(0) 推荐(0)
摘要: 前几天因为项目的需要,要在一个ListView中放入另一个ListView,也即在一个ListView的每个ListItem中放入另外一个ListView。但刚开始的时候,会发现放入的小ListView会显示不完全,它的高度始终有问题。上网查了下,发现别人也有遇到这样的问题,而大多数人都不推荐这样的 阅读全文
posted @ 2016-08-05 09:37 星辰之力 阅读(346) 评论(0) 推荐(0)
摘要: ScrollView中嵌套ListView 阅读全文
posted @ 2016-08-05 09:32 星辰之力 阅读(121) 评论(0) 推荐(0)
摘要: 四种方案解决ScrollView嵌套ListView问题 阅读全文
posted @ 2016-08-05 09:02 星辰之力 阅读(187) 评论(0) 推荐(0)
摘要: 1. 设定 EditText 的滚动条、对齐方式、行数、和提示 (hint) 及其颜色 在布局文件,比如 main.xml 中,增加 < EditText android:id = "@+id/EditText01" android:layout_width = "fill_parent" andr 阅读全文
posted @ 2016-08-04 14:04 星辰之力 阅读(429) 评论(0) 推荐(0)
摘要: android:id="@+id/editSms" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="@string/saveSms" android:inputType="textMultiLine" android:gravity="left... 阅读全文
posted @ 2016-08-04 13:55 星辰之力 阅读(13892) 评论(0) 推荐(0)
摘要: 1. Parcelable接口 Interface for classes whose instances can be written to and restored from a Parcel。 Classes implementing the Parcelable interface must 阅读全文
posted @ 2016-08-04 09:00 星辰之力 阅读(195) 评论(0) 推荐(0)
摘要: 前几天重装系统,之后虚拟机需要重新装,装好后要使用vmware-tools实现文件共享,却发现虚拟机那里显示为灰色的,无法安装vmware-tools,在共享文件夹那里设置好共享的文件夹猴也没有用,/mnt目录下什么都没有。 解决方法如下: 虽然重新安装vmware tools 显示是灰色的,但是虚 阅读全文
posted @ 2016-08-03 22:43 星辰之力 阅读(22625) 评论(0) 推荐(2)
摘要: 虚拟机安装的UBUNTU怎么全屏 阅读全文
posted @ 2016-08-03 21:59 星辰之力 阅读(252) 评论(0) 推荐(0)
摘要: 新建buttonstyle.xml 代码如下 按钮应用样式 阅读全文
posted @ 2016-08-03 16:52 星辰之力 阅读(886) 评论(0) 推荐(0)
上一页 1 ··· 131 132 133 134 135 136 137 138 139 ··· 340 下一页