如何区别fill_parent和wrap_content
编辑:Simone
2024-09-03 18:23:04
565 阅读

在Android布局文件中定义视图垂直或水平大小:
android:layout_width和android_layout_height的属性有fill_parent、wrap_content和match_parent
fill_parent、wrap_content和match_parent的区别:
1、wrap_content:表示大小刚好足够显示当前控件里的内容
版权声明:本站【趣百科】文章素材来源于网络或者用户投稿,未经许可不得用于商用,如转载保留本文链接:https://www.qubaik.com/life/2377.html