leinardi / leinardi/FloatingActionButtonSpeedDial

How can I set the actionItem's animation delay time to achieve this effect?

Open
#141 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Status: Stale Type: Question
Dominant language
Java
Stars
1.5k
Forks
149
PR merge metrics
No merged PRs in 30d

Description

Step 1: Are you in the right place?
  • I have verified there are no duplicate active or recent bugs, questions, or requests
  • I have verified that I am using the latest version of the library.
Step 2: Describe your environment
  • Library version: 3.1.1
  • Android version: Android O
  • Support library version: API14-29
  • Device brand: ?
  • Device model: ?
Step 3: Describe the problem:
Steps to reproduce:
  1. add SpeedDialView in layout
  2. add addActionItem
  3. invoke open() and close()
Observed Results:
  • The animation of each actionItem looks started at the same time, that makes me feel quiet annoying.
Expected Results:
  • I wish there is a function or other way to set the delay time of each actionItem's animation.
  • BTW, I thingk if the default animation is not translation but scale will makes the widget more textured.
Expected Effect:

Gif_20191203_164035

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at SpeedDialView and trace addActionItem together with the open() and close() animation flow. Compare the current simultaneous animation with the requested per-item delay and optional scale effect, then define how the behavior should be exposed and verified on Android O/API14-29.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
design, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.