3. Programmatically Change Margin of Views

Опубликовано: 20 Октябрь 2024
на канале: IJ Apps
3,358
38

In this tutorial, I cover how to programmatically change the margin of views in Java.
You'll learn how to change how to move a view "up" the screen and bring it back down!

This tutorial is part of a series on changing view attributes programmatically. View all the lessons here:    • Changing Views Programatically  
GitHub Repo 4 code: https://github.com/IJ-Apps/Changing-V...

Instagram:   / ij_apps  
Join the IJ Apps Discord!   / discord  

New App on the Google Play Store!
https://play.google.com/store/apps/de...
The E-rrigation app allows you to save money and cut down water usage by optimizing sprinkler placement before you put the sprinkler system in place.
Check it out and leave a review!

Check out my Face Analyzer app on the Google Play Store: https://play.google.com/store/apps/de...

----------------
Subscribe to IJ Apps to stay up to date when new videos are released and share the channel with friends!

IJ Apps Website: https://ij-apps.wixsite.com/android

*IJ Apps GitHub Page: https://github.com/IJ-Apps
*Personal GitHub Page with Cool and Complex Projects: https://github.com/ishaanjav

0:00 Example
0:16 Get the code from GitHub
0:42 Changing the margin of the view
2:11 Running the app