Tài nguyên khác về ảnh động
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Thử cách Compose
Jetpack Compose là bộ công cụ giao diện người dùng được đề xuất cho Android. Tìm hiểu cách sử dụng Ảnh động trong Compose.
Để biết thêm thông tin về ảnh động, hãy tham khảo các tài nguyên sau.
Video
Mẫu
Có nhiều mã mẫu trong kho lưu trữ GitHub về mẫu ảnh động cho Android minh hoạ các kỹ thuật ảnh động cụ thể. Có một số dự án mẫu riêng biệt trong kho lưu trữ này:
Dự án |
Nội dung mô tả |
ActivitySceneTransitionBasic
|
Cho biết cách sử dụng hiệu ứng chuyển đổi thành phần dùng chung từ một Activity sang một thành phần khác. |
BasicTransition
|
Cho biết cách sử dụng thư viện Chuyển đổi để tạo ra sự chuyển đổi mượt mà giữa các trạng thái giao diện người dùng. |
CustomTransition (Chuyển đổi tuỳ chỉnh)
|
Cho biết cách tạo hiệu ứng chuyển đổi tuỳ chỉnh bằng thư viện Transitions. |
Ảnh động có thể vẽ
|
Cho biết cách tạo vectơ vẽ được ở dạng động. |
GridToPager
|
Cho thấy cách tạo các hiệu ứng chuyển đổi thành phần dùng chung từ RecyclerView sang ViewPager và ngược lại. |
Bộ nội suy
|
Cho thấy các bộ nội suy khác nhau ảnh hưởng như thế nào đến động lực của ảnh động. |
Chuyển động
|
Cho thấy cách triển khai nhiều loại Chuyển động Material Design cho bố cục, danh sách và thành phần điều hướng. |
MotionCompose
|
Cho biết cách triển khai nhiều loại Chuyển động Material Design cho Jetpack Compose. |
Đường phố của chúng tôi
|
Thể hiện các hiệu ứng chuyển đổi thành phần dùng chung trong toàn bộ ứng dụng. |
RevealEffectBasic
|
Cho biết cách triển khai hiệu ứng hiển thị vòng tròn. |
Hiển thị quảng cáo |
Đoạn mã ví dụ trong Google I/O '16 nói A window to Transition (Một cửa sổ vào các hiệu ứng chuyển đổi). |
Nội dung và mã mẫu trên trang này phải tuân thủ các giấy phép như mô tả trong phần Giấy phép nội dung. Java và OpenJDK là nhãn hiệu hoặc nhãn hiệu đã đăng ký của Oracle và/hoặc đơn vị liên kết của Oracle.
Cập nhật lần gần đây nhất: 2025-07-27 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-27 UTC."],[],[],null,["# Additional resources for animation\n\nTry the Compose way \nJetpack Compose is the recommended UI toolkit for Android. Learn how to use Animations in Compose. \n[Animations in Compose →](/jetpack/compose/animation) \n\n\u003cbr /\u003e\n\nFor more information about animation, consult the following resources.\n\nVideos\n------\n\n- [Five quick animations to make your Compose app stand out](https://www.youtube.com/watch?v=0mfCbXrYBPE)\n- [Jetpack Compose: Animation](https://www.youtube.com/watch?v=7yY2OocGiQU)\n- [Motion Layout (MAD Skills playlist)](https://www.youtube.com/playlist?list=PLWz5rJ2EKKc_PEOEHNBEyy6tPX1EgtUw2)\n- [Motional intelligence: Build smarter animations (Google I/O '19)](https://www.youtube.com/watch?v=f3Lm8iOr4mE)\n- [Get animated (Android Dev Summit '18)](https://www.youtube.com/watch?v=N_x7SV3I3P0)\n- [A window into transitions - Google I/O '16](https://www.youtube.com/watch?v=4L4fLrWDvAU)\n\nSamples\n-------\n\nThere are many code samples available in the [Android Animation samples GitHub\nrepository](https://github.com/android/animation-samples)\nthat demonstrate specific animation techniques. There are\na number of separate sample projects within this repository:\n\n| Project | Description |\n|---------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|\n| [ActivitySceneTransitionBasic](https://github.com/android/animation-samples/tree/main/ActivitySceneTransitionBasic) | Shows how to use shared element transitions from one `Activity` to another. |\n| [BasicTransition](https://github.com/android/animation-samples/tree/main/BasicTransition) | Shows how to use the Transitions library to create smooth transitions between UI states. |\n| [CustomTransition](https://github.com/android/animation-samples/tree/main/CustomTransition) | Shows how to create custom transitions using the Transitions library. |\n| [DrawableAnimations](https://github.com/android/animation-samples/tree/main/DrawableAnimations) | Shows how to create animated vector drawables. |\n| [GridToPager](https://github.com/android/animation-samples/tree/main/GridToPager) | Shows how to create shared element transitions from a `RecyclerView` to a `ViewPager` and back again. |\n| [Interpolator](https://github.com/android/animation-samples/tree/main/Interpolator) | Shows how different interpolators affect the dynamics of your animations. |\n| [Motion](https://github.com/android/animation-samples/tree/main/Motion) | Shows how to implement various types of Material Design Motion for layouts, lists, and navigation. |\n| [MotionCompose](https://github.com/android/animation-samples/tree/main/MotionCompose) | Shows how to implement various different types of Material Design Motion for Jetpack Compose. |\n| [OurStreets](https://github.com/android/animation-samples/tree/main/OurStreets) | Showcases shared element transitions throughout the app. |\n| [RevealEffectBasic](https://github.com/android/animation-samples/tree/main/RevealEffectBasic) | Shows how to implement the circular reveal effect. |\n| [Unsplash](https://github.com/android/animation-samples/tree/main/Unsplash) | The example code from the Google I/O '16 talk [A window into transitions](https://www.youtube.com/watch?v=4L4fLrWDvAU). |"]]