A rich preview solution for Android Studio.
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.
In your build.gradle
, add the following:
dependencies {
implementation("com.mitteloupe.prever:prever:1.0.3")
}
In your layout, simply include the following:
<include layout="@layout/include_prever" />
MIT © Eran Boudjnah