Rendering
Stay organized with collections
Save and categorize content based on your preferences.
A key aspect of your app that influences your users' perception of quality is the smoothness with
which it renders images and text to the screen. It's important to avoid jank and sluggish
responsiveness when your app is drawing to the screen.
This section shows several ways to optimize your app's rendering performance: reducing overdraw,
optimizing view hierarchies, and taking advantage of the Profile GPU tool. See
Jetpack Compose performance to learn about rendering in
Jetpack Compose.
Render actions
-
Reduce overdraw
-
Minimize the number of times your app redraws the same pixel in a single frame.
-
Performance and view hierarchies
-
Make sure your layout and measurement are executing efficiently, and avoid double taxation.
-
Analyze with Profile GPU Rendering
-
Take advantage of this on-device tool to identify bottlenecks that might slow your app's
rendering.
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 2023-09-08 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2023-09-08 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 2023-09-08 UTC."]]