Using chain size instead of parent size.
Setting click listener with null check.
Updated layouts that use Spring.