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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T12:39:09+00:00 2026-05-24T12:39:09+00:00

i have to set white background and black foreground into list. generated error is

  • 0

i have to set white background and black foreground into list.

generated error is shown below :

08-11 23:50:12.050: ERROR/AndroidRuntime(3288): Uncaught handler: thread main exiting due to uncaught exception
08-11 23:50:12.091: ERROR/AndroidRuntime(3288): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.list.view/com.list.view.ContentUserDemo}: android.view.InflateException: Binary XML file line #9: Error inflating class android.widget.ListView
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2496)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.app.ActivityThread.access$2200(ActivityThread.java:119)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.os.Handler.dispatchMessage(Handler.java:99)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.os.Looper.loop(Looper.java:123)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.app.ActivityThread.main(ActivityThread.java:4363)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at java.lang.reflect.Method.invokeNative(Native Method)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at java.lang.reflect.Method.invoke(Method.java:521)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at dalvik.system.NativeStart.main(Native Method)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288): Caused by: android.view.InflateException: Binary XML file line #9: Error inflating class android.widget.ListView
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.view.LayoutInflater.createView(LayoutInflater.java:513)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:563)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:621)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:198)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.app.Activity.setContentView(Activity.java:1622)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at com.list.view.ContentUserDemo.onCreate(ContentUserDemo.java:14)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     ... 11 more
08-11 23:50:12.091: ERROR/AndroidRuntime(3288): Caused by: java.lang.reflect.InvocationTargetException
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.widget.ListView.<init>(ListView.java:148)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at java.lang.reflect.Constructor.constructNative(Native Method)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at java.lang.reflect.Constructor.newInstance(Constructor.java:446)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.view.LayoutInflater.createView(LayoutInflater.java:500)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     ... 23 more
08-11 23:50:12.091: ERROR/AndroidRuntime(3288): Caused by: android.content.res.Resources$NotFoundException: File res/drawable-hdpi/list_view.png from drawable resource ID #0x7f060001
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.content.res.Resources.loadDrawable(Resources.java:1710)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.content.res.TypedArray.getDrawable(TypedArray.java:548)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.view.View.<init>(View.java:1850)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.view.ViewGroup.<init>(ViewGroup.java:290)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.widget.AdapterView.<init>(AdapterView.java:228)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.widget.AbsListView.<init>(AbsListView.java:508)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.widget.ListView.<init>(ListView.java:152)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     ... 27 more
08-11 23:50:12.091: ERROR/AndroidRuntime(3288): Caused by: java.io.FileNotFoundException: res/drawable-hdpi/list_view.png
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.content.res.AssetManager.openNonAssetNative(Native Method)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.content.res.AssetManager.openNonAsset(AssetManager.java:390)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     at android.content.res.Resources.loadDrawable(Resources.java:1702)
08-11 23:50:12.091: ERROR/AndroidRuntime(3288):     ... 33 more
  • 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-24T12:39:09+00:00Added an answer on May 24, 2026 at 12:39 pm
     res/drawable-hdpi/list_view.png
    

    its saying , i could’t find list_view.png in drawable folder.. check if the image exist or you have given some wrong name..

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

Sidebar

Related Questions

I have a 4x3 matrix where the class is set to blank (white background).
I have set a canvas' background to an image of a company logo. I
I have set the itemRollOver and itemRollOut event listeners on a List component, but
I have an Android scrollview with a white background. The fading edge is a
I want to have a dialog containing 3 views 1. title with black background
My page is white and the background image for links is mainly black. I
I usually prefer to code with a black background and white/coloured text but I
There are 3 backgrounds in the below image: black white & grey There are
I have to write something in vbscript that need to use a unique set.
I am creating graphs using GD::Graph::lines . For option set, I have to write

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.