Saturday, 27 September 2014

Add own project as namespace in Android layout xml



I have my custom View inside com.example.app.views package and let's say it is called CustomView. What I would like to achive is to add my own project as namespace in xml so I don't need to write:



<com.example.app.views.CustomView />


but just:



<CustomView />


Is it possible? Can I do it?


No comments:

Post a Comment