پیش نمایش انیمیشن
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
Android Studio به شما امکان می دهد انیمیشن ها را از پیش نمایش انیمیشن بررسی کنید. اگر یک انیمیشن در یک پیشنمایش ترکیبی توصیف شده است، میتوانید مقدار دقیق هر مقدار متحرک را در یک زمان معین بررسی کنید، انیمیشن را مکث کنید، آن را حلقه بزنید، آن را سریع جلو ببرید، یا آن را آهسته کنید، تا به شما کمک کند انیمیشن را در تمام مراحل انتقال اشکال زدایی کنید:

همچنین میتوانید از پیشنمایش انیمیشن برای تجسم منحنیهای انیمیشن استفاده کنید، که برای اطمینان از اینکه مقادیر انیمیشن به درستی طراحی شدهاند مفید است:

پیشنمایش انیمیشن بهطور خودکار انیمیشنهای قابل بازرسی را که با نماد Start Animation Preview نشان داده میشوند، شناسایی میکند.
.

اگر چندین انیمیشن دارید، میتوانید از پیشنمایش انیمیشن برای بررسی و هماهنگ کردن همه آنها به یکباره استفاده کنید. همچنین می توانید یک انیمیشن خاص را فریز کنید.

از انتخابگرها برای تنظیم حالت های غیر enum یا بولی برای اشکال زدایی انیمیشن Compose خود با استفاده از ورودی های دقیق استفاده کنید. برای همه APIهای Compose Animation پشتیبانی شده، میتوانید پخش، مکث، تمیز کردن، کنترل سرعت و هماهنگی را انجام دهید.

پیش نمایش انیمیشن در حال حاضر از updateTransition
، AnimatedVisibility
، animate*AsState
، CrossFade
، rememberInfiniteTransition
و AnimatedContent
پشتیبانی می کند. برای دسترسی به جدیدترین ویژگیها، از پیشنمایش انیمیشن با Android Studio Narwhal Feature Drop و compose.animation
نسخه ۱.۹.۰ و بالاتر استفاده کنید.
{% کلمه به کلمه %}
{% آخر کلمه %} برای شما توصیه می شود
{% کلمه به کلمه %} {% آخر کلمه %}
محتوا و نمونه کدها در این صفحه مشمول پروانههای توصیفشده در پروانه محتوا هستند. جاوا و OpenJDK علامتهای تجاری یا علامتهای تجاری ثبتشده Oracle و/یا وابستههای آن هستند.
تاریخ آخرین بهروزرسانی 2025-08-27 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-08-27 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# Animation Preview\n\nAndroid Studio allows you to inspect animations from Animation Preview. If an\nanimation is described in a composable preview, you can inspect the exact value\nof each animated value at a given time, pause the animation, loop it,\nfast-forward it, or slow it, to help you debug the animation throughout its\ntransitions:\n\nYou can also use Animation Preview to graph visualize animation curves, which is\nuseful for making sure that the animation values are choreographed properly:\n\nAnimation Preview automatically detects inspectable animations, which are\nindicated by the **Start Animation Preview** icon\n.\n\nIf you have multiple animations, you can use Animation Preview to inspect and\ncoordinate them all at once. You can also freeze a specific animation.\n\nUse pickers to set non-enum or boolean states to debug your Compose animation\nusing precise inputs. For all supported Compose Animation APIs, you can play,\npause, scrub, control speed, and coordinate.\n\nAnimation Preview currently supports the\n[`updateTransition`](/reference/kotlin/androidx/compose/animation/core/package-summary#updateTransition(kotlin.Any,kotlin.String)),\n[`AnimatedVisibility`](/reference/kotlin/androidx/compose/animation/package-summary#AnimatedVisibility(androidx.compose.animation.core.MutableTransitionState,androidx.compose.ui.Modifier,androidx.compose.animation.EnterTransition,androidx.compose.animation.ExitTransition,kotlin.String,kotlin.Function1)),\n[`animate*AsState`](/develop/ui/compose/animation#animate-as-state),\n[`CrossFade`](/develop/ui/compose/animation#crossfade),\n[`rememberInfiniteTransition`](/develop/ui/compose/animation#rememberinfinitetransition),\nand [`AnimatedContent`](/develop/ui/compose/animation#animatedcontent)\nAPIs. To access the latest features, use Animation Preview with\nAndroid Studio Narwhal Feature Drop and `compose.animation` 1.9.0 and higher.\n\nRecommended for you\n-------------------\n\n- Note: link text is displayed when JavaScript is off\n- [Animations in Compose](/develop/ui/compose/animation/introduction)\n- [Animation tooling support {:#tooling}](/develop/ui/compose/animation/tooling)\n- [Value-based animations](/develop/ui/compose/animation/value-based)"]]