'DIfferent view width for phones and tablets

Trying to avoid creating a specific layout for tablets. Maybe there is some solution to achieve such results as on the images with ConstraintLayout or something like that

Screen for a phone:

enter image description here

The same screen for a tablet:

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source