Add force screen adaptation to Resolution Policy
Add force screen adaptation to Resolution Policy
Feature #3515 [New]
- Assignee set to pandamicro
- Target version set to Unplanned
The code has been implemented, but test on android failed
Status: | New | |
---|---|---|
Start date: | 2013-12-26 | |
Priority: | Normal | |
Due date: | ||
Assignee: | pandamicro | |
% Done: | 0% |
|
Category: | - | |
Target version: | Unplanned |
Now the container’s strategy of resolution policy resize the container in its container html dom element, so if this element is a child of body, it will be adapted for the screen size, but if it’s a child of a div element. Our resolution policy only adapte to the div.
We should add two more container’s strategy:
EQUAL_TO_WINDOW
PROPORTION_TO_WINDOW
(Old strategies have been renamed to EQUAL_TO_FRAME and PROPORTION_TO_FRAME)