As android has lots of variety in device size and resolution , you shouldn’t do whole design programmatically. you should follow design guideline . It will make your work easier though need multiple layout files. If your app is very small then try to use relative layout more to avoid design distortion . But I would like to suggest about multiple device support using design guideline. you can follow this google developer link it will minimize your work rather than using more xml files .
0
solved Responsive Android Design