Multi-Dimens is an Android library designed to facilitate responsive screen design across various device dimensions using a single layout file.
- Responsive Design: Create layouts that adapt to different screen sizes seamlessly.
- Single Layout File: Simplify your development process by managing multiple dimensions within a single layout file.
- Flexible Usage: Support for both normal size plus (dp) and font size (sp) dimensions.
- Add the JitPack repository to your project's build file.
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- Add the library dependency.
dependencies {
implementation 'com.github.vimalcvs:multi-dimens:1.1.1'
}
The library supports the following dimension types:
- Normal Size Plus (dp): Use
@dimen/dp_
followed by the desired value. - Font Size (sp): Use
@dimen/sp_
followed by the desired value.
To see how to use the Multi-Dimens library, refer to the example layout provided.
Your contributions are highly appreciated! If you find this library useful, consider starring it. You're also welcome to contribute by submitting pull requests or reporting any issues you encounter.
This library is licensed under the MIT License. See the LICENSE file for details.
Special thanks to all contributors who have helped to improve this library.
🌟 If you find Multi-Dimens helpful in your projects, don't forget to give it a star! 🌟