public class Indicator
extends java.lang.Object
https://github.com/warkiz/IndicatorSeekBar
| 构造器和说明 |
|---|
Indicator(android.content.Context context,
IndicatorSeekBar seekBar,
int indicatorColor,
int indicatorType,
int indicatorTextSize,
int indicatorTextColor,
android.view.View indicatorCustomView,
android.view.View indicatorCustomTopContentView) |
| 限定符和类型 | 方法和说明 |
|---|---|
android.view.View |
getContentView()
get the indicator content view.
|
android.view.View |
getTopContentView()
get the indicator top content view.
|
void |
setContentView(android.view.View customIndicatorView)
call this method to replace the current indicator with a new indicator view , indicator arrow will be replace ,too.
|
void |
setContentView(android.view.View customIndicatorView,
android.widget.TextView progressTextView)
call this method to replace the current indicator with a new indicator view, indicator arrow will be replace ,too.
|
void |
setTopContentView(android.view.View topContentView)
set the View to the indicator top container, not influence indicator arrow ;
if indicator type
IndicatorType is CUSTOM or CIRCULAR_BUBBLE, call this method will be not worked. |
void |
setTopContentView(android.view.View topContentView,
android.widget.TextView progressTextView)
set the View to the indicator top container, and show the changing progress in indicator when seek;
not influence indicator arrow;
if indicator type is custom , this method will be not work.
|
public Indicator(android.content.Context context,
IndicatorSeekBar seekBar,
int indicatorColor,
int indicatorType,
int indicatorTextSize,
int indicatorTextColor,
android.view.View indicatorCustomView,
android.view.View indicatorCustomTopContentView)
public android.view.View getContentView()
public void setContentView(android.view.View customIndicatorView)
customIndicatorView - a new content view for indicator.public void setContentView(android.view.View customIndicatorView,
android.widget.TextView progressTextView)
customIndicatorView - a new content view for indicator.progressTextView - this TextView will show the progress or tick text, must be found in @param customIndicatorViewpublic android.view.View getTopContentView()
IndicatorType is CUSTOM or CIRCULAR_BUBBLE, call this method will get a null value.public void setTopContentView(android.view.View topContentView)
IndicatorType is CUSTOM or CIRCULAR_BUBBLE, call this method will be not worked.topContentView - the view is inside the indicator TOP part, not influence indicator arrow;public void setTopContentView(android.view.View topContentView,
android.widget.TextView progressTextView)
topContentView - the view is inside the indicator TOP part, not influence indicator arrow;progressTextView - this TextView will show the progress or tick text, must be found in @param topContentView