Is there a way to have a layout with the 4 square buttons. The buttons should scale based on the width of the screen. I might have come across some ways of doing this dynamically in code, but is there a way to do it in the xml layout directly?
I'm new to the new ConstraintLayout in Android, but if it is possible using that, I'd appreciate being pointed to in the right direction to try it out. Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…