It works, thanks a lot.

-Jiang


--- 09年3月31日,周二, Jon Colverson <jjc1...@gmail.com> 写道:
发件人: Jon Colverson <jjc1...@gmail.com>
主题: [android-developers] Re: How to display a horizontal bar
收件人: "Android Developers" <android-developers@googlegroups.com>
日期: 2009,331,周二,7:36下午

On Mar 31, 11:25燼m, Jiang <webs...@yahoo.cn> wrote:
> I want to display a horizontal bar in the view, just like the separator of
ListView, in other words, the left/right of the bar is fading

This is how it's done in the Contacts app:

<View
    android:layout_width="fill_parent"
    android:layout_height="1dp"
    android:background="?android:attr/listDivider"
    />

--
Jon





      ___________________________________________________________ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to