I've searched on Google, but couldn't find any relevant results.
I also checked the official Android docs and this page (for all the available resources) was all I could find. The relevant links (to the res/values/
directory) I found on this page were:
These pages don't tell anything about the res/values/public.xml
file.
Here is an example I found for this 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 the type
attribute, it contains pretty much all the standard resource types that you normally put in separate directories under the res
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?