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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:17:36+00:00 2026-06-12T16:17:36+00:00

I am developing an android application that uses Google Places autocomplete. When I select

  • 0

I am developing an android application that uses Google Places autocomplete.

When I select an item from the autocomplete list view the whole string is shown in the autocomplete text view and when it doesn’t fit in one row, the text view automatically gets bigger to fit the whole string.

I do not want that to happen, I want the text view to stay the same size, it doesn’t matter if the whole string can’t be seen. How can I do this??

Another question about autocomplete text view. I need to have a button next to the text view so the user can submit the search. The list view for suggestions is only as wide as the autocomplete text view, it doesn’t fill the whole width of the screen, because there is a button on the right side of the text view. Can I make the suggestions list view fill the width of the screen?

  • 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-12T16:17:37+00:00Added an answer on June 12, 2026 at 4:17 pm
    1. I go with android:singleLine as refer to singleLine.
    2. If you want to make suggestion listview you can use these attribute android:dropDownWidth="xx dp" refer here android:dropDownWidth . You should calculate screen size at runtime to get the right value.

    Other attribute can help you align dropdown listview android:dropDownHorizontalOffset here

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

Sidebar

Related Questions

I'm currently developing an android application that uses sockets to connect to a local
I'm developing an Android 3.1 application that uses USB Host mode to communicate with
I'm developing an augmented reality application for Android that uses the phone's camera to
I am currently developing an android application uses Google map API. I am wondering
I am developing an Android application that uses OpenGL to render a 3D ball
I am developing an android application that receives SMS messages and uses this data
I am developing sample application that uses Google Map API. I have generated Google
i am developing an android application to get a list of class from wevservice
I'm developing an android application that sends an sms message from a window (Activity)
I'm developing an Android application that uses a MapView . I'd like to run

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.