Android的发现code采用了Android Studio的所有硬盘codeD字符串采用了、字符串、硬盘、发现

2023-09-07 00:20:51 作者:心中曾经难舍弃

我想找到我的code中所有硬件codeD字符串将其移动到的strings.xml 文件为未来的本地化。如:

I want to find all hard-coded strings in my code to move them into strings.xml file for future localization. Such as :

Toast.makeText(context,"Hardcoded text",LENGTH_SHORT).show();

我使用Android工作室。

I using Android Studio.

推荐答案

This答案没有得到我的任何结果。

This answer not getting to me any result.

不过,对于未来的搜索:

Nonetheless, for future searches :

在Android的工作室1.2.2增加了新的硬codeD字符串(不是硬codeD文字),这让我完美的搜索结果。

In Android Studio 1.2.2 added new Option Hardcoded strings(not a Hardcoded text) and this getting to me perfect searches result.