[android-developers] Re: Defining an XML vertical line drawable

2010-04-20 Thread patbenatar
Yea my idea is largely a hack... Always better to confirm no standard method exists before pursuing hacks :) On Apr 20, 8:49 am, Caspa wrote: > Thanks for the suggestion patbenatar! > > I'm aware I could go for a 1px png drawable or draw the vertical line > as a View etc. > > However since ther

[android-developers] Re: Defining an XML vertical line drawable

2010-04-20 Thread Caspa
Thanks for the suggestion patbenatar! I'm aware I could go for a 1px png drawable or draw the vertical line as a View etc. However since there is a "line" shape, I assume there is a way of drawing it vertically, or at least there SHOULD be. Can anyone confirm this being possible / not possible?

[android-developers] Re: Defining an XML vertical line drawable

2010-04-19 Thread patbenatar
You could use a 1x1 Nine-Patch PNG On Apr 18, 1:08 pm, Caspa wrote: > Hello, > > I'm trying to figure out how to define a verical line (1px thick) to > be used as a drawable. > > to make a horizontal one, it's pretty straightforward: > > http://schemas.android.com/apk/res/android"; > andro