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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:42:33+00:00 2026-05-27T13:42:33+00:00

My app has an EditText that, when I click in it to enter text

  • 0

My app has an EditText that, when I click in it to enter text in the Emulator, brings up a soft keyboard. I don’t want this confounded thing to begin with, but then, like the visiting loud-mouthed uncle in the plaid pants, doesn’t want to go away, and it is blocking the button beneath it. How do I either (a) prorgrammatically prevent the soft keyboard from appearing or at least (b) evict it, albeit manually, when it pops up?

  • 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-27T13:42:34+00:00Added an answer on May 27, 2026 at 1:42 pm

    Provided that the user is not supposed to input text, but is able to click the EditText and then add text in some other way, you could change the EditText to a TextView and then apply the following three tags to it in the layout file:

    style="@android:style/Widget.EditText"
    android:editable="false"  
    android:focusableInTouchMode="false"
    

    This will make it look like an EditText, but behave like a TextView.


    Since you want the user to be able to write stuff in the EditText there are in my opinion two solutions:

    1. Leave it be. To remove the keyboard, all you need is to hit the back button once and every Android user knows this. It’s standard behaviour.
    2. Wrap everything but the Button you say dissapears in a ScrollView. The ScrollView will then wrap its content to allow the Button to be shown in between the keyboard and the ScrollView.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This app takes todays date adds a number of weeks that the user has
I have an activity that has an EditText. After a user enters their text,
I have the following app that has a textview and an edittext. When the
In my app, the user has to enter a phone number in an EditText
I am working on an app that has multiple edittext fields and spinners and
My app has three text fields: 1) Username // Initialization code usernameTextField = [[UITextField
My app has some table cells that vary in height. The cells can also
SETUP : I have this app which has 4 activities in a linear path,
I would like to make a class that has different text to say to
I have a search app that only has 150 files. So if somebody searches

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.