Removing the default selection of EditText in Froyo 2.2

by Archana » Thu, 09 Sep 2010 14:49:37 GMT


Sponsored Links
 Hi

How can we remove the default selection of editText.while I am
switching over to another page(which contain edit text) EdiText is
getting focussed and keyboard is pop up.. I want to remove this
behaviour .. for that I created Empty textview and set focus for
that..  below is code which i used.

View emptyView = (View) findViewById(R.id.emptyView);
emptyView.setFocusableInTouchMode(true);
emptyView.requestFocus();

Its working fine in all the device except froyo.Am I doing anything
wrong.. how can we fix it? please help..

--



Other Threads

1. Paging bos lucky

Bos toko buka jam berapa yah?

Dah di tkp nih


YM|FB : yudi_crb
Twitter : yudi_crb
Beam from stormberry

--~--~---------~--~----~------------~-------~--~----~
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group, please visit the following page:
 

2. Pass cursor to new Activity

I'm working on an app, and one activity has a worker thread that
initiates a database query, and if there are results once it has
returned I would like to send these results to a new activity that
will display them. Unfortunately I don't see a way to pack the Cursor
object into the Intent object that I am using to start the new
activity. When I was doing Windows Mobile development in the past all
I would do is edit the constructor for the window to pass in the data,
I've searched around but I can't find a similar solution for Android.
What is the best way to pass my database results into the new activity?

--~--~---------~--~----~------------~-------~--~----~

3. Problem about drawing the item view by myself

4. geo fix command yields incorrect values!???

5. about AudioTrack

6. Is it possible to dynamically add standard buttons to a gridview

7. protected member variable mScrollX not accessible to subclasses of ViewGroup