I am creating Harmony Application.
Here I am creating a common dialog and setting a custom component and using component.createAnimatorProperty()
to create animator property and staring it.
When I start animation only the component animates with specific properties but the dialog box(dialog window) is not changing its size according to the inside component changing size.
How to dynamically change its size with inside component size.
// created a custom component for setting it
CommonDialog commonDialog = new CommonDialog(getContext);
commonDialog.setContentCustomComponent(customComponent);
commonDialog.show();
Thread.sleep(1000);
AnimatorProperty animatorProperty = customComponent.createAnimatorProperty().setDuration(100)
.scaleX(1.04f).scaleY(1.04f).scaleXFrom(1).scaleYFrom(1);
animatorProperty.start();