Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hantrungkien/autodimension

Auto Dimension Lib for many dislay resolutions
https://github.com/hantrungkien/autodimension

android android-studio dimensions

Last synced: about 7 hours ago
JSON representation

Auto Dimension Lib for many dislay resolutions

Awesome Lists containing this project

README

        

# Auto Dimension
Auto Dimension

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Platform](https://img.shields.io/badge/platform-android-green.svg)](http://developer.android.com/index.html)
[![](https://jitpack.io/v/hantrungkien/AutoDimension.svg)](https://jitpack.io/#hantrungkien/AutoDimension)

## install:

**via JitPack (to get current code)**

project/build.gradle
```gradle
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}
```
module/build.gradle
``gradle
compile 'com.github.hantrungkien:AutoDimension:1.0.9'
```

## How to use:

```xml

```

## Extensions

```kotlin
Context.dpToPx(dp: Number)
Context.pxToDp(px: Number)
```

## Contribution

If you've found an error, please file an issue.

Patches and new samples are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub.

### LICENCE

Copyright 2017 Kien Han Trung

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.