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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:21:50+00:00 2026-05-25T11:21:50+00:00

Android by default shows green color when tapped to show the tapped state. I

  • 0

Android by default shows green color when tapped to show the tapped state. I want to change that color to some other color, so that when my story in list view is tapped the changed color is shown.

Any help is appreciated.

  • 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-25T11:21:51+00:00Added an answer on May 25, 2026 at 11:21 am

    I got a better answer by consulting a seniors and collegues, which says:

    1. Make an image of the same height and width as of one cell of our listview of desired color.
    2. Put that image in the drawable folder of the project under the path /res/drawable
    3. Go to xml file where in which the properties for the listview are set.
    4. Add a line of listselector with other properties and set path of list selector to be the image placed recently in drawable folder.

      <ListView 
      android:id="@+id/ListView" 
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:listSelector = "@drawable/list_selector">
      </ListView>
      
    5. Clean/Build the project and Run.

    6. I hope this is the simplest way to carry out this task …this worked for me very fine…Hopefully this works for you as well.

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

Sidebar

Related Questions

i want to edit the EditTextPreference in android Honeycomb. by default the EditTextPreference shows
for some specific requirement I am required to change Android Default Home application with
How to make android EditText smaller than default in height? If I change the
By default android checkbox shows text at right side and checkbox at left I
I have an android app and I want to show japanese kanji on it,
The default Browser app for Android shows zoom controls when you're scrolling and also
When you createa a PreferenceScreen on Android, your application creates a default SharedPreferences file
I'm trying to record audio this.recorder = new android.media.MediaRecorder(); this.recorder.setAudioSource(android.media.MediaRecorder.AudioSource.MIC); this.recorder.setOutputFormat(android.media.MediaRecorder.OutputFormat.DEFAULT); this.recorder.setAudioEncoder(android.media.MediaRecorder.AudioEncoder.DEFAULT); this.recorder.setOutputFile(pruebaAudioRecorder.mp4); **this.recorder.prepare();**
Android comes with lots of system resources ( android.R ) that can be used
I'm writing an android app that has a spinner in it for difficulty settings

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.