I have an application that all of it's layout are Left to Right.I want to add a new language to the app that is a RtoL language.my application get some info from the server at the first load.I want when server parameter RtoL is true app layouts change to Right to Left automatically.
I tried this code:
RelativeLayout.LayoutParams lp = new RelativeLayout.LayoutParams(...)
but RelativeLayout does not have ALIGN_PARENT_Right !
Im using minSdkVersion="8" targetSdkVersion="18 .I want a solution that devices with android version below jelly been support it.