Multiple dimensions library for Android Mobile and Tablet to create a responsive screen design in single layout file.
To add this Library in your project :
- Step 1. Add the JitPack repository to your build file
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- Step 2. Add the dependency
dependencies {
implementation 'com.github.kishansinghpanwar:MultiDimens:v1.0.0'
}
Basic Usage :
Type | Values | Example |
---|---|---|
Normal Size Plus | mdp | @dimen/_20mdp |
Normal Size Minus | mdp | @dimen/_minus20mdp |
Font Size | msp | @dimen/_16msp |
Example :
To use this Multi Dimensions library, please see this layout : activity_main.xml
🌟 Thank you for using this library and If this is useful for you, then please Star 🌟 this. Also you can send pull request and create a issue for any bug. Thanks again.