androidx / constraintlayout

ConstraintLayout is an Android layout component which allows you to position and size widgets in a flexible way
Apache License 2.0
1.07k stars 177 forks source link

[Grid] fix setter methods #615

Closed jswong65 closed 2 years ago

jswong65 commented 2 years ago

In this PR

  1. Fixed existing setter methods.
  2. Added new getter and setter methods for Horizontal Gaps and Vertical Gaps.
  3. Removed a redundant button in activity_main.xml
  4. Added a responsive example (responsive.xml) to demonstrate setter methods.

Buttons in the bottom of the layout can toggle different attributes.