基本佈局——TextView

一.文本框(TextView)【顯示基本文字內容等等】 1.寬度,高度(match_parent,warp_content,自己設置) match_parent:匹配父級 wrap_contect:扭曲內容 fill_parent:填充 父級 2. 文字的大小,文字的樣式 3. 顏色,文字顏色,背景顏色 4.位置關係:gravity和layout_gravity的區別 gravity:控件中內容的
相關文章
相關標籤/搜索