Android Studio - Include ResourceBundles in Module

前端 未结 4 542
陌清茗
陌清茗 2020-12-20 19:35

I currently switched from eclipse to android studio. In eclipse I had 2 projects, one android application project and one java project which I included in the android projec

4条回答
  •  心在旅途
    2020-12-20 20:13

    I never tried but Intellij comes with very good integration of Resource Bundles.

    Refer this link

    http://www.jetbrains.com/idea/webhelp/resource-bundle.html

    From the link above

    Resource bundle is a set of properties files that have same base name with different language-specific suffixes. A resource bundle contains at least two properties files with similar base name, for example file_en.properties and file_de.properties.

    IntelliJ IDEA recognizes properties files, and if two or more properties files with the names that differ only in suffix, are encountered, joins them into a resource bundle. The new node Resource Bundle '(base name)' appears in the Project Tool Window:

    resource Bundles

    You can have these files inside your module or on root as well.

提交回复
热议问题