Android: Adjust sizes programmatically according to screen size

Viewed 4520

Is it a bad habit to get the width and hight of the device and set images/button sizes programmatically accordingly.

I find it inaccurate to use different folders for layouts and densities as it gives me wierd results on some devices (on top of the inacurancies)

Your experience is appreciated. Thank you

2 Answers
Related