Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

hwki/android-bordered-views

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

android-bordered-views

Custom views for Android that support borders (optionally rounded).

Screenshots

BorderedTextView

BorderedTextView rounded

Usage

See attrs.xml for the complete list of attributes.

<com.brentpanther.borderedviews.BorderedTextView
    xmlns:b="http://schemas.android.com/apk/res-auto"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:padding="5dp"
    android:text="This is sample text"
    b:borderWidth="2dp"
    b:borders="top|left|right"/>
	
<com.brentpanther.borderedviews.BorderedTextView
    xmlns:b="http://schemas.android.com/apk/res-auto"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:padding="5dp"
    android:text="This is sample text"
    android:background="#00ff00"
    b:radiusTopLeft="15px"
    b:radiusTopRight="15px"
    b:borderWidth="2dp"
    b:borderColor="#ff0000"
    b:borders="all"/>

About

Custom views for Android that support borders.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages