Make Text View Editable upon longclick

by Srinivas VG » Tue, 05 Apr 2011 03:46:42 GMT


Sponsored Links
 Hi

I am new to android development. I was implementing a feature in
android where in upon long click of the Textview,it *should be
editable.upon long click of the contents set by textView,  I tried
in the listener method , I used the following:

textView.onEditorAction(MODE_WORLD_WRITEABLE)

But I was unable to perform the function...plz let me know if there
are any other approaches...

Thanks,
Srinivas

-- 



Re: Make Text View Editable upon longclick

by TreKing » Wed, 06 Apr 2011 01:06:55 GMT


 On Sat, Apr 2, 2011 at 11:00 PM, Srinivas VG




Swap the TextView out with an EditText.

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

-- 


Sponsored Links


Other Threads

1. odin diem ajah eeiiy ... pdhl driver sdh terdetect di win vista ...

aktipin USB debug mode nya bray ....

2010/4/6 Brian Brian <brian.an16...@gmail.com>

> 

2. how to monitor the activities launching in real time, so I can count how many times it has been launched?

You can use the preferences to store an int value and increment it by one
every time the onCreate() is executed
Simone




> 

3. Force Close

4. I need to store the values

5. Splash Screen Appears only once

6. Querying the SMS ContentProvider?

7. How to send DTMF?