/**
* Returns the current discrete indicator's drawable.
* <p>
* <b>Note, that on pre {@link android.os.Build.VERSION_CODES#LOLLIPOP LOLLIPOP} Android versions
* this method will return an instance of {@link TintDrawable TintDrawable} if tint has been applied
* via {@link #setDiscreteIndicatorTintList(ColorStateList)}.</b>
* <p>
* The original wrapped indicator drawable can be obtained via {@link TintDrawable#getDrawable()}.
*
* @return Discrete indicator's drawable.
* @see #setDiscreteIndicator(android.graphics.drawable.Drawable)
*/
@Nullable
public Drawable getDiscreteIndicator() {
if (mDiscreteIndicator instanceof ScaleDrawable)
return ((ScaleDrawable) mDiscreteIndicator).getDrawable();
else
return mDiscreteIndicator;
}
SeekBarWidget.java 文件源码
java
阅读 29
收藏 0
点赞 0
评论 0
项目:android_ui
作者:
评论列表
文章目录