O'Reilly logo

Building Android UIs with Custom Views by Raimon Ràfols Montané

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Open sourcing our custom view

Open sourcing a custom view or, alternatively, an Android library, is pretty easy and straightforward. You need to make sure you perform some additional steps but the process itself is very simple.

We've been using GitHub to share the source code of the examples of this book. This is not a coincidence. GitHub is one of the most widely used tools for sharing source code and open source libraries and projects. It's also the tool we will recommend and will use in this chapter to explain how to publish our custom view.

First things first; if we don't have a GitHub account, we've to register ourselves and create it. Creating an account is free as long as we want to host only public repositories or publicly accessible ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required