Android - Button

> Android

1 - 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.


2 - List

2.1 - 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.


2.2 - Example

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

3 - Documentation / Reference