【发布时间】:2014-12-11 16:40:57
【问题描述】:
如何让交通区域为红色,交通灯为黄色的路径,如何处理?enter image description here
【问题讨论】:
标签: android google-maps google-polyline
如何让交通区域为红色,交通灯为黄色的路径,如何处理?enter image description here
【问题讨论】:
标签: android google-maps google-polyline
InputContext ic = InputContext.getInstance();
Locale locale = ic.getLocale();
现在有了像 en_US 这样的当前语言环境。
System.out.println(locale.getLanguage()); // ar/en
可以通过以下方式切换键盘区域设置:
if (!ic.selectInputMethod(locale)) {
// Failed to switch...
}
【讨论】:
getLocale() 返回语言环境。