Skip to content

Multiple dimensions library for Android Mobile and Tablet to create a responsive screen design in single layout file.

Notifications You must be signed in to change notification settings

vimalcvs/Multi-Dimens

Repository files navigation

Multi-Dimens

Multi-Dimens is an Android library designed to facilitate responsive screen design across various device dimensions using a single layout file.

Features

  • 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.

Installation

Gradle

  1. Add the JitPack repository to your project's build file.
allprojects {
    repositories {
       ...
       maven { url 'https://jitpack.io' }
    }
}
  1. Add the library dependency.
dependencies {
    implementation 'com.github.vimalcvs:multi-dimens:1.1.1'
}

Usage

Dimension Types

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.

Example

To see how to use the Multi-Dimens library, refer to the example layout provided.

Contribution

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.

License

This library is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

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! 🌟

About

Multiple dimensions library for Android Mobile and Tablet to create a responsive screen design in single layout file.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages