TtButton

class TtButton : AppCompatButton, OnDisabledClickListenerOwner

A reusable button control that implements the different visual states.

There are several different types of buttons that can be used. Changing the type changes the button's appearance, elevation, text color, background etc.

The client can also specify a Drawable if a button needs an additional drawable element.

Showing the badge on the top of the button's drawable is also possible. A typical use case could be: e.g. inform the user multiple events have happened.

All theme attributes used by this control are declared in com.tomtom.tools.android.core.theme. To use this control, it is mandatory to define these attribute values.

Parameters

context

The display context.

attrs

The attribute set provided in the layout XML file.

Constructors

Link copied to clipboard
constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = R.attr.tt_button_style)

Constructor that is called when inflating the control from XML.

Types

Link copied to clipboard

The action type of a button. It affects the appearance of the button, e.g. text color, background.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The action type of the button. The appearance of the button is selected based upon the specified action type. The default type is ActionType.PRIMARY.

Link copied to clipboard

The color of the badge. This color is not applied for the stroke around the badge. The default value is Color.WHITE.

Link copied to clipboard

The radius of the badge corner in pixels. The default value is 0.

Link copied to clipboard

The width of the stroke around the badge in pixels. The default value is 0.

Link copied to clipboard
var ttDrawable: Drawable?

The drawable shown at the start of the button. A button can have the combination of a drawable and a text to indicate users what action the button provides.

Link copied to clipboard

The tint used to modify the color of ttDrawable when ttDrawableTintMatchesTextColor is 'false'.

Link copied to clipboard

Matches the drawable color with the text color when set to true. The default value is false.

Link copied to clipboard

Showing the badge on the top of ttDrawable when set to true. A typical use case would be: e.g. to inform the user that multiple events have happened. The default value is false.

Functions

Link copied to clipboard
open override fun getCompoundPaddingLeft(): Int

Overridden method because TextView's calculation of the compound left padding always includes the android:drawablePadding, even if the text itself is empty.

Link copied to clipboard
open override fun getCompoundPaddingRight(): Int

Overridden method because TextView's calculation of the compound right padding always includes the android:drawablePadding, even if the text itself is empty.

Link copied to clipboard
open override fun onTouchEvent(event: MotionEvent?): Boolean
Link copied to clipboard
open override fun setActivated(activated: Boolean)
Link copied to clipboard
open override fun setPadding(left: Int, top: Int, right: Int, bottom: Int)
Link copied to clipboard
open override fun setPaddingRelative(start: Int, top: Int, end: Int, bottom: Int)
Link copied to clipboard
fun setText(stringResolver: StringResolver?)

Set the button text from the given stringResolver.

Link copied to clipboard
fun setTtDrawable(drawableResolver: DrawableResolver?)

Set ttDrawable by the given drawableResolver.

Inherited functions

Link copied to clipboard
Link copied to clipboard
open override fun addExtraDataToAccessibilityNodeInfo(p0: AccessibilityNodeInfo, p1: String, p2: Bundle?)
Link copied to clipboard
open fun addFocusables(p0: ArrayList<View>, p1: Int)
open fun addFocusables(p0: ArrayList<View>, p1: Int, p2: Int)
Link copied to clipboard
Link copied to clipboard
open fun addOnAttachStateChangeListener(p0: View.OnAttachStateChangeListener)
Link copied to clipboard
open fun addOnLayoutChangeListener(p0: View.OnLayoutChangeListener)
Link copied to clipboard
open fun addOnUnhandledKeyEventListener(p0: View.OnUnhandledKeyEventListener)
Link copied to clipboard
open fun addTextChangedListener(p0: TextWatcher)
Link copied to clipboard
open fun addTouchables(p0: ArrayList<View>)
Link copied to clipboard
open fun animate(): ViewPropertyAnimator
Link copied to clipboard
Link copied to clipboard
open fun append(p0: CharSequence, p1: Int, p2: Int)
Link copied to clipboard
open fun autofill(p0: SparseArray<AutofillValue>)
open override fun autofill(p0: AutofillValue)
Link copied to clipboard
open fun beginBatchEdit()
Link copied to clipboard
Link copied to clipboard
open fun bringToFront()
Link copied to clipboard
Link copied to clipboard
open fun buildLayer()
Link copied to clipboard
open fun callOnClick(): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun cancelLongPress()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun clearAnimation()
Link copied to clipboard
Link copied to clipboard
open fun clearFocus()
Link copied to clipboard
Link copied to clipboard
open override fun computeScroll()
Link copied to clipboard
open fun computeSystemWindowInsets(p0: WindowInsets, p1: Rect): WindowInsets
Link copied to clipboard
open fun createAccessibilityNodeInfo(): AccessibilityNodeInfo
Link copied to clipboard
open fun createContextMenu(p0: ContextMenu)
Link copied to clipboard
open fun debug(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun dispatchApplyWindowInsets(p0: WindowInsets): WindowInsets
Link copied to clipboard
open fun dispatchCapturedPointerEvent(p0: MotionEvent): Boolean
Link copied to clipboard
open fun dispatchConfigurationChanged(p0: Configuration)
Link copied to clipboard
open fun dispatchCreateViewTranslationRequest(p0: MutableMap<AutofillId, LongArray>, p1: IntArray, p2: TranslationCapability, p3: MutableList<ViewTranslationRequest>)
Link copied to clipboard
open fun dispatchDisplayHint(p0: Int)
Link copied to clipboard
open fun dispatchDragEvent(p0: DragEvent): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun dispatchGenericMotionEvent(p0: MotionEvent): Boolean
Link copied to clipboard
open fun dispatchKeyEvent(p0: KeyEvent): Boolean
Link copied to clipboard
open fun dispatchKeyEventPreIme(p0: KeyEvent): Boolean
Link copied to clipboard
open fun dispatchKeyShortcutEvent(p0: KeyEvent): Boolean
Link copied to clipboard
open fun dispatchNestedFling(p0: Float, p1: Float, p2: Boolean): Boolean
Link copied to clipboard
Link copied to clipboard
open fun dispatchNestedPreScroll(p0: Int, p1: Int, p2: IntArray?, p3: IntArray?): Boolean
Link copied to clipboard
open fun dispatchNestedScroll(p0: Int, p1: Int, p2: Int, p3: Int, p4: IntArray?): Boolean
Link copied to clipboard
open fun dispatchPopulateAccessibilityEvent(p0: AccessibilityEvent): Boolean
Link copied to clipboard
open fun dispatchProvideAutofillStructure(p0: ViewStructure, p1: Int)
Link copied to clipboard
open fun dispatchProvideStructure(p0: ViewStructure)
Link copied to clipboard
open fun dispatchScrollCaptureSearch(p0: Rect, p1: Point, p2: Consumer<ScrollCaptureTarget>)
Link copied to clipboard
Link copied to clipboard
open fun dispatchTouchEvent(p0: MotionEvent): Boolean
Link copied to clipboard
open fun dispatchTrackballEvent(p0: MotionEvent): Boolean
Link copied to clipboard
open fun dispatchUnhandledMove(p0: View, p1: Int): Boolean
Link copied to clipboard
Link copied to clipboard
open fun dispatchWindowInsetsAnimationEnd(p0: WindowInsetsAnimation)
Link copied to clipboard
open fun dispatchWindowInsetsAnimationPrepare(p0: WindowInsetsAnimation)
Link copied to clipboard
open fun dispatchWindowInsetsAnimationProgress(p0: WindowInsets, p1: MutableList<WindowInsetsAnimation>): WindowInsets
Link copied to clipboard
open fun dispatchWindowInsetsAnimationStart(p0: WindowInsetsAnimation, p1: WindowInsetsAnimation.Bounds): WindowInsetsAnimation.Bounds
Link copied to clipboard
open fun draw(p0: Canvas)
Link copied to clipboard
open override fun drawableHotspotChanged(p0: Float, p1: Float)
Link copied to clipboard
open fun endBatchEdit()
Link copied to clipboard
open fun extractText(p0: ExtractedTextRequest, p1: ExtractedText): Boolean
Link copied to clipboard
open fun findFocus(): View
Link copied to clipboard
fun findOnBackInvokedDispatcher(): OnBackInvokedDispatcher?
Link copied to clipboard
fun <T : View> findViewById(p0: Int): T
Link copied to clipboard
open override fun findViewsWithText(p0: ArrayList<View>, p1: CharSequence, p2: Int)
Link copied to clipboard
fun <T : View> findViewWithTag(p0: Any): T
Link copied to clipboard
open fun focusSearch(p0: Int): View
Link copied to clipboard
Link copied to clipboard
open fun forceLayout()
Link copied to clipboard
open fun gatherTransparentRegion(p0: Region?): Boolean
Link copied to clipboard
open fun generateDisplayHash(p0: String, p1: Rect?, p2: Executor, p3: DisplayHashResultCallback)
Link copied to clipboard
Link copied to clipboard
open fun getAccessibilityDelegate(): View.AccessibilityDelegate
Link copied to clipboard
Link copied to clipboard
open fun getAccessibilityNodeProvider(): AccessibilityNodeProvider
Link copied to clipboard
Link copied to clipboard
open fun getAlpha(): Float
Link copied to clipboard
open fun getAnimation(): Animation
Link copied to clipboard
open fun getAnimationMatrix(): Matrix?
Link copied to clipboard
open fun getApplicationWindowToken(): IBinder
Link copied to clipboard
Link copied to clipboard
open override fun getAutofillHints(): Array<String>?
Link copied to clipboard
fun getAutofillId(): AutofillId
Link copied to clipboard
open override fun getAutofillType(): Int
Link copied to clipboard
open override fun getAutofillValue(): AutofillValue?
Link copied to clipboard
Link copied to clipboard
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX])
open override fun getAutoSizeMaxTextSize(): Int
Link copied to clipboard
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX])
open override fun getAutoSizeMinTextSize(): Int
Link copied to clipboard
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX])
open override fun getAutoSizeStepGranularity(): Int
Link copied to clipboard
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX])
open override fun getAutoSizeTextAvailableSizes(): IntArray
Link copied to clipboard
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX])
open override fun getAutoSizeTextType(): Int
Link copied to clipboard
open fun getBackground(): Drawable
Link copied to clipboard
open fun getBackgroundTintBlendMode(): BlendMode?
Link copied to clipboard
open fun getBackgroundTintList(): ColorStateList?
Link copied to clipboard
open fun getBackgroundTintMode(): PorterDuff.Mode?
Link copied to clipboard
open override fun getBaseline(): Int
Link copied to clipboard
fun getBottom(): Int
Link copied to clipboard
open fun getBreakStrategy(): Int
Link copied to clipboard
Link copied to clipboard
open fun getClipBounds(): Rect
open fun getClipBounds(p0: Rect): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getCompoundDrawables(): Array<Drawable>
Link copied to clipboard
open fun getCompoundDrawablesRelative(): Array<Drawable>
Link copied to clipboard
open fun getCompoundDrawableTintBlendMode(): BlendMode?
Link copied to clipboard
open fun getCompoundDrawableTintList(): ColorStateList
Link copied to clipboard
open fun getCompoundDrawableTintMode(): PorterDuff.Mode
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getContentCaptureSession(): ContentCaptureSession?
Link copied to clipboard
Link copied to clipboard
fun getContext(): Context
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getCustomInsertionActionModeCallback(): ActionMode.Callback
Link copied to clipboard
@Nullable
open override fun getCustomSelectionActionModeCallback(): ActionMode.Callback?
Link copied to clipboard
open fun getDisplay(): Display
Link copied to clipboard
Link copied to clipboard
open fun getDrawingCache(): Bitmap
open fun getDrawingCache(p0: Boolean): Bitmap
Link copied to clipboard
Link copied to clipboard
open fun getDrawingRect(p0: Rect)
Link copied to clipboard
open fun getDrawingTime(): Long
Link copied to clipboard
open fun getEditableText(): Editable
Link copied to clipboard
open fun getElevation(): Float
Link copied to clipboard
open fun getEllipsize(): TextUtils.TruncateAt
Link copied to clipboard
Link copied to clipboard
open fun getExplicitStyle(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getFilters(): Array<InputFilter>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getFocusable(): Int
Link copied to clipboard
open fun getFocusables(p0: Int): ArrayList<View>
Link copied to clipboard
open override fun getFocusedRect(p0: Rect)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getForeground(): Drawable
Link copied to clipboard
Link copied to clipboard
open fun getForegroundTintBlendMode(): BlendMode?
Link copied to clipboard
open fun getForegroundTintList(): ColorStateList?
Link copied to clipboard
open fun getForegroundTintMode(): PorterDuff.Mode?
Link copied to clipboard
Link copied to clipboard
open fun getGlobalVisibleRect(p0: Rect, p1: Point): Boolean
Link copied to clipboard
open fun getGravity(): Int
Link copied to clipboard
open fun getHandler(): Handler
Link copied to clipboard
fun getHeight(): Int
Link copied to clipboard
Link copied to clipboard
open fun getHint(): CharSequence
Link copied to clipboard
fun getHintTextColors(): ColorStateList
Link copied to clipboard
open fun getHitRect(p0: Rect)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getId(): Int
Link copied to clipboard
open fun getImeActionId(): Int
Link copied to clipboard
Link copied to clipboard
open fun getImeHintLocales(): LocaleList?
Link copied to clipboard
open fun getImeOptions(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getInputExtras(p0: Boolean): Bundle
Link copied to clipboard
open fun getInputType(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getKeyDispatcherState(): KeyEvent.DispatcherState
Link copied to clipboard
fun getKeyListener(): KeyListener
Link copied to clipboard
open fun getLabelFor(): Int
Link copied to clipboard
Link copied to clipboard
open fun getLayerType(): Int
Link copied to clipboard
fun getLayout(): Layout
Link copied to clipboard
Link copied to clipboard
open fun getLayoutParams(): ViewGroup.LayoutParams
Link copied to clipboard
fun getLeft(): Int
Link copied to clipboard
Link copied to clipboard
open fun getLineBounds(p0: Int, p1: Rect): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getLineCount(): Int
Link copied to clipboard
open fun getLineHeight(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getLinkTextColors(): ColorStateList
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMatrix(): Matrix
Link copied to clipboard
open fun getMaxEms(): Int
Link copied to clipboard
open fun getMaxHeight(): Int
Link copied to clipboard
open fun getMaxLines(): Int
Link copied to clipboard
open fun getMaxWidth(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMinEms(): Int
Link copied to clipboard
open fun getMinHeight(): Int
Link copied to clipboard
open fun getMinimumHeight(): Int
Link copied to clipboard
open fun getMinimumWidth(): Int
Link copied to clipboard
open fun getMinLines(): Int
Link copied to clipboard
open fun getMinWidth(): Int
Link copied to clipboard
fun getMovementMethod(): MovementMethod
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getNextFocusUpId(): Int
Link copied to clipboard
open fun getOffsetForPosition(p0: Float, p1: Float): Int
Link copied to clipboard
open fun getOnFocusChangeListener(): View.OnFocusChangeListener
Link copied to clipboard
Link copied to clipboard
open fun getOutlineProvider(): ViewOutlineProvider
Link copied to clipboard
Link copied to clipboard
open fun getOverlay(): ViewOverlay
Link copied to clipboard
Link copied to clipboard
open fun getPaddingBottom(): Int
Link copied to clipboard
open fun getPaddingEnd(): Int
Link copied to clipboard
open fun getPaddingLeft(): Int
Link copied to clipboard
open fun getPaddingRight(): Int
Link copied to clipboard
open fun getPaddingStart(): Int
Link copied to clipboard
open fun getPaddingTop(): Int
Link copied to clipboard
open fun getPaint(): TextPaint
Link copied to clipboard
open fun getPaintFlags(): Int
Link copied to clipboard
fun getParent(): ViewParent
Link copied to clipboard
open fun getParentForAccessibility(): ViewParent
Link copied to clipboard
open fun getPivotX(): Float
Link copied to clipboard
open fun getPivotY(): Float
Link copied to clipboard
open fun getPointerIcon(): PointerIcon
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getResources(): Resources
Link copied to clipboard
Link copied to clipboard
fun getRight(): Int
Link copied to clipboard
open fun getRootSurfaceControl(): AttachedSurfaceControl?
Link copied to clipboard
open fun getRootView(): View
Link copied to clipboard
open fun getRootWindowInsets(): WindowInsets
Link copied to clipboard
open fun getRotation(): Float
Link copied to clipboard
open fun getRotationX(): Float
Link copied to clipboard
open fun getRotationY(): Float
Link copied to clipboard
open fun getScaleX(): Float
Link copied to clipboard
open fun getScaleY(): Float
Link copied to clipboard
Link copied to clipboard
open fun getScrollBarSize(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getSelectionEnd(): Int
Link copied to clipboard
Link copied to clipboard
open fun getShadowColor(): Int
Link copied to clipboard
open fun getShadowDx(): Float
Link copied to clipboard
open fun getShadowDy(): Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getSolidColor(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getStateListAnimator(): StateListAnimator
Link copied to clipboard
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX])
@Nullable
open override fun getSupportBackgroundTintList(): ColorStateList?
Link copied to clipboard
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX])
@Nullable
open override fun getSupportBackgroundTintMode(): PorterDuff.Mode?
Link copied to clipboard
@Nullable
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX])
open override fun getSupportCompoundDrawablesTintList(): ColorStateList?
Link copied to clipboard
@Nullable
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX])
open override fun getSupportCompoundDrawablesTintMode(): PorterDuff.Mode?
Link copied to clipboard
Link copied to clipboard
open fun getTag(): Any
open fun getTag(p0: Int): Any
Link copied to clipboard
open fun getText(): CharSequence
Link copied to clipboard
open fun getTextAlignment(): Int
Link copied to clipboard
open fun getTextClassifier(): TextClassifier
Link copied to clipboard
fun getTextColors(): ColorStateList
Link copied to clipboard
open fun getTextCursorDrawable(): Drawable?
Link copied to clipboard
open fun getTextDirection(): Int
Link copied to clipboard
open fun getTextDirectionHeuristic(): TextDirectionHeuristic
Link copied to clipboard
open fun getTextLocale(): Locale
Link copied to clipboard
open fun getTextLocales(): LocaleList
Link copied to clipboard
open fun getTextMetricsParams(): PrecomputedText.Params
Link copied to clipboard
open fun getTextScaleX(): Float
Link copied to clipboard
open fun getTextSelectHandle(): Drawable?
Link copied to clipboard
open fun getTextSelectHandleLeft(): Drawable?
Link copied to clipboard
open fun getTextSelectHandleRight(): Drawable?
Link copied to clipboard
open fun getTextSize(): Float
Link copied to clipboard
open fun getTextSizeUnit(): Int
Link copied to clipboard
Link copied to clipboard
fun getTop(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getTouchables(): ArrayList<View>
Link copied to clipboard
open fun getTouchDelegate(): TouchDelegate
Link copied to clipboard
fun getTransformationMethod(): TransformationMethod
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getTypeface(): Typeface
Link copied to clipboard
Link copied to clipboard
open fun getUrls(): Array<URLSpan>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getVerticalScrollbarThumbDrawable(): Drawable?
Link copied to clipboard
open fun getVerticalScrollbarTrackDrawable(): Drawable?
Link copied to clipboard
Link copied to clipboard
open fun getViewTranslationResponse(): ViewTranslationResponse?
Link copied to clipboard
open fun getViewTreeObserver(): ViewTreeObserver
Link copied to clipboard
open fun getVisibility(): Int
Link copied to clipboard
fun getWidth(): Int
Link copied to clipboard
open fun getWindowId(): WindowId
Link copied to clipboard
open fun getWindowInsetsController(): WindowInsetsController?
Link copied to clipboard
Link copied to clipboard
open fun getWindowToken(): IBinder
Link copied to clipboard
Link copied to clipboard
open fun getWindowVisibleDisplayFrame(p0: Rect)
Link copied to clipboard
open fun getX(): Float
Link copied to clipboard
open fun getY(): Float
Link copied to clipboard
open fun getZ(): Float
Link copied to clipboard
Link copied to clipboard
open fun hasFocus(): Boolean
Link copied to clipboard
open fun hasFocusable(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun hasOverlappingRendering(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun hasSelection(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun invalidate()
open fun invalidate(p0: Rect)
open fun invalidate(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
open override fun invalidateDrawable(p0: Drawable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isActivated(): Boolean
Link copied to clipboard
open fun isAllCaps(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isClickable(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isDirty(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun isEmojiCompatEnabled(): Boolean
Link copied to clipboard
open fun isEnabled(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isFocused(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isHovered(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isInEditMode(): Boolean
Link copied to clipboard
open fun isInLayout(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isLaidOut(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isOpaque(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isPivotSet(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isPressed(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isSelected(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isShown(): Boolean
Link copied to clipboard
open fun isSingleLine(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun jumpDrawablesToCurrentState()
Link copied to clipboard
open fun keyboardNavigationClusterSearch(p0: View, p1: Int): View
Link copied to clipboard
open fun layout(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
open fun length(): Int
Link copied to clipboard
fun measure(p0: Int, p1: Int)
Link copied to clipboard
Link copied to clipboard
open fun offsetLeftAndRight(p0: Int)
Link copied to clipboard
open fun offsetTopAndBottom(p0: Int)
Link copied to clipboard
open fun onApplyWindowInsets(p0: WindowInsets): WindowInsets
Link copied to clipboard
open fun onBeginBatchEdit()
Link copied to clipboard
Link copied to clipboard
open fun onCapturedPointerEvent(p0: MotionEvent): Boolean
Link copied to clipboard
open override fun onCheckIsTextEditor(): Boolean
Link copied to clipboard
open fun onCommitCompletion(p0: CompletionInfo)
Link copied to clipboard
open fun onCommitCorrection(p0: CorrectionInfo)
Link copied to clipboard
open override fun onCreateInputConnection(p0: EditorInfo): InputConnection
Link copied to clipboard
open override fun onCreateViewTranslationRequest(p0: IntArray, p1: Consumer<ViewTranslationRequest>)
Link copied to clipboard
open fun onCreateVirtualViewTranslationRequests(p0: LongArray, p1: IntArray, p2: Consumer<ViewTranslationRequest>)
Link copied to clipboard
open override fun onDragEvent(p0: DragEvent): Boolean
Link copied to clipboard
open fun onDrawForeground(p0: Canvas)
Link copied to clipboard
open fun onEditorAction(p0: Int)
Link copied to clipboard
open fun onEndBatchEdit()
Link copied to clipboard
open fun onFilterTouchEventForSecurity(p0: MotionEvent): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun onGenericMotionEvent(p0: MotionEvent): Boolean
Link copied to clipboard
open fun onHoverChanged(p0: Boolean)
Link copied to clipboard
open fun onHoverEvent(p0: MotionEvent): Boolean
Link copied to clipboard
open override fun onInitializeAccessibilityEvent(p0: AccessibilityEvent)
Link copied to clipboard
open override fun onInitializeAccessibilityNodeInfo(p0: AccessibilityNodeInfo)
Link copied to clipboard
open override fun onKeyDown(p0: Int, p1: KeyEvent): Boolean
Link copied to clipboard
open override fun onKeyLongPress(p0: Int, p1: KeyEvent): Boolean
Link copied to clipboard
open override fun onKeyMultiple(p0: Int, p1: Int, p2: KeyEvent): Boolean
Link copied to clipboard
open override fun onKeyPreIme(p0: Int, p1: KeyEvent): Boolean
Link copied to clipboard
open override fun onKeyShortcut(p0: Int, p1: KeyEvent): Boolean
Link copied to clipboard
open override fun onKeyUp(p0: Int, p1: KeyEvent): Boolean
Link copied to clipboard
Link copied to clipboard
open fun onPopulateAccessibilityEvent(p0: AccessibilityEvent)
Link copied to clipboard
open override fun onPreDraw(): Boolean
Link copied to clipboard
open fun onPrivateIMECommand(p0: String, p1: Bundle): Boolean
Link copied to clipboard
open fun onProvideAutofillStructure(p0: ViewStructure, p1: Int)
Link copied to clipboard
open fun onProvideAutofillVirtualStructure(p0: ViewStructure, p1: Int)
Link copied to clipboard
open fun onProvideContentCaptureStructure(p0: ViewStructure, p1: Int)
Link copied to clipboard
open fun onProvideStructure(p0: ViewStructure)
Link copied to clipboard
open fun onProvideVirtualStructure(p0: ViewStructure)
Link copied to clipboard
open override fun onReceiveContent(p0: ContentInfo): ContentInfo?
Link copied to clipboard
open override fun onResolvePointerIcon(p0: MotionEvent, p1: Int): PointerIcon
Link copied to clipboard
open override fun onRestoreInstanceState(p0: Parcelable)
Link copied to clipboard
open override fun onRtlPropertiesChanged(p0: Int)
Link copied to clipboard
open override fun onSaveInstanceState(): Parcelable?
Link copied to clipboard
open override fun onScreenStateChanged(p0: Int)
Link copied to clipboard
open fun onScrollCaptureSearch(p0: Rect, p1: Point, p2: Consumer<ScrollCaptureTarget>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onTrackballEvent(p0: MotionEvent): Boolean
Link copied to clipboard
open fun onViewTranslationResponse(p0: ViewTranslationResponse)
Link copied to clipboard
open fun onVirtualViewTranslationResponses(p0: LongSparseArray<ViewTranslationResponse>)
Link copied to clipboard
open override fun onVisibilityAggregated(p0: Boolean)
Link copied to clipboard
open override fun onWindowFocusChanged(p0: Boolean)
Link copied to clipboard
open fun performAccessibilityAction(p0: Int, p1: Bundle?): Boolean
Link copied to clipboard
open fun performClick(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun performLongClick(p0: Float, p1: Float): Boolean
open override fun performLongClick(): Boolean
Link copied to clipboard
open fun performReceiveContent(p0: ContentInfo): ContentInfo?
Link copied to clipboard
open fun playSoundEffect(p0: Int)
Link copied to clipboard
open fun post(p0: Runnable): Boolean
Link copied to clipboard
open fun postDelayed(p0: Runnable, p1: Long): Boolean
Link copied to clipboard
open fun postInvalidate()
open fun postInvalidate(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
open fun postInvalidateDelayed(p0: Long, p1: Int, p2: Int, p3: Int, p4: Int)
Link copied to clipboard
open fun postInvalidateOnAnimation(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun removeOnAttachStateChangeListener(p0: View.OnAttachStateChangeListener)
Link copied to clipboard
open fun removeOnLayoutChangeListener(p0: View.OnLayoutChangeListener)
Link copied to clipboard
open fun removeOnUnhandledKeyEventListener(p0: View.OnUnhandledKeyEventListener)
Link copied to clipboard
open fun removeTextChangedListener(p0: TextWatcher)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun requestFocus(p0: Int, p1: Rect): Boolean
Link copied to clipboard
Link copied to clipboard
open fun requestLayout()
Link copied to clipboard
Link copied to clipboard
open fun requestRectangleOnScreen(p0: Rect): Boolean
open fun requestRectangleOnScreen(p0: Rect, p1: Boolean): Boolean
Link copied to clipboard
Link copied to clipboard
fun <T : View> requireViewById(p0: Int): T
Link copied to clipboard
open fun resetPivot()
Link copied to clipboard
Link copied to clipboard
open fun restoreHierarchyState(p0: SparseArray<Parcelable>)
Link copied to clipboard
fun saveAttributeDataForStyleable(p0: Context, p1: IntArray, p2: AttributeSet?, p3: TypedArray, p4: Int, p5: Int)
Link copied to clipboard
open fun saveHierarchyState(p0: SparseArray<Parcelable>)
Link copied to clipboard
open override fun scheduleDrawable(p0: Drawable, p1: Runnable, p2: Long)
Link copied to clipboard
open fun scrollBy(p0: Int, p1: Int)
Link copied to clipboard
open fun scrollTo(p0: Int, p1: Int)
Link copied to clipboard
open override fun sendAccessibilityEvent(p0: Int)
Link copied to clipboard
open override fun sendAccessibilityEventUnchecked(p0: AccessibilityEvent)
Link copied to clipboard
open fun setAccessibilityDelegate(p0: View.AccessibilityDelegate?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun setAllCaps(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setAlpha(p0: Float)
Link copied to clipboard
open fun setAnimation(p0: Animation)
Link copied to clipboard
open fun setAnimationMatrix(p0: Matrix?)
Link copied to clipboard
open fun setAutofillHints(vararg p0: String)
Link copied to clipboard
open fun setAutofillId(p0: AutofillId?)
Link copied to clipboard
Link copied to clipboard
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX])
open override fun setAutoSizeTextTypeUniformWithConfiguration(p0: Int, p1: Int, p2: Int, p3: Int)
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX])
open override fun setAutoSizeTextTypeUniformWithPresetSizes(@NonNull p0: IntArray, p1: Int)
Link copied to clipboard
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX])
open override fun setAutoSizeTextTypeWithDefaults(p0: Int)
Link copied to clipboard
open fun setBackground(p0: Drawable)
Link copied to clipboard
open fun setBackgroundColor(p0: Int)
Link copied to clipboard
open override fun setBackgroundDrawable(@Nullable p0: Drawable?)
Link copied to clipboard
open override fun setBackgroundResource(@DrawableRes p0: Int)
Link copied to clipboard
open fun setBackgroundTintBlendMode(p0: BlendMode?)
Link copied to clipboard
open fun setBackgroundTintList(p0: ColorStateList?)
Link copied to clipboard
open fun setBackgroundTintMode(p0: PorterDuff.Mode?)
Link copied to clipboard
fun setBottom(p0: Int)
Link copied to clipboard
open fun setBreakStrategy(p0: Int)
Link copied to clipboard
open fun setCameraDistance(p0: Float)
Link copied to clipboard
open fun setClickable(p0: Boolean)
Link copied to clipboard
open fun setClipBounds(p0: Rect)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setCompoundDrawables(p0: Drawable?, p1: Drawable?, p2: Drawable?, p3: Drawable?)
Link copied to clipboard
open fun setCompoundDrawablesRelative(p0: Drawable?, p1: Drawable?, p2: Drawable?, p3: Drawable?)
open fun setCompoundDrawablesRelativeWithIntrinsicBounds(p0: Drawable?, p1: Drawable?, p2: Drawable?, p3: Drawable?)
Link copied to clipboard
open fun setCompoundDrawablesWithIntrinsicBounds(p0: Drawable?, p1: Drawable?, p2: Drawable?, p3: Drawable?)
Link copied to clipboard
open fun setCompoundDrawableTintBlendMode(p0: BlendMode?)
Link copied to clipboard
open fun setCompoundDrawableTintList(p0: ColorStateList?)
Link copied to clipboard
open fun setCompoundDrawableTintMode(p0: PorterDuff.Mode?)
Link copied to clipboard
open fun setContentCaptureSession(p0: ContentCaptureSession?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setCustomInsertionActionModeCallback(p0: ActionMode.Callback)
Link copied to clipboard
open override fun setCustomSelectionActionModeCallback(@Nullable p0: ActionMode.Callback?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setEditableFactory(p0: Editable.Factory)
Link copied to clipboard
Link copied to clipboard
open fun setElevation(p0: Float)
Link copied to clipboard
open fun setEllipsize(p0: TextUtils.TruncateAt)
Link copied to clipboard
open override fun setEmojiCompatEnabled(p0: Boolean)
Link copied to clipboard
open fun setEms(p0: Int)
Link copied to clipboard
open override fun setEnabled(p0: Boolean)
Link copied to clipboard
open fun setError(p0: CharSequence)
open fun setError(p0: CharSequence, p1: Drawable)
Link copied to clipboard
open fun setExtractedText(p0: ExtractedText)
Link copied to clipboard
open fun setFadingEdgeLength(p0: Int)
Link copied to clipboard
Link copied to clipboard
open override fun setFilters(@NonNull p0: Array<InputFilter>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setFocusable(p0: Boolean)
open fun setFocusable(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setForeground(p0: Drawable)
Link copied to clipboard
Link copied to clipboard
open fun setForegroundTintBlendMode(p0: BlendMode?)
Link copied to clipboard
open fun setForegroundTintList(p0: ColorStateList?)
Link copied to clipboard
open fun setForegroundTintMode(p0: PorterDuff.Mode?)
Link copied to clipboard
open fun setFreezesText(p0: Boolean)
Link copied to clipboard
open fun setGravity(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setHeight(p0: Int)
Link copied to clipboard
open fun setHighlightColor(p0: Int)
Link copied to clipboard
fun setHint(p0: Int)
Link copied to clipboard
fun setHintTextColor(p0: ColorStateList)
Link copied to clipboard
Link copied to clipboard
open fun setHorizontalScrollbarThumbDrawable(p0: Drawable?)
Link copied to clipboard
open fun setHorizontalScrollbarTrackDrawable(p0: Drawable?)
Link copied to clipboard
open fun setHovered(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setId(p0: Int)
Link copied to clipboard
Link copied to clipboard
open fun setImeHintLocales(p0: LocaleList?)
Link copied to clipboard
open fun setImeOptions(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setInputExtras(p0: Int)
Link copied to clipboard
open fun setInputType(p0: Int)
Link copied to clipboard
Link copied to clipboard
open fun setKeepScreenOn(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setKeyListener(p0: KeyListener)
Link copied to clipboard
open fun setLabelFor(p0: Int)
Link copied to clipboard
Link copied to clipboard
open fun setLayerPaint(p0: Paint?)
Link copied to clipboard
open fun setLayerType(p0: Int, p1: Paint?)
Link copied to clipboard
open fun setLayoutDirection(p0: Int)
Link copied to clipboard
open fun setLayoutParams(p0: ViewGroup.LayoutParams)
Link copied to clipboard
fun setLeft(p0: Int)
Link copied to clipboard
fun setLeftTopRightBottom(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
open fun setLetterSpacing(p0: Float)
Link copied to clipboard
open fun setLineBreakStyle(p0: Int)
Link copied to clipboard
Link copied to clipboard
open fun setLineHeight(p0: Int)
Link copied to clipboard
open fun setLines(p0: Int)
Link copied to clipboard
open fun setLineSpacing(p0: Float, p1: Float)
Link copied to clipboard
Link copied to clipboard
fun setLinkTextColor(p0: ColorStateList)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setMaxEms(p0: Int)
Link copied to clipboard
open fun setMaxHeight(p0: Int)
Link copied to clipboard
open fun setMaxLines(p0: Int)
Link copied to clipboard
open fun setMaxWidth(p0: Int)
Link copied to clipboard
open fun setMinEms(p0: Int)
Link copied to clipboard
open fun setMinHeight(p0: Int)
Link copied to clipboard
open fun setMinimumHeight(p0: Int)
Link copied to clipboard
open fun setMinimumWidth(p0: Int)
Link copied to clipboard
open fun setMinLines(p0: Int)
Link copied to clipboard
open fun setMinWidth(p0: Int)
Link copied to clipboard
fun setMovementMethod(p0: MovementMethod)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setNextFocusDownId(p0: Int)
Link copied to clipboard
Link copied to clipboard
open fun setNextFocusLeftId(p0: Int)
Link copied to clipboard
open fun setNextFocusRightId(p0: Int)
Link copied to clipboard
open fun setNextFocusUpId(p0: Int)
Link copied to clipboard
open fun setOnApplyWindowInsetsListener(p0: View.OnApplyWindowInsetsListener)
Link copied to clipboard
open fun setOnCapturedPointerListener(p0: View.OnCapturedPointerListener)
Link copied to clipboard
open fun setOnClickListener(p0: View.OnClickListener?)
Link copied to clipboard
open fun setOnContextClickListener(p0: View.OnContextClickListener?)
Link copied to clipboard
open fun setOnCreateContextMenuListener(p0: View.OnCreateContextMenuListener)
Link copied to clipboard
open override fun setOnDisabledClickListener(listener: View.OnClickListener?)

Sets a listener that will be called when the view is clicked while in a disabled state. If listener is null, the set listener is cleared.

Link copied to clipboard
open fun setOnDragListener(p0: View.OnDragListener)
Link copied to clipboard
open fun setOnEditorActionListener(p0: TextView.OnEditorActionListener)
Link copied to clipboard
open fun setOnFocusChangeListener(p0: View.OnFocusChangeListener)
Link copied to clipboard
open fun setOnGenericMotionListener(p0: View.OnGenericMotionListener)
Link copied to clipboard
open fun setOnHoverListener(p0: View.OnHoverListener)
Link copied to clipboard
open fun setOnKeyListener(p0: View.OnKeyListener)
Link copied to clipboard
open fun setOnLongClickListener(p0: View.OnLongClickListener?)
Link copied to clipboard
open fun setOnReceiveContentListener(p0: Array<String>?, p1: OnReceiveContentListener?)
Link copied to clipboard
open fun setOnScrollChangeListener(p0: View.OnScrollChangeListener)
Link copied to clipboard
open fun setOnSystemUiVisibilityChangeListener(p0: View.OnSystemUiVisibilityChangeListener)
Link copied to clipboard
open fun setOnTouchListener(p0: View.OnTouchListener)
Link copied to clipboard
Link copied to clipboard
open fun setOutlineProvider(p0: ViewOutlineProvider)
Link copied to clipboard
Link copied to clipboard
open fun setOverScrollMode(p0: Int)
Link copied to clipboard
open fun setPaintFlags(p0: Int)
Link copied to clipboard
open fun setPivotX(p0: Float)
Link copied to clipboard
open fun setPivotY(p0: Float)
Link copied to clipboard
open fun setPointerIcon(p0: PointerIcon)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setPressed(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setRawInputType(p0: Int)
Link copied to clipboard
open fun setRenderEffect(p0: RenderEffect?)
Link copied to clipboard
Link copied to clipboard
fun setRight(p0: Int)
Link copied to clipboard
open fun setRotation(p0: Float)
Link copied to clipboard
open fun setRotationX(p0: Float)
Link copied to clipboard
open fun setRotationY(p0: Float)
Link copied to clipboard
open fun setSaveEnabled(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setScaleX(p0: Float)
Link copied to clipboard
open fun setScaleY(p0: Float)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setScrollBarSize(p0: Int)
Link copied to clipboard
open fun setScrollBarStyle(p0: Int)
Link copied to clipboard
fun setScrollCaptureCallback(p0: ScrollCaptureCallback?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setScroller(p0: Scroller)
Link copied to clipboard
open fun setScrollIndicators(p0: Int)
open fun setScrollIndicators(p0: Int, p1: Int)
Link copied to clipboard
open fun setScrollX(p0: Int)
Link copied to clipboard
open fun setScrollY(p0: Int)
Link copied to clipboard
Link copied to clipboard
open override fun setSelected(p0: Boolean)
Link copied to clipboard
open fun setShadowLayer(p0: Float, p1: Float, p2: Float, p3: Int)
Link copied to clipboard
Link copied to clipboard
open fun setSingleLine()
open fun setSingleLine(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
fun setSpannableFactory(p0: Spannable.Factory)
Link copied to clipboard
Link copied to clipboard
open fun setStateListAnimator(p0: StateListAnimator)
Link copied to clipboard
Link copied to clipboard
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX])
open override fun setSupportBackgroundTintList(@Nullable p0: ColorStateList?)
Link copied to clipboard
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX])
open override fun setSupportBackgroundTintMode(@Nullable p0: PorterDuff.Mode?)
Link copied to clipboard
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX])
open override fun setSupportCompoundDrawablesTintList(@Nullable p0: ColorStateList?)
Link copied to clipboard
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX])
open override fun setSupportCompoundDrawablesTintMode(@Nullable p0: PorterDuff.Mode?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setTag(p0: Any)
open fun setTag(p0: Int, p1: Any)
Link copied to clipboard
fun setText(p0: Int)
open fun setText(p0: CharSequence, p1: TextView.BufferType)
fun setText(p0: Int, p1: TextView.BufferType)
fun setText(p0: CharArray, p1: Int, p2: Int)
Link copied to clipboard
open fun setTextAlignment(p0: Int)
Link copied to clipboard
open fun setTextAppearance(p0: Int)
open override fun setTextAppearance(p0: Context, p1: Int)
Link copied to clipboard
open fun setTextClassifier(p0: TextClassifier?)
Link copied to clipboard
open fun setTextColor(p0: ColorStateList)
open fun setTextColor(p0: Int)
Link copied to clipboard
open fun setTextCursorDrawable(p0: Drawable?)
Link copied to clipboard
open fun setTextDirection(p0: Int)
Link copied to clipboard
Link copied to clipboard
fun setTextKeepState(p0: CharSequence, p1: TextView.BufferType)
Link copied to clipboard
open fun setTextLocale(p0: Locale)
Link copied to clipboard
open fun setTextLocales(p0: LocaleList)
Link copied to clipboard
open fun setTextMetricsParams(p0: PrecomputedText.Params)
Link copied to clipboard
open fun setTextScaleX(p0: Float)
Link copied to clipboard
open fun setTextSelectHandle(p0: Drawable)
open fun setTextSelectHandle(p0: Int)
Link copied to clipboard
open fun setTextSelectHandleLeft(p0: Drawable)
Link copied to clipboard
open fun setTextSelectHandleRight(p0: Drawable)
Link copied to clipboard
open fun setTextSize(p0: Float)
open override fun setTextSize(p0: Int, p1: Float)
Link copied to clipboard
Link copied to clipboard
fun setTop(p0: Int)
Link copied to clipboard
open fun setTouchDelegate(p0: TouchDelegate)
Link copied to clipboard
fun setTransformationMethod(p0: TransformationMethod)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setTranslationX(p0: Float)
Link copied to clipboard
open fun setTranslationY(p0: Float)
Link copied to clipboard
open fun setTranslationZ(p0: Float)
Link copied to clipboard
open fun setTypeface(p0: Typeface?)
open fun setTypeface(p0: Typeface?, p1: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setVerticalScrollbarThumbDrawable(p0: Drawable?)
Link copied to clipboard
open fun setVerticalScrollbarTrackDrawable(p0: Drawable?)
Link copied to clipboard

Binds the given viewModel to a TtButton.

Link copied to clipboard
open fun setViewTranslationCallback(p0: ViewTranslationCallback)
Link copied to clipboard
open fun setVisibility(p0: Int)
Link copied to clipboard
open fun setWidth(p0: Int)
Link copied to clipboard
Link copied to clipboard
open fun setWillNotDraw(p0: Boolean)
Link copied to clipboard
open fun setWindowInsetsAnimationCallback(p0: WindowInsetsAnimation.Callback?)
Link copied to clipboard
open fun setX(p0: Float)
Link copied to clipboard
open fun setY(p0: Float)
Link copied to clipboard
open fun setZ(p0: Float)
Link copied to clipboard
open override fun showContextMenu(): Boolean
open override fun showContextMenu(p0: Float, p1: Float): Boolean
Link copied to clipboard
open fun startActionMode(p0: ActionMode.Callback): ActionMode
open fun startActionMode(p0: ActionMode.Callback, p1: Int): ActionMode
Link copied to clipboard
open fun startAnimation(p0: Animation)
Link copied to clipboard
fun startDrag(p0: ClipData, p1: View.DragShadowBuilder, p2: Any, p3: Int): Boolean
Link copied to clipboard
fun startDragAndDrop(p0: ClipData, p1: View.DragShadowBuilder, p2: Any, p3: Int): Boolean
Link copied to clipboard
Link copied to clipboard
open fun stopNestedScroll()
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open fun transformMatrixToGlobal(p0: Matrix)
Link copied to clipboard
open fun transformMatrixToLocal(p0: Matrix)
Link copied to clipboard
open fun unscheduleDrawable(p0: Drawable)
open override fun unscheduleDrawable(p0: Drawable, p1: Runnable)
Link copied to clipboard
fun updateDragShadow(p0: View.DragShadowBuilder)
Link copied to clipboard
Link copied to clipboard
open fun willNotDraw(): Boolean