We have a android app written in Delphi 7.
What you get delivered is a form with a predefined layout with custom designed buttons, background, slides, and panels.
Your project is to write source code which should do the following:
As you all know android phones/tablets comes with a LOT of different screensizes. Too many to static define a layout for every screen size.
Your aim is to:
1. upon startup of the app detect the screensize of the particular android device the app is running on.
2. replace and resize all objects on the form according to ratio of the screensize so the original layout is changed no matter what screensize the device is on
Required to documents all procedures and function according to doxygen format
Speed of the app:
The Auto layout features may not impact apps performance
2. replace and resize all objects on the form according to ratio of the screensize so the original layout is not changed no matter what screensize the device is on
maybe it is possible to auto detect the screen size and settings of the placement and size of the objects once, store it on the device so next time the app is started the procedure is shorter to place all object on right place
edit: Delphi version is XE7