Skip to content

taweewong/OuterStrokeTextView

Repository files navigation

OuterStrokeTextView

Note: OuterStrokeTextView can use with only one line of text

image

Installation

If your project don't have Jitpack, you have to add it first

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

Then add dependencies

dependencies {
    implementation 'com.github.taweewong:OuterStrokeTextView:1.0'
}

Usage

This library provides 2 attributes

app:outlineColor
app:outlineWidth

Example

<com.taweewong.textview.OuterStrokeTextView
    android:id="@+id/textView"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="Hello World!"
    android:textSize="18sp"
    app:outlineColor="#67C5F8"
    app:outlineWidth="1dp" />

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages