Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 04:19, 14 May 2008.

How to find out the correct location for softkey labels

From Forum Nokia Wiki

The Command Button Array (CBA) is usually located at the bottom of the screen in S60 devices. If a device supports switching between portrait and landscape orientations, the location of the CBA is not fixed (in relation to screen). While the control pane in the S60 UI is always positioned correctly, scalable applications that draw their own custom labels for softkeys should be aware of the correct location for the CBA.

In some phones (e.g., the Nokia E70), the softkeys will be on the right side of the screen when in landscape mode.

If an application needs to adjust its UI (softkeys positions) based on orientation, the CBA location can be retrieved with

AknLayoutUtils::CbaLocation();

Return value is one of the following:

enum TAknCbaLocation
 
        {
 
        EAknCbaLocationBottom, // landscape and portrait
 
        EAknCbaLocationRight,  // only landscape
 
        EAknCbaLocationLeft    // only landscape
 
        };

More information: TSS000582

Related Discussions
Thread Thread Starter Forum Replies Last Post
CAknSearchField softkey applezzql Symbian User Interface 0 2007-10-11 04:35
makesis error while generating sis file jowsaki Symbian Tools & SDKs 9 2004-11-23 17:26
JSR 179 Mobile registration info (newbie) WonderP Mobile Java General 1 2007-02-28 00:41
CEikLabel Problem ? ? ? Asif Nazir Symbian User Interface 3 2007-05-08 10:45
How to change SoftKey label? akawits General Symbian C++ 6 2003-07-09 05:16
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX