Hello.
https://material.google.com/motion/transforming-material.html#
What I want to implement is correctangle transforming in this part.
This is the Symmetric transformation part.
I want to implement something that naturally expands when I click on a widget.
I wonder if basic support is available in the design support library or if it needs to be implemented.
android
Expanding both width and height at the same time can be implemented simply using the ScaleAnimation class. Test by putting the code below in the click listener of a specific view.
ScaleAnimation scaleAnimation = new ScaleAnimation(1f, 2f, 1f, 2f, Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f);
scaleAnimation.setDuration(300);
scaleAnimation.setFillAfter(true);
view.startAnimation(scaleAnimation);
ScaleAnimation
758 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
552 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
554 PHP ssh2_scp_send fails to send files as intended
545 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.