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 8036489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T02:38:17+00:00 2026-06-05T02:38:17+00:00

There are 2 Edit text boxes in my fragment.Whenever this fragment is loaded by

  • 0

There are 2 Edit text boxes in my fragment.Whenever this fragment is loaded by any activity the soft-keyboard appears on the screen thus covering half of the tablet screen.I want to hide the soft keyboard whenever my fragment is loaded by any activity.The soft-keyboard should appear only on clicking or tapping the edit text boxes.

  • 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-06-05T02:38:19+00:00Added an answer on June 5, 2026 at 2:38 am

    Padma’s comment will prevent the soft keyboard from EVER coming up in the application, which it doesn’t sound like you want since you have EditText’s that need to get their input from somewhere.

    You could just close the soft keyboard for whichever EditText is on that view when it’s loading:

    InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
                imm.hideSoftInputFromWindow(findViewById(R.id.your_edit_text).getWindowToken(), 0);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Are there any editors that can edit multi-gigabyte text files, perhaps by only loading
Clicking on an EditText, the device displays the keyboard. Is there any way, in
EDIT: There's now a doc page on this so this question is irrelevant, also
There are three problems I am facing: When I click(+)button, the edit boxes are
on this website, under the Edit Control title, there are a couple of lines
I have an application that has menu keyboard shortcuts and text boxes. I want
Is there a way to DRY this jQuery up? <script type=text/javascript> $('form input#search').watermark('search...'); </script>
In my application Two edit boxes are there,when clicking appropriate Editbox it will show
**EDIT: There are several options below that would work. Please vote/comment according to your
EDIT: There is the almost same question at Removing whitespace between HTML elements when

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.