Effects

  • Description

      Efectss

      The effects bring visual style to any component, we simply have to select to which component we want to apply the Style procedures and these will apply.

  • Procedures

    • Set Padding
    • This method allows us to add filler to our components.
    • Set Margin
    • This method allows us to add margins to our components.
    • Set Elevation
    • This method allows us to add shadows to our components, besides to modify its edges.
    • Set drawable
    • This method allows you to modify the edges and even create a circle in the bottom of the component.
  • Properties

    • Background color
    • Allows you to put a background color for the component.
  • Example

    • Adding margins and filling to our component
    • Modifying the color depending on whether the box is checked
    • As a result of selecting the box, we get a box of check with shadows, background color and rounded edges.