Giter Site home page Giter Site logo

Comments (5)

jameshnsears avatar jameshnsears commented on May 23, 2024 1

OK - I've researched into better gesture support and this is what I've found.

First off, Android restricts what gestures are available to App Widgets (that reside on a home screen) - meaning the following gestures are not available:

  • double tap
  • long press
  • left and right swiping

All that's applicable, to Quote Unquote, is single tap; and vertical scrolling or vertical swiping.

Quote Unquote uses single tap and vertical scrolling.

The Habits / uhabits app (and some Photo Gallery App Widgets) uses single tap and vertical swiping.

Quote Unquote does not use vertical swiping as what you swipe is not text but an image. An image does not "work" for Quote Unquote as you need scrolling to be able to read all of the quotation.

I do appreciate this issue being raised but am closing it as there is no way to do what has been requested.

from quoteunquote.

jameshnsears avatar jameshnsears commented on May 23, 2024

Hi - the left / right button idea isn't viable as they take up too much space inside the widget. I tried it many moons ago.

It would be possible to implement some sort of double tap, or triple tap if need be - but I think this approach is too different from how other things work in Android. That's to say, it's pretty much one tap for everything. Where as this approach requires at least three taps - i.e. next; favourite; configure

You're welcome to submit a PR with an implementation, but for the moment (unless more people raise a similar request as this one) then this isn't something I'm going to implement.

from quoteunquote.

BloodRaven0 avatar BloodRaven0 commented on May 23, 2024

+1 for this.
Another way to implement it would be with swipe gestures. I've seen it done in another app (habits, it's also open source) - swipe right for next quote and left for previous, double tap for favorite (in line with a certain social media). I think this issue could use some reconsidering.

from quoteunquote.

jameshnsears avatar jameshnsears commented on May 23, 2024

Hi - please provide a link to this "habits" app. I'll take a look at it and reconsider my previous opinion :-)

from quoteunquote.

BloodRaven0 avatar BloodRaven0 commented on May 23, 2024

@jameshnsears https://github.com/iSoron/uhabits
Hers it is. Huh, it seems it isn't called just "habits" lol.
Basically when you create a widget, you can select multiple habits for that widget and you can switch between them with swipe gestures.

from quoteunquote.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.