0
私のアプリは、さまざまな言語をサポートしており、英語がデフォルトのものであるとのstrings.xmlに保存され、そしてだから、this link削除されたエントリが表示なっている
If the supported language strings.xml misses any string value, android always loads the missing strings from default strings.xml file i.e values/strings.xml
So it is mandatory that the default stings.xml file should contains all the string values that app uses. Other wise the app will crash with Force Close error.
によると、私は、システムの言語ロケールを設定しますドイツANと英語とドイツ語の両方
<string name="activity_login_validate_button" formatted="false">Login</string>
ののstrings.xmlから次のエントリを削除し、私はアプリケーションを実行すると、以前の引用文で述べたように、私はそれがクラッシュすると予想、それはせずに正常に動作しますクラッシュ。
英語の "default"とDeutschのstrings.xmlから削除されているにも関わらず、アプリケーションが「ログイン」という単語をどのように表示したか説明してください。
注:他の言語のstring.xmlを完全な文字列値に