• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

How To redirect layout resources on cyanogenmod themes ??

  • Thread starter Thread starter Android Question
  • Start date Start date
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.
 
Back
Top Bottom