Skip to main content

DyteButton

A button that follows Dyte's Design System.

<dyte.io.uikit.view.button.DyteButton
android:gravity="center"
android:id="@+id/btn_id"
android:layout_width="200dp"
android:layout_height="48dp"
android:text="Text on Button"
app:dyte_btn_variant="primary"
/>

Button variants

There are 3 variants supported, can be set using xml.

app:dyte_btn_variant="danger"
app:dyte_btn_variant="primary"
app:dyte_btn_variant="secondary"