Wednesday, September 14, 2011

Re: [android-developers] basic question: inserting horizontal rule in user interface

Use something like:

<View android:background="#FFFF0000"
android:layout_width="match_parent" android:layout_height="2dip" />

On Wed, Sep 14, 2011 at 11:45 AM, John Goche <johngoche99@googlemail.com> wrote:
>
> Hello,
>
> I was wondering whether there is a way to insert an HTML-like
> horizontal rule (<hr />) in the user interface via an XML file so I
> can have it show up in my user interface. Do I have to create a
> custom image/widget or something?
>
> Thank you for your help,
>
> John Goche
>
> --
> 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+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 2.0
Available!

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment