Adroid Textfield with Border Color

You must Login before you can answer or comment on any questions.

Hi Everyone,

I am trying to put a border color around an Android Textfield, when the border is displayed around the field there is a 2-3 pixel gap between the border and text field. Has anyone seen this or have a solution. (Solution may be border color doesnt work on Android)

I have looked all of the place and can not find a solution to this.

I can post a screen shot if needed.

I am currently testing this on an Android device using 2.2.3 Titanium Studio Titanium Studio, build: 2.1.1.201207271312 SDK version: 2.1.1.GA

Thanks for any help on this.

— asked 9 months ago by sean sean
1 Comment
  • Please post screen shot Sean

    — commented 9 months ago by P L

2 Answers

Hello sean,

i am using background image for the TextField to get the layout like border...so you can easy get the layout as per you need by using it's Property backgroundImage.

Hi Sarafaraz,

I have also used background images before. I was just wondering why something so simple as border color doesnt work in Android. It should just be listed as iPhone, iPad, Mobile Web only.

Thanks for the reply

— answered 9 months ago by sean sean
answer permalink
1 Comment
  • ya seen,titanium android many times creates problem and even supported properties also mot working many time......

    so background image is not working for you ???

    welcome......

    — commented 9 months ago by Sarafaraz Babi

Your Answer

Think you can help? Login to answer this question!