Stay organized with collections
Save and categorize content based on your preferences.
Description
protected open class Description
Utility class to parse a string description of a size.
Summary
Properties |
Int |
One of Animation.
|
Float |
The absolute or relative dimension for this Description.
|
Protected constructors
Description
protected Description()
Properties
type
var type: Int
One of Animation.ABSOLUTE, Animation.RELATIVE_TO_SELF, or Animation.RELATIVE_TO_PARENT.
value
var value: Float
The absolute or relative dimension for this Description.
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-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# Animation.Description\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nDescription\n===========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/view/animation/Animation.Description \"View this page in Java\") \n\n```\nprotected open class Description\n```\n\n|---|---------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.view.animation.Animation.Description](#) |\n\nUtility class to parse a string description of a size.\n\nSummary\n-------\n\n| Protected constructors ||\n|------------------------------------------|---|\n| [Description](#Description())`()` \u003cbr /\u003e |\n\n| Properties ||\n|--------------------------------------------------------------------------------|---------------------------------------------------------------------------------------|\n| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [type](#type:kotlin.Int) One of Animation. |\n| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | [value](#value:kotlin.Float) The absolute or relative dimension for this Description. |\n\nProtected constructors\n----------------------\n\n### Description\n\n```\nprotected Description()\n```\n\nProperties\n----------\n\n### type\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar type: Int\n```\n\nOne of Animation.ABSOLUTE, Animation.RELATIVE_TO_SELF, or Animation.RELATIVE_TO_PARENT. \n\n### value\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar value: Float\n```\n\nThe absolute or relative dimension for this Description."]]