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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T12:31:36+00:00 2026-05-15T12:31:36+00:00

Is there any way i can make my listactivity (rather listview) highlight the List

  • 0

Is there any way i can make my listactivity (rather listview) highlight the List Item when it is clicked (pressed) upon? (…and remain highlighted)
The default behavior, simply highlights the item for a moment, and it gradually fades to black…

Currently, the highlighting only happens when we use the DPad…

It’d be ideal if atleast one list item is “highlighted” at all times.

Worst case scenario, i may have to keep track of the “last clicked item” (by default the first) and change its background or something…but i was hoping there was an easier way…

Thanks in advance! 🙂

  • 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-15T12:31:37+00:00Added an answer on May 15, 2026 at 12:31 pm

    That isn’t a good UI practice on Android; items should not be focusable, nor appear to have focus, on touch. You may want to use list items with radio boxes instead. There may be other, prettier solutions as well — I’d be happy to brainstorm if you discussed your use case.


    Update: Given the new context in your comment (forward/reply/etc. contextual actions on messages), here are some other options:

    1. Use standard context menus, triggered by long-pressing on list items.
    2. Use the new Quick Actions [1] pattern as seen in the Twitter for Android app.

    In either case, you can use an on-screen affordance for bringing up contextual actions, similar to the circular ‘more’ button inside each tweet in the Twitter app. if you’d like more discoverability.

    Now, if you plan to support multi-item contextual actions, another option is to use the checkbox + slide-up action-panel UI pattern that Gmail uses.

    [1] Quick Actions UI pattern, as discussed in the Android UI design patterns session at Google I/O 2010 (see slide 16 in the session slide deck). Note that although the Quick Actions code isn’t in the Android SDK at the moment, Twitter for Android will be open-sourced so the code could be used in your apps.

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

Sidebar

Related Questions

Is there any way I can make Firefox call a JavaScript function in my
Is there any way (utilizing Reflection I hope) that I can make an instantiated
Is there any way to make find-name-dired to only show filenames that I can
Is there any way we can make the JW Player auto resizable when it
is there any way I can make the encodeURIComponent method ignore certain characters for
I'm using this tooltip plugin: http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ Is there any way I can make the
Is there any way I can make a collections.defaultdict return a default constructed object
Is there any way I can make user URLs? something like www.domain.com/username I know
is there any way i can make the following work, or is there a
is there any way i can make a uibutton push a nib in my

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.