
我学过的
Tyrael1009
这个作者很懒,什么都没留下…
展开
-
TextView 的gravity属性
一、先看apiandroid:gravity Specifies how to align the text by the view's x- and/or y-axis when the text is smaller than the view.Must be one or more (separated by '|') of the following c翻译 2015-01-16 18:57:24 · 1369 阅读 · 0 评论 -
RelativeLayout
1. removerule方法 api17以前的替代。RelativeLayout.LayoutParams layout = (LayoutParams) myChild.getLayoutParams();layout.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM, 0);参考:http://stackoverflow.com/翻译 2015-01-16 20:07:48 · 1059 阅读 · 0 评论