기존 package\res\Value\strings.xml에서 선언된 문구에서 리소스에서
추가적으로 package\test_Model\res\Value\strings.xml를 이용하여 Resource Value의 값을 추가할 경우.

사용법
<add-resource type="string" name="no_action"></add-resource>
<string name="no_action">No</string> 

예>
======================================================= 
package\res\Value\strings.xml

<String id="test1"> test 1</String>
<String id="test2"> test 2</String>
<String id="test3"> test 3</String>
======================================================= 


======================================================= 
package\test_Model\res\Value\strings.xml
<add-resource type="string" name="test4"></add-resource>
<String id="test4"> test 4</String>

=======================================================

위와 같이 사용하게 되면 실질적으로는 다음과 같음.

======================================================= 

Resource : Strings.xml

<String id="test1"> test 1</String>
<String id="test2"> test 2</String>
<String id="test3"> test 3</String>
<String id="test4"> test 4</String>
=======================================================

+ Recent posts