【问题标题】:What are uses of Floating Action Button in Material Design AndroidMaterial Design Android中浮动操作按钮的用途是什么
【发布时间】:2016-05-18 09:34:53
【问题描述】:

Material Design 中的 Floating Action Button 在主要应用中更为普遍,在哪些具体用例中 FAB 是更好的选择。

【问题讨论】:

  • 它就像一个按钮,用那个按钮做你想做的事。

标签: android


【解决方案1】:

浮动操作按钮是used for a special type of promoted action。它们通过悬浮在 UI 上方的带圆圈图标来区分,并具有与变形、发射和转移锚点相关的特殊运动行为。

浮动操作按钮有两种尺寸:默认和迷你。大小可以通过fabSize属性控制。

更多详情请访问:https://developer.android.com/reference/android/support/design/widget/FloatingActionButton.html

【讨论】:

    【解决方案2】:

    “浮动操作按钮代表应用程序中的主要操作。”

    示例操作 - 为联系人列表视图添加新联系人。

    https://www.google.com/design/spec/components/buttons-floating-action-button.html

    【讨论】:

      猜你喜欢
      • 2015-08-09
      • 2016-01-07
      • 2015-06-26
      • 1970-01-01
      • 2015-01-04
      • 1970-01-01
      • 2015-11-08
      • 2014-12-08
      • 1970-01-01
      相关资源
      最近更新 更多