I've searched on Google,but couldn't find any relevant results.
I also checkedthe official Android docsandthis page(for all the available resources) was all I could find. Therelevant links(to theres/values/
directory) I found on this page were:
- string resources
- style resources
- more resources
These pages don't tell anything about theres/values/public.xml
file.
Here is anexampleI found forthis type of file.
Small snippet
<?xml version="1.0" encoding="utf-8"?> <resources> <public type="attr" name="commentTextColor" id="0xAA010007" /> <public type="drawable" name="add_icon_bl" id="0xAA020000" /> <public type="layout" name="act_date_picker" id="0xAA030001" /> <public type="anim" name="activity_slide_from_bottom" id="0xAA040000" /> <public type="xml" name="pref_menu" id="0xAA050000" /> <public type="raw" name="alert_bell_animation_bl" id="0xAA060000" /> <public type="array" name="taskRepeat" id="0xAA070000" /> <public type="color" name="theme_main_color_bl" id="0xAA080000" /> <public type="string" name="no_internet" id="0xAA0a0001" /> <public type="id" name="page1" id="0xAA0d0015" /> </resources>
As you can see from thetype
attribute,it contains pretty muchall the standard resource typesthat you normally put inseparate directoriesunder theres
directory...
Why would one want to misuse the directories that Android provides and use a single file to store all the values in? Can someone give more information about this?