How to adjust app designs in foldable device

  Kiến thức lập trình

I want to set design of app for foldable mobile so how can I set proper design? A foldable mobile gets the design of a large layout. The following dependency are used to set the proper design. Design is to be set up so that dialogs and activities and texts look proper for foldable mobiles. For proper display in my application I have given left and right side padding as in tablet and foldable mobile and other devices that read width and height ratio more than 2:3. So, if the dialog is set, it can appear properly in the mobile as it appears in all other devices.

Searched YouTube and Google but still can’t find it. If anyone has done it, tell me.