refer to android library project xml resource in application xml resource

markt

New Member
I have an Adnroid library project that defines XML resource.Let's use a selector drawable as an example (but I have problems with strings, styles, etc).LibProject/res/drawable/button_selector.xml ... defined a selectorLibProject/res/layout/view.xml .... uses the selector, with no problems\[code\] `<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/sign_up_fly_buttons" android:background="@drawable/button_selector"/>`\[/code\]Then I want to refer to it in a layout in my AppAppProject/res/layout/view.xml ...\[code\]`<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/sign_up_fly_buttons" android:background="@drawable/button_selector"/>`\[/code\]But in the App it won't compile or let me reference it. I've tried various namespace incantations to try and refer to it with no luck...Any ideas?
 
Back
Top