AdjustSlider

Created by svennahler on 16.11.16.

open class AdjustSlider

Constructors

AdjustSlider
Link copied to clipboard
open fun AdjustSlider(context: Context)
AdjustSlider
Link copied to clipboard
open fun AdjustSlider(context: Context, attrs: AttributeSet)
AdjustSlider
Link copied to clipboard
open fun AdjustSlider(context: Context, attrs: AttributeSet, defStyleAttr: Int)

Types

AdjustBarChangeListener
Link copied to clipboard

A callback that notifies clients when the progress level has been changed. This includes changes that were initiated by the user through a touch gesture or arrow key/trackball as well as changes that were initiated programmatically.

interface AdjustBarChangeListener

Functions

getMax
Link copied to clipboard
open fun getMax(): Float
getMin
Link copied to clipboard
open fun getMin(): Float
onTouchEvent
Link copied to clipboard
open fun onTouchEvent(rawEvent: MotionEvent): Boolean
setChangeListener
Link copied to clipboard
open fun setChangeListener(listener: AdjustSlider.AdjustBarChangeListener)
setMax
Link copied to clipboard
open fun setMax(max: Float)
setMin
Link copied to clipboard
open fun setMin(min: Float)

Properties

CENTER_TICK_HEIGHT
Link copied to clipboard
open val CENTER_TICK_HEIGHT: Float
CENTER_TICK_WIDTH
Link copied to clipboard
open val CENTER_TICK_WIDTH: Float
INDICATOR_COLOR
Link copied to clipboard
open val INDICATOR_COLOR: Int
SOLID
Link copied to clipboard
open val SOLID: Int
TEXT_BG_CLEAR
Link copied to clipboard
open val TEXT_BG_CLEAR: Int
TICK_DISTANCE
Link copied to clipboard
open val TICK_DISTANCE: Float
TICK_SIZE
Link copied to clipboard
open val TICK_SIZE: Float
TRANSPARENT
Link copied to clipboard
open val TRANSPARENT: Int
value
Link copied to clipboard
private open var value: Float