如何把与编辑文本的水平除数线的活动 [英] How to put a horizontal divisor line between edit text's in a activity
本文介绍了如何把与编辑文本的水平除数线的活动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在做一个活动来配置我的应用程序,我要分我的配置窗口的部分用一条线。我用这个: divider_horizontal_bright
,从这个例子:
I'm making an activity to configure my app, and I have to divide the sections of my configuration window with a line. I used this: divider_horizontal_bright
, from this example:
<一个href="http://android.cryx.li/doku.php?id=know:settings:start">http://android.cryx.li/doku.php?id=know:settings:start
不过这是行不通的!当我测试在我的Android手机,它并不显示一个水平线上。为什么呢?
However it doesn't work! When I test on my android phone, it doesn't show a horizontal line. Why?
我采用了Android 2.1
I am using Android 2.1
推荐答案
试试这个链接.... 水平线
Try this link.... horizontal rule
这是应该做的伎俩。
在code以下是XML。
The code below is xml.
android:layout_width="fill_parent"
android:layout_height="2dip"
android:background="#FF00FF00"
这篇关于如何把与编辑文本的水平除数线的活动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文