【Android】Configuration中的locale已过时

Configuration中有很多属性的设置,在编译时提示错误说locale已过时这个是设置语言的

使用最新的方法如下

configuration.setLocale(locale);

posted @ 2022-11-14 18:38  Sqsdhc  阅读(96)  评论(0编辑  收藏  举报