Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 1 | <html devsite="true"> |
| 2 | <head> |
| 3 | <title>FloatingActionButtonElevation</title> |
| 4 | {% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} |
| 5 | {% include "_shared/_reference-head-tags.html" %} |
| 6 | </head> |
| 7 | <body> |
Tiem Song | 6f896de | 2022-11-03 14:55:52 -0700 | [diff] [blame^] | 8 | <div id="metadata-info-block"></div> |
Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 9 | <h1>FloatingActionButtonElevation</h1> |
Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 10 | <p> |
Owen Gray | 22f2057 | 2022-08-08 13:48:02 -0400 | [diff] [blame] | 11 | <pre>interface <a href="/reference/kotlin/androidx/compose/material/FloatingActionButtonElevation.html">FloatingActionButtonElevation</a></pre> |
Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 12 | </p> |
| 13 | <hr> |
| 14 | <p>Represents the elevation for a floating action button in different states.</p> |
Paweł Marks | 4724d6f | 2021-12-22 17:11:51 +0100 | [diff] [blame] | 15 | <p>See <code><a href="/reference/kotlin/androidx/compose/material/FloatingActionButtonDefaults.html#elevation(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)">FloatingActionButtonDefaults.elevation</a></code> for the default elevation used in a <code><a href="/reference/kotlin/androidx/compose/material/package-summary.html#FloatingActionButton(kotlin.Function0,androidx.compose.ui.Modifier,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.material.FloatingActionButtonElevation,kotlin.Function0)">FloatingActionButton</a></code> and <code><a href="/reference/kotlin/androidx/compose/material/package-summary.html#ExtendedFloatingActionButton(kotlin.Function0,kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Function0,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.material.FloatingActionButtonElevation)">ExtendedFloatingActionButton</a></code>.</p> |
Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 16 | <h2>Summary</h2> |
| 17 | <div class="devsite-table-wrapper"> |
| 18 | <table class="responsive"> |
| 19 | <thead> |
| 20 | <tr> |
Andrea Falcone | 80f1a8f | 2022-08-23 11:22:33 -0400 | [diff] [blame] | 21 | <th colspan="100%"><h3>Public functions</h3></th> |
Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 22 | </tr> |
| 23 | </thead> |
Andrea Falcone | 80f1a8f | 2022-08-23 11:22:33 -0400 | [diff] [blame] | 24 | <tbody class="list"> |
Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 25 | <tr> |
Owen Gray | 0681c99 | 2022-09-19 14:07:26 -0400 | [diff] [blame] | 26 | <td width="40%"><code><a href="/reference/kotlin/androidx/compose/runtime/State.html">State</a><<a href="/reference/kotlin/androidx/compose/ui/unit/Dp.html">Dp</a>></code></td> |
Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 27 | <td> |
Owen Gray | 0681c99 | 2022-09-19 14:07:26 -0400 | [diff] [blame] | 28 | <div><code>@<a href="/reference/kotlin/androidx/compose/runtime/Composable.html">Composable</a><br><a href="/reference/kotlin/androidx/compose/material/FloatingActionButtonElevation.html#elevation(androidx.compose.foundation.interaction.InteractionSource)">elevation</a>(interactionSource: <a href="/reference/kotlin/androidx/compose/foundation/interaction/InteractionSource.html">InteractionSource</a>)</code></div> |
Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 29 | <p>Represents the elevation used in a floating action button, depending on <code><a href="/reference/kotlin/androidx/compose/material/FloatingActionButtonElevation.html#elevation(androidx.compose.foundation.interaction.InteractionSource)">interactionSource</a></code>.</p> |
| 30 | </td> |
| 31 | </tr> |
| 32 | </tbody> |
| 33 | </table> |
| 34 | </div> |
| 35 | <h2>Public functions</h2> |
| 36 | <div><a name="elevation-androidx.compose.foundation.interaction.InteractionSource-"></a><a name="elevation"></a> |
| 37 | <h3 class="api-name" id="elevation(androidx.compose.foundation.interaction.InteractionSource)">elevation</h3> |
Paweł Marks | 4724d6f | 2021-12-22 17:11:51 +0100 | [diff] [blame] | 38 | <pre class="api-signature no-pretty-print">@<a href="/reference/kotlin/androidx/compose/runtime/Composable.html">Composable</a><br>fun <a href="/reference/kotlin/androidx/compose/material/FloatingActionButtonElevation.html#elevation(androidx.compose.foundation.interaction.InteractionSource)">elevation</a>(interactionSource: <a href="/reference/kotlin/androidx/compose/foundation/interaction/InteractionSource.html">InteractionSource</a>): <a href="/reference/kotlin/androidx/compose/runtime/State.html">State</a><<a href="/reference/kotlin/androidx/compose/ui/unit/Dp.html">Dp</a>></pre> |
Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 39 | <p>Represents the elevation used in a floating action button, depending on <code><a href="/reference/kotlin/androidx/compose/material/FloatingActionButtonElevation.html#elevation(androidx.compose.foundation.interaction.InteractionSource)">interactionSource</a></code>.</p> |
| 40 | <div class="devsite-table-wrapper"> |
| 41 | <table class="responsive"> |
| 42 | <thead> |
| 43 | <tr> |
Andrea Falcone | 80f1a8f | 2022-08-23 11:22:33 -0400 | [diff] [blame] | 44 | <th colspan="100%">Parameters</th> |
Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 45 | </tr> |
| 46 | </thead> |
Andrea Falcone | 80f1a8f | 2022-08-23 11:22:33 -0400 | [diff] [blame] | 47 | <tbody class="list"> |
Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 48 | <tr> |
| 49 | <td width="40%"><code>interactionSource: <a href="/reference/kotlin/androidx/compose/foundation/interaction/InteractionSource.html">InteractionSource</a></code></td> |
| 50 | <td> |
| 51 | <p>the <code><a href="/reference/kotlin/androidx/compose/foundation/interaction/InteractionSource.html">InteractionSource</a></code> for this floating action button</p> |
| 52 | </td> |
| 53 | </tr> |
| 54 | </tbody> |
| 55 | </table> |
| 56 | </div> |
| 57 | </div> |
| 58 | </body> |
| 59 | </html> |