The video owner has disabled playback on external websites.

This video is no longer available on YouTube.

This video cannot be played right now.

Watch on YouTube

Unlock AI-Powered Learning Tools

Sign up to access powerful tools that help you learn faster from every video.

Scene Explainer Phrase Hunter Flashcard Review Shadowing Practice Talk Back
Sign Up Free
B1 Intermediate English 7:25 1,272 words Science & Tech

Advanced shared elements with shape morphing | Jetpack Compose Tips

English with Lucy · 11,156 views · Added 2 months ago

AI Summary

This video covers advanced English vocabulary used in mobile app development, focusing on shared element transitions and shape morphing in Jetpack Compose. Learners will pick up terms like 'transition,' 'morph,' 'clip,' 'reveal pattern,' and 'animated visibility scope.' The detailed technical narration provides excellent listening practice for intermediate learners aiming to understand software engineering discussions and UI animation concepts in English.

Learning Stats

B1

CEFR Level

1,272

Total Words

360

Unique Words

4/10

Difficulty

Vocabulary Diversity 28%

Subtitles (72 segments)

Download
00:00

REBECCA FRANKS: Users love screens that feel fluid and show continuity between transitions.

00:05

In a previous video, we covered how to get started with the basics of shared elements in Jetpack Compose.

00:10

In this tip, we will cover a more advanced example application of shared elements and how you can also add moments of delight to your app.

00:18

[MUSIC PLAYING]

00:24

In Androidify, we are using the new material shapes that come as part of the Material 3 Expressive updates.

00:30

We have two screens, the Creation screen that shows the camera button and the Camera screen that shows the camera viewfinder and the related buttons.

00:39

Currently, we've transitioned between the two screens, but we don't have a nice animation between the two.

00:44

So what if we wanted to transform between the Take Photo button, which is this delicious cookie shape, to the full-screen square that the camera screen takes on as a shared element, slowly having the cookie reveal the camera screen as it grows in size and transforms to the screen's rectangle shape.

01:03

We need to do three things to achieve this animation-- use shared elements to grow from the Photo button to the camera screen; reveal the camera screen as the button grows in size; and clip the shared element to the morphing shape.

01:16

So for step 1, we use the same concept shown in the shared element video that's linked below.

01:22

Firstly, we need to make sure that the top level of our app we are using a SharedTransitionLayout.

01:28

We've placed our SharedTransitionLayout at our top level of the theme in order to use it all throughout the Androidify app.

01:35

We also set a composition local for the SharedTransitionScope so that we don't need to pass the scope around.

01:41

The next step is to ensure that we have an animated visibility scope, which drives the transition between the two screens.

01:48

We are using Navigation 3 in this sample, which provides a built-in composition local where you can access when needed.

Full subtitles available in the video player

Key Vocabulary (23)

add A1 verb

To put something with something else to increase the total number, size, or quality. It is also the basic mathematical process of combining two or more numbers to get a sum.

call A1 verb

summon

same A1 adjective

The word 'same' is used to describe things or people that are identical or not different from each other. It indicates that two or more things are exactly alike in every way or are the very same entity.

Grammar in This Video

Practice with Exercises

Generate vocabulary, grammar, and comprehension exercises from this video

Vocabulary & Grammar Comprehension Quiz IELTS Exam Writing Practice
Sign up to practice

Comments (0)

Login to Comment
No comments yet. Be the first to share your thoughts!

Sign up to unlock full features

Track progress, save vocabulary, and practice exercises

Start learning languages for free