My Project Screenshot: My Project
My Target Design: My Target
I have created a (right to left) navigation drawer. It\'s working fine but when I\'m trying to move
Need to change following in your code.
@TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR1) //call this before super.onCreate
private void forceRtlIfSupported() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
getWindow().getDecorView().setLayoutDirection(View.LAYOUT_DIRECTION_RTL);
}
}
In
AndroidManifiest.xml
android:supportsRtl="true"
NOTE : This will work from API 16 and above version.