Skip to content

EranBoudjnah/Prever

Repository files navigation

Prever

A rich preview solution for Android Studio.

Version - RandomGenKt License Platform

Prever is a Kotlin custom view you can inject into your layout to enrich it in the preview pane of Android Studio.

Prever will tell you when your layouts have no background set, will show you how your TextViews/EditTexts look with text in them, and how much space your ImageViews take. In run time Prever will have negligible impact on your views.

Prever is short for previewer.

Install

In your build.gradle, add the following:

dependencies {
    implementation("com.mitteloupe.prever:prever:1.0.3")
}

Usage

In your layout, simply include the following:

<include layout="@layout/include_prever" />

Created by

Eran Boudjnah

License

MIT © Eran Boudjnah