I was wondering what the proper way of changing things in a layout is. For example, show or don't show some views.
Right now I'm making every button I need in XML and using java to make them VISIBLE or GONE according to the preferences. This works, however I was wondering if this is the best way. I have to make a lot of XML code for the same buttons over and over. Except now they are in different places.
So I was wondering if maybe there are better ways. Would anybody like to enlighten me?
Cheers,
Daan