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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T11:38:57+00:00 2026-06-10T11:38:57+00:00

I have ICS app with layout which use a ImageView with drawable list. I

  • 0

I have ICS app with layout which use a ImageView with drawable list. I try to set imageLevel to it but pic doesn’t change.

<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >

<item
    android:maxLevel="0"
    android:drawable="@drawable/main_activity_idle" />

<item
    android:maxLevel="1"
    android:drawable="@drawable/main_activity_upload" />

<item
    android:maxLevel="2"
    android:drawable="@drawable/main_activity_download" />
</layer-list>


 <ImageView
    android:id="@+id/main_panel"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:paddingBottom="6dp"
    android:layout_below="@+id/main_panel_logo"
    android:layout_alignParentRight="true"
    android:src="@drawable/main__dr_list" />

statusIndicator = (ImageView) findViewById(R.id.main_panel_activity);
    statusIndicator.setImageLevel(0);

Do you know why it happens?

  • 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-10T11:38:59+00:00Added an answer on June 10, 2026 at 11:38 am

    You should use level-list instead of layer-list.

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

Sidebar

Related Questions

I have a problem on ICS when I try to use google calendar api.
I have a layout similar to the ICS Gmail app for tablets ( ListFragment
I have a calendar feed (.ics) available from my application, but it's quite large
I have an Android app that works fine with Android 2.x and 3.x, but
I have a code on ICS for tablets. I want to add a Imageview
I have an app which uses an engine. I generated a cell inside this
I have downloaded DeepEmailMiner-v1-source.zip from http://sourceforge.net/projects/deepemailminer/files/DeepEmailMiner/Version%20v1/ . But when I try to execute DeepMailMiner.java
I have a layout which includes a GLSurfaceView which takes up the whole screen.
If I use the TimePickerDialog in Jelly Bean, the dialog doesn't have a cancel
I have developed an Android App which will go live in few days. I

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.