View ruler = new View(myContext);
theParent.addView(ruler, new ViewGroup.LayoutParams(
On Fri, Feb 22, 2008 at 2:55 PM, conlan <con...@gmail.com> wrote:
Any suggestions on doing that programmatically? I could use an
AbsoluteLayout? But I'd have to provide a fixed number for the width.
I'd like to be able to provide "fill_parent" for width and "1px" for
On Feb 22, 2:32 pm, conlan <con...@gmail.com> wrote:
On Feb 22, 11:56 am, "Romain Guy" <roma...@google.com> wrote:
Just use a View, give it a fixed height with android:layout_height and
background color with android:background. Like this for instance:
<View android:layout_width="fill_parent" android:layout_height="2dip"
On Fri, Feb 22, 2008 at 11:49 AM, conlan <con...@gmail.com> wrote:
I'm looking for a component I can add to my layouts that's just a
straight horizontal or vertical rule that I can choose the color
Currently, I have a custom view that just draws a line but is there
anything in Android that I can use?