I have over 50 XML layouts / pages and you need a way to determine the "base" font size for each type of screen (small / medium / large). In fact, I need to specify other things, such as dimensions for linear layouts.
In short, I want to distinguish sizes between small / medium / large devices.
1) Would I programmatically resize text in styles.xml at run time?
This option is convenient because I would not need to compose 150+ XML layouts.
2) Would I create three separate XML layouts for three sizes?
I would need to copy + paste each style (* .small, * .med, * .large) ... this sound, as if it would take a lot of work.
Any comments?
source
share