Android How to add a custom xml file in res/values and how to register the customvalues.xml with the system

后端 未结 3 593
我在风中等你
我在风中等你 2020-12-10 10:53

I want to add a custom xml which having URLs to the res/values folder. I can add the file but how to read its content by getResources() ?

3条回答
  •  南方客
    南方客 (楼主)
    2020-12-10 11:36

    Yes you can have a custom file: I just did this a couple of times. 1) Make a new xml file. 2) Use file format as as wrapper for yours Example:

    
    
        
            
                
                    
                        en-UK
                    
                    
                        English (UK)
                    
                
            
        
    
    

提交回复
热议问题