Outline Textview

Additional

Language
Kotlin
Version
1.0.5 (Jul 1, 2018)
Created
Jan 5, 2018
Updated
Jul 1, 2018 (Retired)
Owner
Bedanta Bikash Borah (iamBedant)
Contributors
Bedanta Bikash Borah (iamBedant)
rajsuvariya1
2
Activity
Badge
Generate
Download
Source code

OutlineTextView

Android TextView with Outline/Stroke

Example

     
     

Quick Setup

1. Include library

Using Gradle

OutlineTextView is currently available in on Jitpack so add the following line before every other thing if you have not done that already.

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

Then add the following line

dependencies {
 implementation 'com.github.iamBedant:OutlineTextView:1.0.5'
}

Using Maven

Also add the following lines before adding the maven dependency

<repositories>
 <repository>
     <id>jitpack.io</id>
     <url>https://jitpack.io</url>
 </repository>
</repositories>

Then add the dependency

<dependency>
     <groupId>com.github.iamBedant</groupId>
     <artifactId>OutlineTextView</artifactId>
     <version>1.0.4</version>
</dependency>

Example

<com.iambedant.text.OutlineTextView
  android:id="@+id/imageView23"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"
  android:text="2"
  android:textColor="@android:color/white"
  android:textSize="36sp"
  app:outlineColor="#53D1A1"
  app:outlineWidth="0.7" />

License

OutlineTextView is distributed under the MIT license. See LICENSE for details.