EditText-properties

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

EditText-properties

Postby sylvesterSteele » Sun Jun 08, 2008 7:02 am

Hi,
I know how to use an editText, but somehow the property functions liew setHeight, setWidth, setMaxLines just seem to have no effect on the editText. Also, like J2ME is there any way to restrict output to only number, only alphabets or echo only password characters? (the '*' the comes on when you type a password)

Sylvester
sylvesterSteele
Freshman
Freshman
 
Posts: 2
Joined: Sat Jun 07, 2008 6:43 pm

Top

Postby ebersmoll » Mon Jun 09, 2008 7:52 am

hey take a look around android.R.style.TextAppearance_Small

See how u can attach these styles
if it works then do paste the code snippet round here :D
Windmill windmill on the land
love forever love is free
ebersmoll
Freshman
Freshman
 
Posts: 7
Joined: Fri Apr 04, 2008 4:41 am
Location: Delhi

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 6 guests