set Card Brand Icon Gravity
Specifies how to align the icon by the view’s x-axis. To specify gravity programmatically you could use android Gravity class.
Parameters
gravity
Specifies how to align the icon by the view’s x-axis.