摘要:LayoutInflater setContentView()方法的内部是使用LayoutInflater来加载布局的。 获取的两种方法 上述代码无论如何设置 Button 的大小,都没有任何变化。 平时我们经常使用 layout_width 和 layout_height 来设置 View 的大小
阅读全文
posted @ 2018-01-23 13:36
posted @ 2018-01-23 13:36
posted @ 2018-01-18 13:58
posted @ 2018-01-17 11:30