If you want to dynamically resize and position elements, you'll have to get the actual screen resolution, and then calculate a resize ratio based on some "base" resolution value.
You can get the screen dimensions with
lib.current.stageWidth
lib.current.stageHeight
Remembering that for these values to work, you'll have to set your window dimensions to 0 on android on your project config file.