Default How to change activity window size?

Is the activity window size determined with in the apk or the framework?
Is it possible to change activity window size without modifying APKs or the framework?
Even through an xposed module?