gpt4 book ai didi

android - 我们可以在 android 中一次在 Snack bar 中执行 2 个不同的操作吗?

转载 作者:IT王子 更新时间:2023-10-28 23:30:36 26 4
gpt4 key购买 nike

我正在创建一个我想在其中使用 Snack Bar 的 android 应用程序,在那个 snackbar 里,我想要 2 个不同的词,我们必须对它们执行 2 个不同的操作。

enter image description here

最佳答案

来自 Google design specifications :

Each snackbar may contain a single action, neither of which may be “Dismiss” or “Cancel.”

对于多个操作,请使用对话框。

关于android - 我们可以在 android 中一次在 Snack bar 中执行 2 个不同的操作吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41224019/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com