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

  • Home
  • SEARCH
  • 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 8803013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T01:13:44+00:00 2026-06-14T01:13:44+00:00

Hi i have a edittext with hint ..what iam trying to implement is whenever

  • 0

Hi i have a edittext with hint ..what iam trying to implement is whenever i am getting the info into the Edittext or when the user types into the edittext..the hint should stay and text user types should start below or beside hint…can we make the hint permanent?.or is there any way we can implement ..any suggestion is appreciated

EditText address = new EditText(activity);

                if (data.getAddress() != null
                        && !data.getAddress().trim().equals("")) {

                    address.setText(data.getAddress());
                } else {
                    address.setHint(R.string.address);
                }
  • 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-14T01:13:45+00:00Added an answer on June 14, 2026 at 1:13 am

    You cant directly set a permanent hint for the editext . Instead you could use a text view along with the editext to show the hint text and make the background of both as transparent and give your own background to the layout holding both the text view and the edit text. It will create a view of editext with a permanent hint.

    This Post will help you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a edittext which the user enters some text into Once they press
I have an EditText which takes a String from the user and a searchButton.
I have a edittext in which some text are selected . I want to
I have an edittext that acts weird when I set a hint to it.
I have an EditText field with a Customer Text Watcher on it. In a
I am trying to populate the text of a second EditText widget with the
I have an EditText textBox and I would like to react to the user
I have an EditText that the user can write in, when the app starts
I have an EditText that the user can write in, when the app starts
I have an EditText (that the user can type numbers in), so when 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.