I created a custom view that extends the RelativeLayout for the project I'm working on. I think this may be useful to others, so I tried to set it up as a library so that others could find and use it.
I could not find a clear answer on how to do this in Android Studio.
To be clear - I already created the view, and it works fine, I just want to pack it as a library.
Create a new project and just post your code there, or do I need to create a new module? As soon as I do one of these actions, what parts of the manifest and gradle files do I need to change?
Finally, do I need to somehow get the AAR from the files, or is it best to upload it to GitHub and let others clone it?
source share