'How to create a resizable emulator in Android Studio Chipmunk

With the Android Studio Chipmunk release 2021.2.1 it should be possible to create a resizable emulator as it is described here: https://developer.android.com/about/versions/12/12L/get#resizable-emulator.

But I am unsure how to create one. Where can I find the resizable device definition in the Device Manager? There is no such button, as you can see in my screenshot below. I also checked the Hardware Profile and the System Image section, but I could simply not find it.

enter image description here



Solution 1:[1]

strong textYou can provide max or min component propeties, somethingk like:

<"ion-datetime min="1994-03-14" max="2099-12-09" ></ion-datetime">

Dynamic min and Max Values:

TS:

minYear = '2021';
maxYear = '2025-10-31'; // based on your calculations;

HTML:

<"ion-datetime [min]="minYear" [max]="maxYear" ></ion-datetime">

Sources

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

Source: Stack Overflow

Solution Source
Solution 1 Najam Us Saqib