检测"左手模式"设置 [英] Detect "left handed mode" setting

查看:148
本文介绍了检测"左手模式"设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在找到这些文档: TelephonyManager ,<一个HREF =htt​​p://developer.android.com/reference/android/$p$pference/package-summary.html相对=nofollow> preference 和其他人,但我无法找到任何东西有用的相关左手布局。

I'm looking into these docs: TelephonyManager, Preference and others, but I cannot find anything useful related to Left handed layout.

据我所知的Andr​​oid 2.3有这样的设置。现在我不能确定,如果它是pcated与否德$ P $。有没有一种方式,如果左手模式设置为检测?

As far as I know Android 2.3 had that setting. Right now I am unsure if it was deprecated or not. Is there a way to detect if "left handed mode" is set?

左手模式的可能是类似的强制RTL布局方向的IN的开发者选项的。

Left Handed Mode is possibly similar to "Force RTL Layout Direction" In "Developer Options".

推荐答案

个人Android应用开发者可能会增加切换到左手模式,将改变UI更好地格式化为谁持有手机和设备的用户的选择在那里左手。我是一个积极的左撇子权的代言人的应用世界呼出开发谁可以很容易地更好地适应左撇子。至于一个障碍/无障碍设置有针对Android上没有电流设置。实际上有在开发人员选项一RTL布局设置就可以通过的这些说明,以及Chrome和谷歌地图应用程序中使用它。我想一些更多的研究将需要进行检查,看到它是如何开发人员选项,而不是一个辅助功能选项。我的猜测是,它类似于获取设备的区域设置的和调整。我不知道,如果你能找到的资源开发方案虽然。 (注意到充分披露,我最后一次编程的机器人是在几个月前。)

Individual Android app developers may add the option to switch to a "left handed mode" that will alter the UI to be better formatted for users who hold phones and devices in there left hands. I am an active "Lefty rights" advocate in the app world and call-out developers who could easily better accommodate left handed people. As far as a handicap/accessibility setting there is no current setting on Android for that. There is actually a RTL layout setting in "Developer options" you can enable it through these instructions, and apps like Chrome and Google Maps use it. I would think some more research would need to be done to check for that seeing how it's a developer option and not an accessibility option. My guess would be it is similar to getting the device locale and adjusting. I'm not sure if you could find the developer options in resources though. (Noting for full disclosure, the last time I programmed android was a few months ago.)

我会买一个手机,有RTL /左撇子模式虽然完美实现。

I would buy a phone that had RTL/ Lefty Mode perfectly implemented though.

希望这有助于一点。

有一个真棒一天,很好!

Have an awesome day, and be well!

这篇关于检测&QUOT;左手模式&QUOT;设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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