If you see the "y" which was 84 of textfield in the initial approach, it is not the same when you changed the item from top to bottom and provided the multiplier. The "y" changed to something close to 72 or 73 if we take your SE as the base design screen. So second approach of adding a transparent view is always preferable. Also, try the initial approach in some other design board like 14 pro, it will fail because of miscalculations from the bottom safe area and top status bar. The initial approach for leading and trailing is fine but it can mess when this change to landscape
@vigneshwaran6348
4 жыл бұрын
very very thanks sir, i am more about confusing dynamic leading and traling, but you actully make it simple. Thanks a lottt sir
@developer5040
4 жыл бұрын
Thanks Vignesh
@ohanzDehyper
4 жыл бұрын
Thanks for videos bro! Keep doing more..
@developer5040
4 жыл бұрын
Thanks Daniel
@aishwaryabansal917
3 жыл бұрын
Thankx for the video.Can you please explain the same scenario for portrait and landscape both, dynamic leading trailing.
@ITSDMSTLE
4 жыл бұрын
Thanks Sir. But I have one question. How should I keep the space between two button same for every screen size..I am not getting ti how to do?please suggest me the solutionAwaiting for your positive response.
@dpkArt
4 жыл бұрын
why we use leading for left and traling for right?
@adviceforidevice4536
4 жыл бұрын
So basically you constrained the second textfield independently relative to the superview, so it doesn't need to be connected with the first text field?
@bartuakman2529
4 жыл бұрын
I think the answer is yes, because when you constrained with superview for first textfield , it would be relative to superView height property is that make our text field is adjusted for diffrerent screen sizes, after that if you connect second text field with the first, you will get stuck because spacing them is not dynamic that's why he offer two or more options to show that.
Пікірлер: 10