Android Question LTR or RTL Form direction

Discussion in 'Android Questions' started by ALBRECHT, Jul 24, 2019.

  1. ALBRECHT

    ALBRECHT Active Member Licensed User

    Hello,

    According to the ltr or rtl language direction coosen by the user,
    Please, is it an easy way to call :

    1: a text or label (with direction settings rtl or ltr)
    2: a complete form direction (label + Edittext) or (Edittext + label),

    example:
    [​IMG]

    or :

    [​IMG]

    Today, according to the language choosen , i have both forms panel but its not easy to update...

    thanks
    Michel
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    You should have two layout files with views with the same names. You can then remove all views and load the correct layout.
     
  3. ALBRECHT

    ALBRECHT Active Member Licensed User

    Ok Erel, that is what i have today (with the 2 panels), but i will try also an other way,
    which consists to switch horizontaly the labels and fields positions according the user language ...
    Thanks
     
  4. Erel

    Erel Administrator Staff Member Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice