I was wondering how everyone reuses Android layouts and components. Are you making an old copy / pasting existing code into the project or is there a way to include layouts and components in the jar file for reuse?
EDIT: For example, if I have a list view, maybe I have a different view that I use for each list item in the list, it may have an icon, or there may be a title bar and then a line with more details. Although itβs not easy to create, it would be nice to create it once a whole and reuse it in different projects.
source share