Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[request] Long-press to dismiss #20

Open
smichel17 opened this issue Jun 27, 2017 · 1 comment
Open

[request] Long-press to dismiss #20

smichel17 opened this issue Jun 27, 2017 · 1 comment

Comments

@smichel17
Copy link

When I'm first waking up, Talalarmo's alarm is slightly too easy to dismiss accidentally, forget about, and fall back asleep.

I came across another alarm app that requires you to hold the dismiss button for around a second to dismiss it (if you tap the button, it displays the text "Hold down to dismiss"). It's really nice because it forces you to be purposeful about dismissing the alarm.

In all other respects, Talalarmo is a better morning alarm clock; It would be awesome if it also supported this feature.

Reference: https://f-droid.org/app/com.better.alarm

smichel17 added a commit to smichel17/talalarmo that referenced this issue Dec 27, 2019
smichel17 added a commit to smichel17/talalarmo that referenced this issue Dec 27, 2019
smichel17 added a commit to smichel17/talalarmo that referenced this issue Feb 16, 2020
Instead of dismissing instantly on touch, instead the touch must be held
down for 2 seconds. During this time, the background will fade to be the
same color as the alarm icon, giving a progress indicator.

If you release before 2 seconds, the alarm icon will change into the
text "HOLD" to provide a hint about what needs to happen.

Pressing the home or back button will still dismiss instantly.
smichel17 added a commit to smichel17/talalarmo that referenced this issue Feb 16, 2020
Instead of dismissing instantly on touch, instead the touch must be held
down for 2 seconds. During this time, the background will fade to be the
same color as the alarm icon, giving a progress indicator.

If you release before 2 seconds, the alarm icon will change into the
text "HOLD" to provide a hint about what needs to happen.

Pressing the home or back button will still dismiss instantly.
smichel17 added a commit to smichel17/talalarmo that referenced this issue Feb 16, 2020
Instead of dismissing instantly on touch, instead the touch must be held
down for 2 seconds. During this time, the background will fade to be the
same color as the alarm icon, giving a progress indicator.

While holding, the icon will also change to a finger (touch_app), to
provide a hint about what you need to do. This is an effective hint
because tapping makes it flicker, and if you hold for long enough to see
what the new icon is, you'll also hold for long enough that the
background will start fading, giving you the next hint.

Pressing the home or back button will still dismiss instantly, since
there's no way to track touches on those.
smichel17 added a commit to smichel17/talalarmo that referenced this issue Feb 16, 2020
Instead of dismissing instantly on touch, instead the touch must be held
down for 2 seconds. During this time, the background will fade to be the
same color as the alarm icon, giving a progress indicator.

While holding, the icon will also change to a finger (touch_app), to
provide a hint about what you need to do. This is an effective hint
because tapping makes it flicker, and if you hold for long enough to see
what the new icon is, you'll also hold for long enough that the
background will start fading, giving you the next hint.

Pressing the home or back button will still dismiss instantly, since
there's no way to track touches on those.
smichel17 added a commit to smichel17/talalarmo that referenced this issue Feb 16, 2020
Instead of dismissing instantly on touch, instead the touch must be held
down for 2 seconds. During this time, the background will fade to be the
same color as the alarm icon, giving a progress indicator.

While holding, the icon will also change to a finger (touch_app), to
provide a hint about what you need to do. This is an effective hint
because tapping makes it flicker, and if you hold for long enough to see
what the new icon is, you'll also hold for long enough that the
background will start fading, giving you the next hint.

Pressing the home or back button will still dismiss instantly, since
there's no way to track touches on those.
smichel17 added a commit to smichel17/talalarmo that referenced this issue Feb 16, 2020
Instead of dismissing instantly on touch, instead the touch must be held
down for 2 seconds. During this time, the background will fade to be the
same color as the alarm icon, giving a progress indicator.

While holding, the icon will also change to a finger (touch_app), to
provide a hint about what you need to do. This is an effective hint
because tapping makes it flicker, and if you hold for long enough to see
what the new icon is, you'll also hold for long enough that the
background will start fading, giving you the next hint.

Pressing the home or back button will still dismiss instantly, since
there's no way to track touches on those.
smichel17 added a commit to smichel17/talalarmo that referenced this issue Feb 16, 2020
Instead of dismissing instantly on touch, instead the touch must be held
down for 2 seconds. During this time, the background will fade to be the
same color as the alarm icon, giving a progress indicator.

While holding, the icon will also change to a finger (touch_app), to
provide a hint about what you need to do. This is an effective hint
because tapping makes it flicker, and if you hold for long enough to see
what the new icon is, you'll also hold for long enough that the
background will start fading, giving you the next hint.

Pressing the home or back button will still dismiss instantly, since
there's no way to track touches on those.
@xeruf
Copy link

xeruf commented May 25, 2020

I built an APK including this fix and some more config options: https://github.com/xerus2000/talalarmo/releases/tag/4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants