Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
markormesher committed May 25, 2017
1 parent ddc338c commit 74fcfbe
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Some of the component views that make up the FAB can be accessed (useful for pos
|Method | Description|
|:--- | :---|
|`RelativeLayout getFabContainer()` | Gets the container layout used for the whole FAB arrangement.|
|`CardView getCardView()` | Gets the `CardView` used for the actual "button" of the FAB.|
|`ViewGroup getButton()` | Gets the `ViewGroup` used for the actual "button" of the FAB. On SDK >= 21 this can be safely cast to `CardView`.|

### Speed-Dial Menus

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,16 @@ public RelativeLayout getFabContainer() {
return fabContainer;
}

/**
* Gets the {@code ViewGroup} used for the actual "button" of the FAB.
*
* @return the {@code ViewGroup} used for the actual "button" of the FAB
* @deprecated Use {@code getButton()} instead.
*/
public ViewGroup getCardView() {
return getButton();
}

/**
* Gets the {@code ViewGroup} used for the actual "button" of the FAB.
*
Expand Down

0 comments on commit 74fcfbe

Please sign in to comment.