How to easily iterate over all strings within the “strings.xml” resource file?

后端 未结 4 1523
刺人心
刺人心 2021-01-22 08:36

I created an application that uses the TTS engine to send feedback to the user. With the aim to improve the performance, I used the synthesizeToFile and addSp

4条回答
  •  悲&欢浪女
    2021-01-22 08:59

    In all my projects, i just observed that the value of strings in R.java starts with 0x7f050000 and it counts upwards, like 0x7f050001, 0x7f050002, 0x7f050003,....

    You could just ++ them :D

    Hope it helps :)

提交回复
热议问题