-
Notifications
You must be signed in to change notification settings - Fork 235
State Description Top Spacing
Kofi Gyan edited this page Sep 13, 2016
·
4 revisions
You can increase or decrease the space between the state description and the state progressbar.
- spb_descriptionTopSpaceIncrementer
Example :
<com.kofigyan.stateprogressbar.StateProgressBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:spb_descriptionTopSpaceIncrementer="2dp"/>
- setDescriptionTopSpaceIncrementer(float)
Example :
...........................
...........................
StateProgressBar stateProgressBar = (StateProgressBar) findViewById(R.id.your_state_progress_bar_id);
stateProgressBar.setDescriptionTopSpaceIncrementer(10f);
- spb_descriptionTopSpaceDecrementer
Example :
<com.kofigyan.stateprogressbar.StateProgressBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:spb_descriptionTopSpaceDecrementer="2dp"/>
- setDescriptionTopSpaceDecrementer(float)
Example :
...........................
...........................
StateProgressBar stateProgressBar = (StateProgressBar) findViewById(R.id.your_state_progress_bar_id);
stateProgressBar.setDescriptionTopSpaceDecrementer(10f);