Search code examples
titaniumappcelerator

Setting a border on just one side of a View?


Has anyone been able to do the equivalent of border-left: on a View? (I want to create a border on just one side of an ImageView.)


Solution

  • The trick is to create another view with the dimensions of the border and place the imageView next to it... it is a ugly hack, but the only way I have ever seen it accompilshed