What is _not_ a good way to reuse Android code?
_not_
Use a common Gradle module shared by different Android projects.
Prefer to build activities instead of fragments.
Prefer to build custom views or fragments over activities.
Break down UI layouts into common elements and use <include/> to include them in other layout XML files.
<include/>