Android Custom Square Layout Not Working As Expected Stack Overflow

Android Custom Square Layout Not Working As Expected Stack Overflow