码迷,mamicode.com
首页 > 其他好文 > 详细

“layout_”下划线开头的属性

时间:2015-12-05 15:55:25      阅读:105      评论:0      收藏:0      [点我收藏+]

标签:

观看幕课网的视频的收获

 

“layout_”下划线开头的属性都是交给父容器去处理的属性,如:

        android:layout_width="match_parent"
        android:layout_height="match_parent"

没有layout_”下划线开头的属性都是本身的属性,如:

        android:background="#00ff00"
        android:visibility="gone"

 

“layout_”下划线开头的属性

标签:

原文地址:http://www.cnblogs.com/20000ding/p/5021616.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!