Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
markormesher committed Feb 7, 2018
1 parent d6a3d39 commit 40486b9
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,21 @@ The speed-dial menu can be manually opened and closed with `fab.openSpeedDialMen

### Access to Underlying Views

The FAB's key underlying views can be accessed using the three methods detailed below:
The FAB's key underlying views can be accessed using the three properties/methods detailed below:

// Java
fab.getCardView() // the card behind the button itself
fab.getContentCoverView() // the view that obscures content behind the speed-dial menu
fab.getIconWrapper() // the wrapper used to place icons in the button

// Kotlin
fab.cardView
fab.contentCoverView
fab.iconWrapper

The card view is implemented as a `CardView` on SDK 21+ and a `LinearLayout` on SDK 20 and below.

The content cover view and icon wrapper are implemented as a `View` and `LinearLayout` respectively on all SDKs.

### Note: Click Action Priority

Expand Down

0 comments on commit 40486b9

Please sign in to comment.