Language Specific layout for android

后端 未结 3 1114
独厮守ぢ
独厮守ぢ 2020-12-31 12:15

I know that we can display multiple languages support for our android application with different values folder example values-en , values-ar.

My question is can we

3条回答
  •  天命终不由人
    2020-12-31 12:34

    can we change our layout style when there is change of language.

    Yes. You can provide different layouts according to the language user chooses. This is clearly described in the Providing Resources documentation.

    Infact a specific layout qualifier is provided for supporting right-to-left-directed languages called res/layout-ldrtl.

    P.S: This attribute is only supported from API 17.

提交回复
热议问题