class BottomAppBarHandler extends ViewHandler {

  @Override
  @Language("XML")
  @NotNull
  public String getXml(@NotNull String tagName, @NotNull XmlType xmlType) {
    return new XmlBuilder()
      .startTag(tagName)
      .androidAttribute(ATTR_LAYOUT_WIDTH, VALUE_MATCH_PARENT)
      .androidAttribute(ATTR_LAYOUT_HEIGHT, VALUE_WRAP_CONTENT)
      .attribute(ATTR_STYLE, "@style/Widget.MaterialComponents.BottomAppBar.Colored")
      .androidAttribute(ATTR_LAYOUT_GRAVITY, GRAVITY_VALUE_BOTTOM)
      .endTag(tagName)
      .toString();
  }

}