A
Android Question
Guest
hey guys ....
recently I started making themes for theme chooser for my Samsung Galaxy s2 "i9100" running on CM 10.1 it is kind of easy but the one thing I struggled with was redirecting resources in the res/layout folder. what I did is properly assigned the target app package name with its corresponding XML file and in the XML file the code is
"<resource-redirection>
<item name="layout/target_file">@layout/replacing_file</item>
<item name="drawable/target_file">@drawable/replacing_file</item>
</resource-redirection>
what happens is the drawable is successfully redirected but the layout isn't... ???
one other thing I did is I properly assigned ids, strings, colors ... the layout file referring to.
recently I started making themes for theme chooser for my Samsung Galaxy s2 "i9100" running on CM 10.1 it is kind of easy but the one thing I struggled with was redirecting resources in the res/layout folder. what I did is properly assigned the target app package name with its corresponding XML file and in the XML file the code is
"<resource-redirection>
<item name="layout/target_file">@layout/replacing_file</item>
<item name="drawable/target_file">@drawable/replacing_file</item>
</resource-redirection>
what happens is the drawable is successfully redirected but the layout isn't... ???
one other thing I did is I properly assigned ids, strings, colors ... the layout file referring to.