معاينة الصور المتحركة
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يتيح لك "استوديو Android" فحص الصور المتحركة من "معاينة الصور المتحركة". إذا تم وصف رسم متحرك في معاينة قابلة للإنشاء، يمكنك فحص القيمة الدقيقة لكل قيمة متحركة في وقت معيّن، أو إيقاف الرسم المتحرك مؤقتًا، أو تكراره، أو تسريعه، أو إبطائه، وذلك لمساعدتك في تصحيح أخطاء الرسم المتحرك خلال انتقالاته:

يمكنك أيضًا استخدام "معاينة الحركة" لتمثيل منحنيات الحركة بيانيًا، وهو أمر مفيد للتأكّد من أنّ قيم الحركة مصمّمة بشكل صحيح:

ترصد أداة "معاينة الصور المتحركة" تلقائيًا الصور المتحركة التي يمكن فحصها، ويتم الإشارة إليها من خلال رمز بدء معاينة الصور المتحركة
.

إذا كانت لديك عدة رسومات متحركة، يمكنك استخدام "معاينة اللقطة المتحركة" لفحصها وتنسيقها كلها في الوقت نفسه. يمكنك أيضًا تجميد صورة متحركة معيّنة.

استخدِم أدوات الاختيار لضبط الحالات غير التعدادية أو المنطقية لتصحيح أخطاء الرسوم المتحركة في Compose
باستخدام إدخالات دقيقة. بالنسبة إلى جميع واجهات برمجة التطبيقات المتوافقة مع Compose Animation، يمكنك تشغيل المؤثرات الحركية وإيقافها مؤقتًا والبحث فيها والتحكّم في سرعتها وتنسيقها.

تتوافق ميزة "معاينة الصور المتحركة" حاليًا مع واجهات برمجة التطبيقات
updateTransition
وAnimatedVisibility
وanimate*AsState
وCrossFade
وrememberInfiniteTransition
وAnimatedContent
. للوصول إلى أحدث الميزات، استخدِم "معاينة الصور المتحركة" مع إصدار Narwhal من "استوديو Android" compose.animation
والإصدار 1.9.0 والإصدارات الأحدث.
اقتراحات مخصصة لك
يخضع كل من المحتوى وعيّنات التعليمات البرمجية في هذه الصفحة للتراخيص الموضحّة في ترخيص استخدام المحتوى. إنّ Java وOpenJDK هما علامتان تجاريتان مسجَّلتان لشركة Oracle و/أو الشركات التابعة لها.
تاريخ التعديل الأخير: 2025-08-27 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 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)"]]