Text View

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

Text View

Postby Peeyush » Thu Jul 16, 2009 5:36 am

Hi,
How can i make TextView editable when i needed.
Peeyush
Freshman
Freshman
 
Posts: 8
Joined: Tue Jun 30, 2009 10:01 am
Location: India

Top

Postby Abhishek » Thu Jul 16, 2009 11:44 am

by setting its editable property true.........
Abhishek
Junior Developer
Junior Developer
 
Posts: 13
Joined: Tue Jun 23, 2009 10:07 am

Postby Peeyush » Thu Jul 16, 2009 1:45 pm

Hi,
But it is not working ..Did you try?
Peeyush
Freshman
Freshman
 
Posts: 8
Joined: Tue Jun 30, 2009 10:01 am
Location: India

Postby Abhishek » Thu Jul 16, 2009 2:06 pm

hi,

Yah my code is working fine
Abhishek
Junior Developer
Junior Developer
 
Posts: 13
Joined: Tue Jun 23, 2009 10:07 am

Postby Peeyush » Thu Jul 16, 2009 3:34 pm

Hi,
can you send me that piece of code or related context u dont mind..

Thanks
Peeyush
Freshman
Freshman
 
Posts: 8
Joined: Tue Jun 30, 2009 10:01 am
Location: India

Postby shishir.bobby » Tue Aug 11, 2009 8:44 am

hey Peeyush ,
try this peace of code


Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1.  
  2. android:editable="false"
  3.  
  4.  
Parsed in 0.000 seconds, using GeSHi 1.0.8.4


:idea:


Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1.  
  2. <EditText
  3.  
  4. android:id="@+idshishir/date"
  5.  
  6. android:layout_width="164px"
  7.  
  8. android:layout_height="38px"
  9.  
  10. android:textSize="18sp"
  11.  
  12. android:layout_x="138px"
  13.  
  14. android:layout_y="91px"
  15.  
  16. android:editable="false">
  17.  
  18. </EditText>
Parsed in 0.001 seconds, using GeSHi 1.0.8.4




thanks and regards
shishir :shock:
shishir.bobby
Experienced Developer
Experienced Developer
 
Posts: 76
Joined: Thu Apr 09, 2009 11:41 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 5 guests