strings.xml中的运行时修改 [英] run time modification of strings.xml

查看:132
本文介绍了strings.xml中的运行时修改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

难道possbile写串到从code string.xml?如果是请张贴code为相同。
我想用同样的string.xml为所有语言字符串在想要在运行时修改

Is it possbile to write String into string.xml from the code? if yes please post the code for the same. I want to use the same string.xml for the all the language strings at wanted to modify at run time

推荐答案

如果您有动态字符串取决于区域设置或语言,为什么不试试呢存储到SQL精简版?

if you have dynamic string depends on locale or language why not try storing it into SQL Lite ?

这篇关于strings.xml中的运行时修改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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