An open API service indexing awesome lists of open source software.

https://github.com/erdo/compose-windowsize

Some kotlin classes for managing adaptive and responsive android layouts
https://github.com/erdo/compose-windowsize

Last synced: 8 months ago
JSON representation

Some kotlin classes for managing adaptive and responsive android layouts

Awesome Lists containing this project

README

          

# Jetpack Compose and WindowSize Classes

Companion app for the dev.to post [Jetpack Compose and WindowSize Classes](https://dev.to/erdo/jetpack-compose-and-windowsize-classes-gb4)

WindowSize classes are [here](https://github.com/erdo/compose-windowsize/tree/main/app/src/main/java/foo/bar/compose/ui/size)

![preview view showing multiple renders on different screen sizes](previews.png)
![range of different device screens](device_sample.png)
![example app showing a UI which adjusts itself based on how much screen it has available](responsive_ui_short.gif)
![venn diagram of devices <600dp in width](venn_diag.png)
![pop-up mode example](pop-up_view.png)

## License

Copyright 2015-2023 early.co

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.