Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vimalcvs/multi-dimens
Multiple dimensions library for Android Mobile and Tablet to create a responsive screen design in single layout file.
https://github.com/vimalcvs/multi-dimens
android android-library android-studio design dimens dimensions library screen
Last synced: about 1 month ago
JSON representation
Multiple dimensions library for Android Mobile and Tablet to create a responsive screen design in single layout file.
- Host: GitHub
- URL: https://github.com/vimalcvs/multi-dimens
- Owner: vimalcvs
- License: apache-2.0
- Created: 2022-12-14T07:04:08.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-26T15:33:49.000Z (9 months ago)
- Last Synced: 2024-05-02T03:44:07.969Z (8 months ago)
- Topics: android, android-library, android-studio, design, dimens, dimensions, library, screen
- Language: Java
- Homepage:
- Size: 819 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Multi-Dimens [![](https://jitpack.io/v/vimalcvs/multi-dimens.svg)](https://jitpack.io/#vimalcvs/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.
```groovy
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```2. Add the library dependency.
```groovy
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](https://github.com/vimalcvs/multi-dimens/blob/main/app/src/main/res/layout/activity_main.xml) 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](https://github.com/vimalcvs/multi-dimens/blob/main/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! 🌟