1

Possible Duplicate:
Custom Progress Bar in Android?

enter image description here

How can we use image with in progress bar like used in that a bucquet image marked by red rectangle. Please provide me some code for customizing progress bar and use image in that

Community
  • 1
  • 1
Gaurav Agrawal
  • 313
  • 4
  • 15
  • 4
    Have you googled yourself for an answer? You haven't mentioned your effort so far. Here some posts I found: http://stackoverflow.com/questions/4581812/custom-progress-bar-in-android http://stackoverflow.com/questions/2819778/custom-drawable-for-progressbar-progressdialog http://stackoverflow.com/questions/2020882/how-to-change-progress-bars-progress-color-in-android – Bruno Bieri Dec 14 '12 at 07:23

1 Answers1

2

If you want to set the thumb image of the progressBar moving with the progress then you can you a seekBar and define the thumb image like this

 <SeekBar
            android:id="@+id/seekBar1"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:progress="50"
            android:thumb="@drawable/icon"
             />
Ali Imran
  • 8,927
  • 3
  • 39
  • 50