Android - Button

About

There are three standard types of buttons:

  • Floating action button: A circular material button that lifts and displays an ink reaction on press.
  • Raised button: A typically rectangular material button that lifts and displays ink reactions on press.
  • Flat button: A button made of ink that displays ink reactions on press but does not lift.

Button

List

Floating Button

A Floating Action Button is a android/widget/Checkable view distinguished by a circled icon floating above the UI, with special motion behaviors.

Example

<Button android:id="@+id/button"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Hello, I am a Button" />

Documentation / Reference


Powered by ComboStrap