Symbian3/SDK/Source/GUID-B02C762B-C452-4184-ABEA-4753E6CD47D2.dita
changeset 8 ae94777fff8f
parent 7 51a74ef9ed63
child 13 48780e181b38
equal deleted inserted replaced
7:51a74ef9ed63 8:ae94777fff8f
    12 <concept id="GUID-B02C762B-C452-4184-ABEA-4753E6CD47D2" xml:lang="en"><title>Scalability</title><prolog><metadata><keywords/></metadata></prolog><conbody>
    12 <concept id="GUID-B02C762B-C452-4184-ABEA-4753E6CD47D2" xml:lang="en"><title>Scalability</title><prolog><metadata><keywords/></metadata></prolog><conbody>
    13 <p>The term <i>scalability</i> refers to the ability of an application
    13 <p>The term <i>scalability</i> refers to the ability of an application
    14 UI to function as designed in mobile devices with different screen resolutions
    14 UI to function as designed in mobile devices with different screen resolutions
    15 or orientations. For example, in the figure below, the UI scales to fit both
    15 or orientations. For example, in the figure below, the UI scales to fit both
    16 portrait and landscape orientations.</p>
    16 portrait and landscape orientations.</p>
    17 <fig id="GUID-D889D539-AD96-4E67-A52A-EC14FF98E299"><title>Scaling</title><image href="GUID-A69D2707-CB47-42C2-A6E9-5FB9BD86A30B_d0e46132_href.png"/></fig>
    17 <fig id="GUID-D889D539-AD96-4E67-A52A-EC14FF98E299"><title>Scaling</title><image href="GUID-A69D2707-CB47-42C2-A6E9-5FB9BD86A30B_d0e40575_href.png"/></fig>
    18 <p>When you enable scaling in your application, you allow your application
    18 <p>When you enable scaling in your application, you allow your application
    19 to support the different display sizes, resolutions, and layouts for different
    19 to support the different display sizes, resolutions, and layouts for different
    20 devices based on the Symbian platform. The Symbian platform provides APIs
    20 devices based on the Symbian platform. The Symbian platform provides APIs
    21 and other support to enable scaling in applications. Some scaling issues are
    21 and other support to enable scaling in applications. Some scaling issues are
    22 handled by the application framework if support is enabled, while other issues
    22 handled by the application framework if support is enabled, while other issues
    31 <ul>
    31 <ul>
    32 <li><p>Layout information should not be hard-coded.</p>
    32 <li><p>Layout information should not be hard-coded.</p>
    33 <itemgroup>
    33 <itemgroup>
    34 <p> The Symbian platform provides the <parmname>AknLayoutUtils</parmname> class
    34 <p> The Symbian platform provides the <parmname>AknLayoutUtils</parmname> class
    35 for building layouts from resource files.</p>
    35 for building layouts from resource files.</p>
    36 <p>Note that you also need to <xref href="GUID-DD15F24B-0786-4531-A6C5-A5E70EBE2732.dita">override <parmname>CCoeControl::HandleResourceChange()</parmname> and <parmname>CEikAppUi::HandleResourceChangeL()</parmname></xref> in your
    36 <p>Note that you also need to <xref href="GUID-DD15F24B-0786-4531-A6C5-A5E70EBE2732.dita">override <apiname>CCoeControl::HandleResourceChange()</apiname> and <apiname>CEikAppUi::HandleResourceChangeL()</apiname></xref> in your
    37 application to draw your application again in the event that the orientation
    37 application to draw your application again in the event that the orientation
    38 of the display changes.</p>
    38 of the display changes.</p>
    39 </itemgroup>
    39 </itemgroup>
    40 </li>
    40 </li>
    41 <li><p>Scalable fonts should be used.</p>
    41 <li><p>Scalable fonts should be used.</p>