Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7514865
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:37:36+00:00 2026-05-30T00:37:36+00:00

Well, this is dragging me crazy… I’ve already read THIS , THIS and THIS

  • 0

Well, this is dragging me crazy…
I’ve already read THIS, THIS and THIS, but nothing works for me.

SCENARIO
This is the scenario: my polls application reads the survey from a configuration file, the questions may have single, multiple or text answers.
In the first case i add RadioButtons to the activity, in the second case Checkboxes and in the third case some multiline EditText.

All works fine, but when the survey is scrolled down the focus is automatically received by the next EditText that automatically shows the SoftKeyboard.
This is very annoing considering that my user may want to respond to first question, then to the second and then jump to the last only to return to the third one in a second time.

Currently at the very first time the first EditText receives the focus, the keyboard popups and still remains even if the user continue scrolling down (and so even when the cursed EditText finally lost the focus).

QUESTION
How can i have an EditText that shows the keyboard ONLY WHEN IT IS CLICKED by the user and NOT when receives only the focus?

ENVIRO
Level 13 APIs (Honeycomb)

Thanks in advance
Lorenzo (that is seriously considering open a resturant)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T00:37:37+00:00Added an answer on May 30, 2026 at 12:37 am

    In your onCreate(..) method you can set your EditText control to be unfocusable using

    EditText.setFocusable(false);
    

    This should prevent the keyboard from display on scrolling.
    In your onClickListener(..) you can reenable it using

    EditText.setFocusableInTouchMode(true);
    EditText.requestFocus();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have previously read Spolsky's article on character-encoding, as well as this from dive
Sorry for the unhelpful title, but hopefully I can explain this well enough. Lets
well i have this messages table with sample values like these: msg_id recipient_id read
This may well be simple, but I'm new to Drupal. The organization I work
Well this is probably a stupid question with a simple answer but when using
This is a demo of dragging on Google Maps v3, It doesn't work well
Well this is incredibly frustrating. After being nagged by Rails that I need to
Well this file was put in the repo by mistake and was deleted and
Well this is a really weird issue, I really didn't find anything on this
I hope I can explain this well enough so that you can understand the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.