android - Define and Populate a Layout for multiple activities -
I have an app where I have to add an informational box to many axiom. This box basically happens with Is that a way to define the whole box in a class and I need it every time? I could copy-paste the Layout XML code and Layou populae methods for each activity, but I want to avoid it (I really hate the code). Why not use LayoutView different
TextView and
ImageView .
pieces ? They are reusable.
Comments
Post a Comment