欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Android 中添加水平線和垂直線方法總結(jié)

 更新時間:2017年02月24日 15:08:38   投稿:lqh  
這篇文章主要介紹了Android 中添加水平線和垂直線方法總結(jié)的相關(guān)資料,需要的朋友可以參考下

Android 中添加水平線和垂直線方法總結(jié)

1.添加水平線

<View  
android:layout_height="0.5dip" 
android:background="#686868" 
android:layout_width="match_parent"/> 

2.添加垂直線

<View  
android:layout_height="match_parent" 
android:background="#686868" 
android:layout_width="0.5dip"/> 

3.其他 當然,你要像下面這樣寫也是沒有問題的

<TextView  
android:layout_width="fill_parent"  
android:layout_height="0.5dp"  
android:background="#686868"/> 

這種垂直的就不說了 ,大家都懂的

感謝閱讀,希望能幫助到大家,謝謝大家對本站的支持!

相關(guān)文章

最新評論