Материал из for iRidium developers
Перейти к: навигация, поиск
Эта страница является переводом страницы Templates. Перевод выполнен на 100%.

Other languages:
English • ‎русский

Setting ready interface templates

Recommendations


the documentation is updated 25.5.2018


Resizing a template for a tablet


The original template for iPad Air Retina 2048×1536

  1. Open .irpz file of the template in iRidium studio.
  2. Resize the screen resolution according to the table.


Modification of template for Order of modification
iPhone 5/5S/SE
1336×640
1. 2048×1536→640×1136 (Without popups and items)
2. Save a project
iPad Pro
2732×2048
1. 2048×1536→2732×2048 (With popups and items)
2. Save a project
3. Open a project as zip-archive and import new images
Tablet
W×H

Accuracy of template resizing
is not guaranteed
При W/H = 2048/1536 = 1,33:
1. 2048×1536→W×H (With popups and items)
2. Correct the height of lists in TABLET_POPUPS folder
3. Save a project

При W/H < 2048/1536 = 1,33:
1. 2048×1536→W×H1 (With popups and items),
где H1 = 1536 × W / 2048 (round up to an integer value)
2. W×H1→W×H (Without popups and items)
3. Correct the height of lists in TABLET_POPUPS folder
4. Save a project

При W/H > 2048/1536 = 1,33:
1. 2048×1536→W1×H (With popups and items),
где W1 = 2048 × H / 1536 (round up to an integer value)
2. W1×H→W×H (Without popups and items)
3. Correct the height of lists in TABLET_POPUPS folder
4. Save a project


Resizing a template for a smart phone


The original template for iPhone 5/5S/SE 1336×640

  1. Open .irpz file of the template in iRidium studio.
  2. Resize the screen resolution according to the table.


Modification of template for Order of modification
iPad Air Retina
2048×1536
1. 640×1136→2048×1536 (Without popups and items)
2. Save a project
iPhone 6, 7, 8
1334x750
1.640×1136→750×1331 (With popups and items)
2. 750×1331→750×1334 (Without popups and items)
3. Correct the height of lists in PHONE_POPUPS folder
4. Save a project
5. Open a project as zip-archive and import new images
iPhone 6 Plus, 7 Plus, 8 Plus
1920×1080
1. 640×1136→1080×1917 (With popups and items)
2. 1080x×1917→1080×1920 (Without popups and items)
3. Correct the height of lists in PHONE_POPUPS folder
4. Save a project
5. Open a project as zip-archive and import new images
iPhone X
1125×2436
1. 640×1136→1125×1997 (With popups and items)
2. 1125×1997→1125×2436 (Without popups and items)
3. Correct the height of lists in PHONE_POPUPS folder
4. Save a project
5. Open a project as zip-archive and import new images
Smart phone
W×H

Accuracy of template resizing
is not guaranteed.
При W/H = 1136/640 = 1,78:
1. 1336×640→W×H (With popups and items)
2. Correct the height of lists in PHONE_POPUPS folder
3. Save a project

При W/H ≠ 1136/640 = 1,78:
1. 1336×640→W×H1 (With popups and items),
где H1 = 1136 × W / 640 (round up to an integer value)
2. W×H1→W×H (Without popups and items)
3. Correct the height of lists in PHONE_POPUPS folder
4. Save a project