Samsung Dex resizable window on Android

I am trying to get window resizing to work on Samsung Dex desktop mode. According to Samsung I need t add this:

<activity
      android:resizeableActivity="true">
</activity>

But it does not work if I add it to Advanced APK Packaging options. How should I add this?

I found the answer and now I am able to scale the game window on Dex mode. If anyone is interested, this is the correct way.

278987-annotation-2019-06-06-123008.jpg