want to create editable TextField(editText)

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

want to create editable TextField(editText)

Postby hiteshrao » Wed Jun 04, 2008 5:56 pm

hi friend i want to create my editable tetfield(EditText)
so which method i can use.


example

i want to display EditText for username in which username is editable .so it can be helpful for user .
hiteshrao
Freshman
Freshman
 
Posts: 9
Joined: Thu May 22, 2008 7:49 pm

Top

Postby plusminus » Sat Jun 07, 2008 10:23 am

Hello hiteshrao,

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. // somewhere in your OnCreate()
  2.  
  3. EditText et = new EditText(this);
  4.  
  5. this.setContentView(et);
Parsed in 0.031 seconds, using GeSHi 1.0.8.4


Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 2 guests