Skip to content

Commit

Permalink
readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Atiq Alam authored and Atiq Alam committed Apr 10, 2019
2 parents 144f471 + 2fa4126 commit 664db53
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# CenterSeekbar
Custom seekbar that start from the center

public class MainActivity extends AppCompatActivity {

private CenterPointSeekBar seekBar;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
seekBar=findViewById(R.id.seekbar);
seekBar.setProgress(3);
seekBar.setOnSeekBarChangeListener(new CenterPointSeekBar.OnSeekBarChangeListener() {
@Override
public void onOnSeekBarValueChange(CenterPointSeekBar bar, double value) {

}
});

}
}

0 comments on commit 664db53

Please sign in to comment.