Skip to content

Repository files navigation

pp-views

PixelPerfect Views, make your design of the app, same for different devices. To developed by the UpGames Android team.

QuickStart


Call PerfectDesignIniter from Application class and from first Activity for setup base screen params.

Root gradle.properties file.

allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

App gradle config

dependencies {
	        implementation 'com.github.Daniil-Pavenko:pp-views:Tag'
}
override fun onCreate() {
    ...
    PerfectDesignIniter.init(this)
} 

For Activity

override fun onStart() {
    ...
    PerfectDesignIniter.onStart(this)
} 

And if you use a keyboard, for example into chat with adjustPan, need to save keyboard height

fun onOpenKeyboard(height: Int) {
    PerfectDesignIniter.onOpenKeyboard(height)
} 

About

PixelPerfect Views, make your design of the app, same for different devices. To developed by the UpGames Android team.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages