Build: Simple Fade Animation
This screen shows a box that fades in when you press a button. It uses Animated.Value and Animated.timing to smoothly change the box's opacity from invisible to visible.
Target UI
--------------------- | | | [Fade In] | | | | [ Box ] | | | ---------------------
Add a button labeled 'Fade In' at the top center
Add a square box below the button with initial opacity 0 (invisible)
When the button is pressed, animate the box's opacity from 0 to 1 over 1 second
Use Animated.Value to hold the opacity value
Use Animated.timing to perform the animation
Ensure the animation runs smoothly and the box becomes fully visible