Jetpack Compose Material 3 Complete Tutorial Kotlin Android Studio 11: Card
Автор: Mayank Shukla
Загружено: 2023-11-11
Просмотров: 347
Описание:
In this video Jetpack Compose Material 3 Complete Tutorial Kotlin Android Studio 10: Card, we are going to implement all types of card component of jetpack compose. Filled, Elevated and Outlined.
The Card composable acts as a Material Design container for your UI. Cards typically present a single coherent piece of content. The following are some examples of where you might use a card:
A product in a shopping app.
A news story in a news app.
A message in a communications app.
It is the focus on portraying a single piece of content that distinguishes Card from other containers. For example, Scaffold provides general structure to a whole screen. Card is generally a smaller UI element inside a larger layout, whereas a layout component such as Column or Row provides a simpler and more generic API.
Some key parameters to note are the following:
elevation: Adds a shadow to the component that makes it appear elevated above the background.
colors: Uses the CardColors type to set the default color of both the container and any children.
enabled: If you pass false for this parameter, the card appears as disabled and does not respond to user input.
onClick: Ordinarily, a Card does not accept click events. As such, the primary overload you would like to note is that which defines an onClick parameter. You should use this overload if you would like your implementation of Card to respond to presses from the user.
Kotlin is a cross-platform, statically typed, general-purpose programming language with type inference. Kotlin is designed to interoperate fully with Java, and the JVM version of Kotlin's standard library depends on the Java Class Library, but type inference allows its syntax to be more concise.
Android Studio is the official integrated development environment for Google's Android operating system, built on JetBrains' IntelliJ IDEA software and designed specifically for Android development. It is available for download on Windows, macOS and Linux based operating systems.
Jetpack Compose is Android’s recommended, modern toolkit for building native UI. It simplifies and accelerates UI development on Android. Quickly bring your app to life with less code, powerful tools, and intuitive Kotlin APIs.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: