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

AI学習ツールを解放

登録して、すべての動画からより速く学べる強力なツールにアクセスしましょう。

シーン解説 フレーズハンター カードで復習 シャドーイング練習 トークバック
無料で登録
B1 中級 英語 7:25 1,272 単語 Science & Tech

Advanced shared elements with shape morphing | Jetpack Compose Tips

English with Lucy · 11,145 回視聴 · 追加日 2ヶ月前

AI要約

この動画では、Jetpack Composeにおける共有要素トランジションとシェイプモーフィングに焦点を当て、モバイルアプリ開発で使われる上級英語語彙を学べます。'transition'、'morph'、'clip'、'reveal pattern'、'animated visibility scope'などの用語を習得できます。詳細な技術的ナレーションは、ソフトウェアエンジニアリングの議論を英語で理解したい中級学習者にとって優れたリスニング練習になります。

学習統計

B1

CEFRレベル

1,272

総単語数

360

ユニークな単語

4/10

難易度

語彙の多様性 28%

字幕 (72 セグメント)

ダウンロード
00:00

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

REBECCA FRANKS: ユーザーは、遷移間の連続性を示す流動的な画面を好みます。

00:05

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

以前の動画では、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.

Androidifyでは、Material 3 Expressiveアップデートの一部として提供される新しいマテリアルシェイプを使用しています。

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.

カメラボタンを表示する作成画面と、カメラビューファインダーと関連ボタンを表示するカメラ画面の2つの画面があります。

00:39

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

現在、2つの画面間で遷移していますが、その間にきれいなアニメーションがありません。

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.

このアニメーションを実現するには、3つのことを行う必要があります。共有要素を使用して写真ボタンからカメラ画面まで拡大する、ボタンが大きくなるにつれてカメラ画面を明らかにする、共有要素をモーフィングする形状にクリップする。

01:16

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

ステップ1では、下にリンクされている共有要素の動画で示されたのと同じ概念を使用します。

01:22

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

まず、アプリの最上位で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.

Androidifyアプリ全体で使用できるように、SharedTransitionLayoutをテーマの最上位に配置しました。

01:35

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

また、スコープを渡す必要がないように、SharedTransitionScopeのコンポジションローカルを設定しました。

01:41

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

次のステップは、アニメーション表示スコープがあることを確認することです。これは2つの画面間の遷移を駆動します。

01:48

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

このサンプルではNavigation 3を使用しており、必要に応じてアクセスできる組み込みのコンポジションローカルを提供しています。

完全な字幕は動画プレーヤーで利用可能

重要な語彙 (23)

add A1 verb

数、サイズ、または質を向上させるために、何かを他のものに加えること。

call A1 verb

誰かを呼んで注意を引くこと。

same A1 adjective

'Same'は「同じ」や「同一の」という意味です。2つのものが全く同じであることを表します。

この動画の文法

練習問題に挑戦

この動画から語彙・文法・読解の練習問題を作成

語彙と文法 読解クイズ IELTS試験 ライティング練習
登録して練習
まだコメントがありません。最初に考えをシェアしましょう!

登録してすべての機能を解放しよう

進捗を追跡、単語を保存、演習で練習しよう

無料で語学を始める