Coder Social home page Coder Social logo

Comments (4)

3llomi avatar 3llomi commented on July 20, 2024

Hey @erengms ,
you can increase the bounds by calling
recordView.setCancelBounds(12);//dp

from recordview.

erengms avatar erengms commented on July 20, 2024

I did but it doesn't work. For now, I've set -40dp to make it slide on top of the clock.

from recordview.

LizZerrG avatar LizZerrG commented on July 20, 2024

I'm having the same problem. I've tried setting recordView.cancelBounds = 12f (and some other values), but it doesn't seem to solve anything. It does work when I set the SlideToCancelText to something short, but that is just a workaround.

How would this work in version 3.1.3? Isn't there a better solution to make this work for people with not-so-good-eyesight?

Also, it looks like it was improved in some newer version, but it doesn't work for all font sizes (yet?). When you've set the fontsize to the biggest option (option 8 on Samsung S22, Android 13) the recordView works, but it doesn't work for option 5 to 7. (Settings > Display > Font size and style > Font Size, then on Samsung you have 8 font size options to choose from).

from recordview.

3llomi avatar 3llomi commented on July 20, 2024

Hi @LizZerrG ,

I tried to set a maxWidth to SlideToCancelText and it seems to be working since the text will have multilines.

image

So I'm thinking of exposing a 'setMaxWidth' for slideToCancel.

Let me know if this fixes your issue so I can publish it to 3.1.4

from recordview.

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.