横、竖分割线
豎分割線:
<View android:layout_width="0.5px" android:layout_height="120dp" android:background="#B8B8B8" android:visibility="visible" /> <!-- 豎直線 -->
橫分割線:
<Viewandroid:layout_width="fill_parent"android:layout_height="1dp"android:layout_marginLeft="1dp"android:layout_marginRight="1dp"android:background="@drawable/divider_horizontal_line"/> <!-- 這里用的圖片,也可以用顏色<pre name="code" class="html">android:background="#B8B8B8"-->
總結
- 上一篇: 如何将蓝牙鼠标或触控板连接到 iPad
- 下一篇: 访问GitHub超慢的解决办法