I am trying to make a launcher application that launches some predefined set of apps in the multi-window Free form mode, and I have made some progress in doing that so far. However I am working on a new use case where I need to restrict the resizing capacity of a newly launched window to either horizontal/vertical direction but not in both.
Presently both the activity windows can be freely expanded/shrunk in both horizontal/vertical directions. However I want to restrict to any one of them. I cannot find any means to do this yet, and would really appreciate any help. Thanks in advance.