gpt4 book ai didi

Android ListView Item - 从右到左动画菜单

转载 作者:行者123 更新时间:2023-11-29 21:58:43 25 4
gpt4 key购买 nike

在我的 android 应用程序中,我希望 ListView 项目从右向左移动并显示该行的额外选项。我不知道怎么问我的问题,所以我想给你看我拍的照片。我该怎么做或者它叫什么?

  1. 这是第一个状态。 This is the first state
  2. 这是第二种状态(点击右侧的“加号”图标后)。 this is the secondstate (after click on the "PLUS" icon on the right side)
  3. 这是显示额外选择的最终状态

    Last screeshot

最佳答案

有没有可能 ViewPager可以用吗?

我不确定它是否只适用于屏幕的一小部分,但值得一试...:)
可以找到更多信息 here (d.android.com)

关于Android ListView Item - 从右到左动画菜单,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12503807/

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