horologist
horologist copied to clipboard
Utilities for round device padding
For example Modifier.roundDevicePadding(width = 1f)
. This is sometimes neccesary to add to the final item to ensure it can be scrolled high enough to be not cutoff.
See this clumsy fix https://github.com/joreilly/PeopleInSpace/pull/131/files
Similar to API at https://google.github.io/accompanist/insets/ for insets.
cc @saryongkang
Got it. I'm gonna start for it next Thu (June 26). ;)
Is this being worked on by any chance? π Is this something you would like to have in /compose-tools
? :)
compose-tools is more previews and testing tools.
Probably compose-layout. I don't think we have a clear API in mind yet. I'm a bit wary if we don't have someone screaming for it, and ready to use it.
We should have some sample ideas in mind, such as ensuring the final item in a list is high enough to not be cutoff on the sides. Or maybe something in between fillMaxSize and fillMaxRectangle?
compose-tools is more previews and testing tools.
Probably compose-layout. I don't think we have a clear API in mind yet. I'm a bit wary if we don't have someone screaming for it, and ready to use it.
We should have some sample ideas in mind, such as ensuring the final item in a list is high enough to not be cutoff on the sides. Or maybe something in between fillMaxSize and fillMaxRectangle?
That makes sense!π I think ensuring the final item is high enough to not be cut off is a nice ideaπ
Out of scope for now