Change dp to sp in TestFontScaleConfigurationUtilActivityTest
See original GitHub issueIn TestFontScaleConfigurationUtilActivityTest
we should check the fontsize in sp instead of dp.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
How to convert DP, PX, SP among each other, especially DP ...
The formula is px = dp * density . So you just multiply or divide by the density to convert between px and...
Read more >What is the difference between “px”, “dip”, “dp” and “sp”?
The ratio of dp-to-pixel will change with the screen density, but not necessarily in direct proportion. Note: The compiler accepts both “dip” and...
Read more >Apps, Web3 and Conversational AI | DP/PX converter - Pixplicity
This tool helps you convert pixels to and from DPs (density independent pixels). Enter a value and unit to calculate the dimensions for...
Read more >Support different pixel densities - Android Developers
The sp unit is the same size as dp, by default, but it resizes based on the user's preferred text size. For example,...
Read more >Android App Development Tutorial 8: Difference in dp, sp, px, pt
Learn what is the difference between dp (density independent pixels), sp (scale independent pixels), etc.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ForgottenProgramme Assigned. Thanks.
@ForgottenProgramme Apologies for the inconvenience, but I dig deeper into the code and saw that this is correct implementation. We cannot change this further. Therefore closing the PR and the issue.