Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blundell/compose-deeply-dippy
Use .dip instead of .dp with compose!
https://github.com/blundell/compose-deeply-dippy
android compose
Last synced: 24 days ago
JSON representation
Use .dip instead of .dp with compose!
- Host: GitHub
- URL: https://github.com/blundell/compose-deeply-dippy
- Owner: blundell
- License: apache-2.0
- Created: 2021-08-30T18:44:41.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-08-30T20:34:48.000Z (over 3 years ago)
- Last Synced: 2024-10-15T17:47:15.132Z (2 months ago)
- Topics: android, compose
- Language: Kotlin
- Homepage: https://blog.blundellapps.co.uk/to-dip-or-not-to-dp-that-is-the-compose-question/
- Size: 135 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deeply Dippy `n.dip`
Deeply Dippy brings back that DIP you crave! Have your compose and eat it with this retro throwback dips library!
Grinds your gears every time you have to write `8.dip`? No more! With deeply dippy you can now clambour back to the youth of Android and write `8.dip`! Yes!
### Usage
```
Text(
modifier = Modifier.padding(8.dip),
text = "Hello World",
)
```### Dependency
```
implementation 'io.github.blundell:compose-deeply-dippy:1.0.0'
```Check the [latest version here](https://repo1.maven.org/maven2/io/github/blundell/compose-deeply-dippy/).
This library is made just for fun .. whilst also being fully working, totally functional and useless. :-)