Create a finite scrollable list
Updated 1 апреля 2025 г.
Scrollable lists can help manage datasets, create responsive designs, and facilitate navigation. To display a finite set of items in your app, you can create a scrollable list using the `verticalScroll` or `horizontalScroll` modifiers.
- HowTo
1 апреля 2025 г.
Lazily load data with lists and Paging
Updated 1 апреля 2025 г.
Use the Paging library to support large lists of items—including an infinite list—in your app by loading and displaying data incrementally. With lazy loading, you can reduce initial load times and optimize memory usage, enhancing performance.
- HowTo
1 апреля 2025 г.
Display a top app bar
Updated 1 апреля 2025 г.
Create a top app bar to help users navigate and access functions in your app, using the TopAppBar composable.
- HowTo
1 апреля 2025 г.
Display layered images on a canvas
Updated 1 апреля 2025 г.
You can blend or overlay source images to display layered images on a canvas. For example, you can replicate how the Android Framework generates app icons by combining separate background and foreground drawables.
- HowTo
1 апреля 2025 г.
Create a bottom sheet
Updated 1 апреля 2025 г.
A bottom sheet shows secondary content at the bottom of the screen.
- HowTo
1 апреля 2025 г.
Display a bottom app bar
Updated 1 апреля 2025 г.
Create a bottom app bar to help users navigate and access functions in your app.
- HowTo
1 апреля 2025 г.
Auto-format a phone number in a text field
Updated 1 апреля 2025 г.
You can auto format a phone number in a text field to save time and increase user engagement, productivity, and efficiency.
- HowTo
1 апреля 2025 г.
Validate input as the user types
Updated 1 апреля 2025 г.
You can validate input as the user types in a text field, such as entering a name, email, address, or other contact information. This validation reduces errors and saves your users time.
- HowTo
1 апреля 2025 г.
Create a scrollable grid
Updated 1 апреля 2025 г.
You can manage large datasets and dynamic content with lazy grids, improving app performance. With lazy grid composables, you can display items in a scrollable container, spanned across multiple columns or rows.
- HowTo
1 апреля 2025 г.
Create a progress indicator
Updated 1 апреля 2025 г.
A progress indicator shows the status of an operation.
- HowTo
1 апреля 2025 г.
Display pop-up messages or requests for user input
Updated 1 апреля 2025 г.
Dialogs display pop-up messages or request user input on a layer above the main app content.
- HowTo
1 апреля 2025 г.
Add a custom page indicator
Updated 1 апреля 2025 г.
Using page indicators, you can help your users understand their current position within your app's content, providing a visual indication of progress.
- HowTo
1 апреля 2025 г.
Create a chip to represent complex entities
Updated 1 апреля 2025 г.
A chip component visually represents complex entities, often with an icon and a label.
- HowTo
1 апреля 2025 г.
Support multiple links in a single string of text
Updated 1 апреля 2025 г.
You can support multiple links in a single string of text to give users options where to go and increase engagement.
- HowTo
1 апреля 2025 г.
Create a parallax scrolling effect
Updated 1 апреля 2025 г.
Parallax scrolling is a technique in which the background content and foreground content scroll at different speeds. You can implement this technique to enhance your app's UI, creating a more dynamic experience as your users scroll.
- HowTo
1 апреля 2025 г.
Add a switch that users can toggle
Updated 1 апреля 2025 г.
You can use a toggle switch to let users choose one of two states.
- HowTo
1 апреля 2025 г.
Create a card as a container
Updated 1 апреля 2025 г.
A card provides a Material Design container for your UI.
- HowTo
1 апреля 2025 г.
Load and display images
Updated 1 апреля 2025 г.
To display images in your app for content and for responses to user actions, load the images from the disk or from an external source on the internet.
- HowTo
1 апреля 2025 г.
Filter a list while typing
Updated 1 апреля 2025 г.
You can filter through a list of strings based on text input to dynamically update a list based on user search queries.
- HowTo
1 апреля 2025 г.
Animate character-by-character the appearance of text
Updated 1 апреля 2025 г.
You can animate, character-by-character, the appearance of text, so it looks like a streaming typing effect.
- HowTo
1 апреля 2025 г.
Display nested scrolling items in a list
Updated 1 апреля 2025 г.
You can display nested scrolling items within a list to present complex layouts, such as product catalogs, media galleries, news feeds, and more. Presenting content in this way can enhance the usability of your app, making it easier for users to navigate.
- HowTo
1 апреля 2025 г.
Display an app bar
Updated 1 апреля 2025 г.
An app bar is a container at the top or bottom of the screen that contains key features and navigation items.
- HowTo
1 апреля 2025 г.
Style parts of text
Updated 1 апреля 2025 г.
You can style parts of text to improve readability, increase positive user experience, and encourage greater creativity through use of colors and fonts.
- HowTo
1 апреля 2025 г.
Display an image clipped to a shape
Updated 1 апреля 2025 г.
You can draw shadows around the clipped area of the image so that you can display an image in the shape of a clip.
- HowTo
1 апреля 2025 г.
Create a button to enable snap scrolling
Updated 1 апреля 2025 г.
You can display a button to let a user snap scroll to a specific point in a list, saving time and increasing user engagement.
- HowTo
1 апреля 2025 г.
Show or hide password based on a user toggle
Updated 1 апреля 2025 г.
You can create an icon to hide or show a password based on a user toggle to improve security and enhance the user experience.
- HowTo
1 апреля 2025 г.
Display a paging list
Updated 1 апреля 2025 г.
Create a paging list so that users can scroll to access content too large to fit on a single screen. Horizontal paging lists can help users navigate through content such as images, slideshows, or product carousels. Vertical paging lists are useful for content-heavy apps where users may need to scroll through a large number of items, such as articles.
- HowTo
1 апреля 2025 г.
Build a list using multiple item types
Updated 1 апреля 2025 г.
You can use a list with multiple item types to display mixed content types such as text, images, and interactive elements.
- HowTo
1 апреля 2025 г.
Create a slider for a range of values
Updated 1 апреля 2025 г.
A range slider lets users make selections from a range of values.
- HowTo
1 апреля 2025 г.
Create a floating action button (FAB)
Updated 1 апреля 2025 г.
A floating action button lets the user perform a primary action in the app.
- HowTo
1 апреля 2025 г.
1 апреля 2025 г.
Create a scaffold component to hold the UI together
Updated 1 апреля 2025 г.
A scaffold provides holds together different parts of the UI, such as app bars and floating action buttons, giving apps a coherent look and feel.
- HowTo
1 апреля 2025 г.
Create a notification with a snackbar
Updated 1 апреля 2025 г.
A snackbar shows a brief notification at the bottom of the screen.
- HowTo
1 апреля 2025 г.
Display an animated image
Updated 1 апреля 2025 г.
You can create a more interactive and engaging user experience in your app by loading a drawable file to display animated images. Animated images are useful for creating loading indicators, success or error indicators, facilitating game development, and various other UI functions.
- HowTo
1 апреля 2025 г.
Create a slide-in menu with the navigation drawer component
Updated 1 апреля 2025 г.
A navigation drawer is a slide-in navigation menu.
- HowTo
1 апреля 2025 г.
Optimize for large screens
Updated 6 февраля 2025 г.
Enable your app to support an optimized user experience on tablets, foldables, and ChromeOS devices.
- HowTo
6 февраля 2025 г.
Intro to drawing in Compose
9 минут
Updated 6 февраля 2025 г.
After you're comfortable working in Compose, you might want to start drawing your own custom components. This video covers how to get started with custom drawing.
- Видео
6 февраля 2025 г.
Restrict app orientation on phones but not on large screen devices
Updated 6 февраля 2025 г.
Restrict app orientation on small screens but not on large screens.
- HowTo
6 февраля 2025 г.
Display text
Updated 6 февраля 2025 г.
Enhance your app's usability and aesthetic appeal by customizing the way it displays text.
- HowTo
- Видео
6 февраля 2025 г.
State in Compose
5 минут
Updated 6 февраля 2025 г.
Learn how state flows through your Compose-based app and how the framework can automatically update UI to display new values. See how to create observable states, how to retain state across recompositions or configuration changes, and how to structure your composables for optimal data flow.
- Видео
6 февраля 2025 г.
Lists in Compose
5 минут
Updated 6 февраля 2025 г.
Explore Compose's Lazy components that make it easy to display lists of items. Learn how to show different item types and even how to implement sticky headers. See how to programmatically control or react to the scroll-position changes.
- Видео
6 февраля 2025 г.
Display interactive components
Updated 6 февраля 2025 г.
Choose the right component for your UI and see how to implement it in your app.
- HowTo
6 февраля 2025 г.
Display images
Updated 6 февраля 2025 г.
Work with images onscreen using a vector, bitmap, or directly drawing with a canvas on screen.
- HowTo
- Видео
6 февраля 2025 г.
Create a home screen scaffold
Updated 6 февраля 2025 г.
Use these Quick Guides to create a home screen scaffold, which can help give your app's home screen a coherent look and feel.
- HowTo
- Видео
6 февраля 2025 г.
Insets in Compose
6 минут
Updated 6 февраля 2025 г.
Learn how insets communicate to your app where system decorations are placed, and how Compose APIs help your content automatically move with the system bars, software keyboard, and the taskbar. Don't be afraid to go edge-to-edge!
- Видео
6 февраля 2025 г.
Five quick animations in Compose
7 минут
Updated 6 февраля 2025 г.
These 5 quick and easy animations can help make your app come to life in just a few minutes. Make your Compose app stand out even if you don't have the time to learn everything there is to know about animations.
- Видео
6 февраля 2025 г.
6 февраля 2025 г.
Animation in Compose
5 минут
Updated 6 февраля 2025 г.
See how to animate state values, using transitions, animating visibility or size changes and crossfades by using the Compose animation APIs.
- Видео
6 февраля 2025 г.
Advanced layouts in Compose
13 минут
Updated 6 февраля 2025 г.
See how to build complex designs for your Compose layouts, focusing on layout phase and constraints, subcompose layouts, and intrinsic measurements.
- Видео
6 февраля 2025 г.
Manage detachable keyboard configuration changes
Updated 6 февраля 2025 г.
Learn how to manage detachable keyboard configuration changes.
- HowTo
6 февраля 2025 г.
Accessibility in Compose
5 минут
Updated 6 февраля 2025 г.
Add accessibility features to your app. See how to increase your app's reach and versatility with a small amount of work.
- Видео
6 февраля 2025 г.
Compose basics
Updated 6 февраля 2025 г.
This series of videos introduces various Compose APIs, quickly showing you what's available and how to use them.
- Видео
6 февраля 2025 г.
Lazy lists in Compose
24 минуты
Updated 6 февраля 2025 г.
Compose gives you a simpler and more-performant way of creating scrolling lists, using fewer lines of code than RecyclerView. Learn how to use lazy layouts to create lists that let add content to lists, on demand.
- Видео
6 февраля 2025 г.
Testing in Compose
4 минуты
Updated 6 февраля 2025 г.
Build your first Jetpack Compose tests. Learn how to use Compose's testing artifacts to write UI tests, use test rules, finders, and assertions.
- Видео
6 февраля 2025 г.
Draw text in Compose
2 минуты
Updated 6 февраля 2025 г.
See how to use Compose APIs specifically designed to draw text on a canvas. This segment shows the code to draw an emoji font in a rounded rectangle.
- Видео
6 февраля 2025 г.
Display a list or grid
Updated 6 февраля 2025 г.
Display and arrange collections of items efficiently with lists and grids.
- Видео
- HowTo
6 февраля 2025 г.
Manage WebView state
Updated 6 февраля 2025 г.
Manage the state of a WebView across configuration changes.
- HowTo
6 февраля 2025 г.
Request user input
Updated 6 февраля 2025 г.
Make your app interactive by enabling users to enter text and other inputs.
- HowTo
6 февраля 2025 г.
Manage RecyclerView state
Updated 6 февраля 2025 г.
Maintain RecyclerView state during configuration changes.
- HowTo
6 февраля 2025 г.
Debugging recomposition in Compose
7 минут
Updated 6 февраля 2025 г.
A look into debugging a performance issue in Jetsnack and how to fix it in Jetpack Compose. Learn why deferring state reads by using a lambda means composition can be skipped.
- Видео
6 февраля 2025 г.