can someone help me how can i use this attribute android:layoutDirection ,
and please don’t refer me to this question What is the status of Right To Left languages on Android? because it doesn’t answer my question!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
layoutDirection is not be published in 4.0,so you cannot use the attr,but if you not be using sdk,but build with all code of android.
first get the Linearlayout in your code when it created,normally after setContent,and using @hide api setLayoutDiredtion(View.LAYOUT_DIRECTION_LOCALE),which define in View.java
,of course,after 4.2 you can use layoutDirection in xml directly