Android Project

Android Project
Android Project

Tuesday, August 28, 2012

Seek Bar or Progress Bar or Slide Bar or Slider

This bar will be like this, the name for this bar is seek bar

In the xml file we need to mention like this to call the seek bar



The java class file will be like this


import android.os.Bundle;
import android.widget.SeekBar;
import android.widget.TextView;
import android.widget.SeekBar.OnSeekBarChangeListener;

public class Seek extends Activity {
/** Called when the activity is first created. */
AudioManager audioManager;
public void onCreate(Bundle savedInstanceState) {
final TextView reading = (TextView) findViewById(;
SeekBar seekBar = (SeekBar)findViewById(;
seekBar.setOnSeekBarChangeListener(new OnSeekBarChangeListener() {

public void onStopTrackingTouch(SeekBar seekBar) {

public void onStartTrackingTouch(SeekBar seekBar) {
// TODO Auto-generated method stub

public void onProgressChanged(SeekBar seekBar, int progress,
boolean fromUser) {
reading.setText("Processing "+progress+"% ");

The code is fulling checked so you can run the code after downloading it itself.

You can download the full source code

Download source

Have a good day.


  1. Thanks for sharing your info. I really appreciate your efforts and I will be waiting for your further write ups thanks once again.
    Android developer| WINDOWS PHONE 7 DEVELOPMENT|

  2. Thanks for such a nice tutorial.I want a customized seekbar in my application with images.Could you please help me with full detail like you have described the above example .



  3. Our Android Development comes to you cost effectively with assurance for quality and performance

  4. This comment has been removed by the author.

    1. Awesome update.kindly update every information.thanks in advance............this is right one

      Website Design Company India | Website Design Service India

  5. Hi… by the look of your website I gather that you are a professional. Can you help me make money, blogging? I have a few sample articles. Can I send it to you for your review? I have already begun posting my skills on sites like sell logo design , retro style poster flyer. Quite a number of buyers have responded. I like to post my blogs on other marketplaces too. Do you have any suggestions?

  6. hey Guys i had example based on RatingBar in Android Studio.
    how to create simple RatingBar and How to Create Material Design RatingBar in Android.

    I had done all Example in Basic with Material Design so you can do work fine.


  7. Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care and we take your comments to heart.As always, we appreciate your confidence and trust in us.

    SEO Company in Chennai


  8. What an awesome post, I just read it from start to end. Learned something new after a long time.

    SAP SD Training in Chennai

  9. Wow, I landed on this page while I was doing a research on The Importance of Admission Essay and I have found it to be an interesting and informative site that is worth reading its contents and commenting on it. Thanks for sharing the information; I have found it to be very informative and educative.

  10. Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck.
    Android Training in chennai | Android Training

  11. I think like I get a clear cut understanding while reading the content than anywhere else. Keep continuing this journey...!

    Pawn Shops in Montgomery

    Pawn Shops in Birmingham

    Pawn Shops in Mobile


  12. Its a wonderful post and very helpful, thanks for all this information. You are including better information regarding this topic in an effective way.Thank you so much

    Installment Loans Near Me
    Title loans Near Me
    Cash Advances Near Me