/press

Press is an Android library written in Kotlin that plays around with Android Typography and Android's FontMetrics.

Primary LanguageKotlinMIT LicenseMIT

Press

Download Twitter

Press is an Android library written in Kotlin that plays around with Android Typography and Android's FontMetrics.

Contents

A single view, called PressTextView, which extends directly from View, that mimics the behavior of a Printing Press.

Purpose

  • Examine and understand how text is rendered by showing (and customise) font guidelines (ascent, descent, etc): a sort of debug mode for Typography!
  • Beautify your content views with newspaper-like headers decorations: middle-line, underline, highlight, shadow, etc.

Usage

Dependency

Just add this dependency to your build.gradle file:

dependencies {
  implementation 'com.davethebrave.press:x.y.z'
}

Implementation

TBD

Feedback

Something can be improved/fixed? Open an issue