just launched a way to get dp distance in android ...
# feed
k
just launched a way to get dp distance in android studio preview window on any composable that you select. here's the full launch post: https://www.linkedin.com/feed/update/urn:li:activity:7353178193303932928/ and here is a quick video of it working!
🔥 10
🙌 1
🦜 4
👍 6
o
Wow, looks really awesome! Is it possible to show a size of the selected component?
k
yep i can add it in the next release
kodee happy 1
thanks for the recommendation @Oleksandr Balan!!
kodee happy 1
v
Nice ! But we have to install the Firebender plugin for that, even though we don't use the rest of the functionalities right ?
k
@Oleksandr Balan done
🤩 2
kodee loving 1
width/height show up above the selected component in the top left
@Ving yes you need to download, but you can use this functionality w/o using the rest of the plugin!
👍 1
v
Wow. A few minutes to dev a request from a user. That's impressive !
k
🫡🫡 🫡
👏 1
👏🏾 1
v
Just noticed a bug. I don't know if it's a rounding issue or not but the top and bottom padding are not the same. But we know it's the same. Is that a known issue ?
k
its possible theres a rounding/floating point issue here
im going to dm you on how to repro this!
👍 1
often times theres some relative sizing that affects the bottom calculation
the dp values here are in absolute terms of what is actually getting rendered (meaning it can catch relative sizing problems that you didn't expect)
👍 1