Android 4.2以下版本如何将layoutDirection设置为RTL [英] Android below 4.2 how to set layoutDirection to be RTL

查看:58
本文介绍了Android 4.2以下版本如何将layoutDirection设置为RTL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

试图将布局元素设置为RTL排序

trying to set the layout elements to be RTL ordered

在4.2及更高版本的行中:layoutDirection="rtl"和清单中的android:supportsRtl="true"都可以正常工作.

in 4.2 and above the line: layoutDirection="rtl" and in the manifest: android:supportsRtl="true" is working just fine.

但低于4.2则不行.

有人解决吗?

推荐答案

您将无法执行.它是在4.2的API级别17中添加的,因此较早的版本不支持它.

You won't be able to. It was added to in API Level 17 which is 4.2 so the older versions do not support it.

这篇关于Android 4.2以下版本如何将layoutDirection设置为RTL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆