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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T11:46:15+00:00 2026-06-09T11:46:15+00:00

I have a default ListView from android say android.R.layout.simple_list_item_1 .In which ListView having the

  • 0

I have a default ListView from android say android.R.layout.simple_list_item_1.In which ListView having the background color black and text of the list is white.

Now i have changed the background color of the ListView to White. So the text poputating on the listView are also of white color by default. That’s why the data of the ListView are not visible.

The text which are populating on the ListView is the arraylist. So where I set the color of the text of ListView?? I want to change the Text color populated on the ListView.

Can anybody tell whether it is possible without custom ListView.

  • 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-09T11:46:17+00:00Added an answer on June 9, 2026 at 11:46 am

    Answer by @Archie.bpgc is right. Go Through This Link that will help you understand what is to be Done.

    Let me try to explain:

    here is your list adapter :

    String Values [] = {"value 1","Value 2"......}
    YourlistAdapter = new ArrayAdapter  
          (this, R.layout.listlayout, R.id.listTextView,Values);
    YourListView.setAdapter( listAdapter );`
    

    And R.layout.listlayout :

    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >
    
    <TextView
        android:id="@+id/listTextView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textColor="your_color"
        android:text="TextView" />
    

    Now i hope you understood.
    R.layout.listlayout is your layout for list view.
    listTextView is the id of the text view inside the lay out on which your text is to be written.
    Values are the string array of the content you want to write on list view

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

Sidebar

Related Questions

Android:How to display images from the web in a ListView?I have the following code
I have a theme that derives from Android's default light theme. My ListViews are
So I have a listView on Android which I create in code like so:
i have listview one button( default content == Add) and 1 textbox. On list
I have a ListView which layout looks like a Windows Explorer view (icon +
I have a ListView populated by a SimpleAdapter, which gets values from an ArrayList
I have a ListView which displays in every row an image pulled from the
I have a default ListView that i have added my custom views for the
I have a listview. By default, all items have itemInvoke and single-selection enabled. But
I want to be able to have default text like Enter content here... appear

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.