Stay organized with collections
Save and categorize content based on your preferences.
class ButtonColors
Defines Color
s for all TV Interaction
states of Button.
Summary
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[null,null,["Last updated 2025-05-15 UTC."],[],[],null,["# ButtonColors\n============\n\nArtifact: [androidx.tv:tv-material](/jetpack/androidx/releases/tv) \n[View Source](https://cs.android.com/search?q=file:androidx/tv/material3/ButtonStyles.kt+class:androidx.tv.material3.ButtonColors) \nAdded in [1.0.0](/jetpack/androidx/releases/tv#1.0.0)\n\n\n```\nclass ButtonColors\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nDefines [Color](/reference/kotlin/androidx/compose/ui/graphics/Color)s for all TV [Interaction](/reference/kotlin/androidx/compose/foundation/interaction/Interaction) states of Button.\n\nSummary\n-------\n\n| ### Public functions |\n|-----------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `open operator `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [equals](/reference/kotlin/androidx/tv/material3/ButtonColors#equals(kotlin.Any))`(other: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?)` |\n| `open `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [hashCode](/reference/kotlin/androidx/tv/material3/ButtonColors#hashCode())`()` |\n| `open `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) | [toString](/reference/kotlin/androidx/tv/material3/ButtonColors#toString())`()` |\n\nPublic functions\n----------------\n\n### equals\n\n```\nopen operator fun equals(other: Any?): Boolean\n``` \n\n### hashCode\n\n```\nopen fun hashCode(): Int\n``` \n\n### toString\n\n```\nopen fun toString(): String\n```"]]