×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    May 2005
    Location
    Brasov, Romania
    Posts
    431

    How can I determine if the UI layout is right to left or left to right?

    Hello!

    How can I determine if the current UI layout of the device is right to left or left to right? I have some custom drawn components inside my application and I would like to treat it separately e.g. for 'Arabic' layout.

    A solution would be to get current language and make a guess, but this deduction may not be always true.

    Thank you!

  2. #2
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: How can I determine if the UI layout is right to left or left to right?

    There are a two solutions I know of:

    AknTextUtils::CurrentScriptDirectionality
    AknLayoutUtils::LayoutMirrored

  3. #3
    Regular Contributor
    Join Date
    Aug 2004
    Location
    East Coast, USA
    Posts
    192

    Re: How can I determine if the UI layout is right to left or left to right?

    Quote Originally Posted by Paul.Todd
    There are a two solutions I know of:

    AknTextUtils::CurrentScriptDirectionality
    AknLayoutUtils::LayoutMirrored

    ooh nice, i was lliterally just about to look for something like that in the sdk/forums

    thanks Paul :-)

  4. #4
    Regular Contributor
    Join Date
    May 2005
    Location
    Brasov, Romania
    Posts
    431

    Re: How can I determine if the UI layout is right to left or left to right?

    Thank you!
    I will follow your lead.

Similar Threads

  1. Stair case Layout in wtk(2.2)
    By saqib_ch in forum Mobile Java General
    Replies: 0
    Last Post: 2006-04-04, 08:28
  2. How to align entire content from right to left in XHTML
    By deepika123 in forum Browsing and Mark-ups
    Replies: 2
    Last Post: 2005-12-03, 04:37
  3. Replies: 1
    Last Post: 2004-06-28, 09:57
  4. handling a long right key left
    By apitoman in forum Symbian
    Replies: 1
    Last Post: 2004-06-07, 10:56
  5. error while building socket example:No Space Left on device
    By jha_pankaj18 in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2004-03-29, 14:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×