question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Scale best practice

See original GitHub issue

Is it best practice to have a different dimension for the app:lottie_scale attribute? Right now i have a dimension declared in a dimens.xml file that is in /values-hdpi, /values-xhdpi, /values-xxhdpi, /values-xxxhdpi. Is that the right approach?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9

github_iconTop GitHub Comments

4reactions
gpealcommented, Mar 9, 2018

@lawloretienne You shouldn’t ever need this. All values in your composition get converted to dps. If you want the animation to be a specific size, just set a fixed size on your LottieAnimationView and use scaleType="centerInside" or centerCrop

1reaction
gpealcommented, Jul 12, 2021

@pejman-74 You’ll have to wait for the scaleType update to get it out of the box then. You also use the Compose transform/scale modifiers to add your own scale.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Best Practices for Developing and Validating Scales for Health ...
To do this, we have created a primer for best practices for scale development in measuring complex phenomena.
Read more >
Rating Scale Best Practices: 8 Topics Examined - MeasuringU
Rating Scale Best Practices: 8 Topics Examined · 1. Is there a left-side bias for rating scales? · 2. Are agreement items more...
Read more >
Your Guide to Rating Scale Questions in 2022 - Qualtrics
We show you how to design and use rating scale questions in your survey, so you can get easy-to-interpret qualitative feedback data back....
Read more >
Best Practices for Developing and Validating Scales for Health ...
To do this, we have created a primer for best practices for scale development in measuring complex phenomena.
Read more >
The Best Practices of Great Scalers | Bain & Company
To sustain growth by building new businesses, companies need to excel at scaling, the act of institutionalizing innovation across the enterprise ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found