eclipse 如何在xml中创建行
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5319183/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 16:00:20 来源:igfitidea点击:
How to create lines in xml
提问by ultimatenirvana
I was wondering how to create straight lines in xml.
我想知道如何在 xml 中创建直线。
回答by andreasg
Use this to display a single white line with xml
使用它来显示带有 xml 的单个白线
<View android:layout_width="1dip"
android:layout_height="fill_parent"
android:background="#FFFFFF" />
回答by mixkat
I think you are looking for something like this...
我想你正在寻找这样的东西......