OmegaCenterIconButton

It's AppCompatButton with centered text and icon. Allow you add icons to left, right and both side.

OmegaCenterIconButton

Installation

To get a Git project into your build:

Step 1. Add the JitPack repository to your build file

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

Step 2. Add the dependency

dependencies {
    implementation 'com.github.Omega-R:OmegaCenterIconButton:[email protected]'
}

Usage

Example of usage in xml layout

    <com.omega_r.libs.OmegaCenterIconButton
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:drawableStart="@drawable/ic_android_black_24dp"
        android:text="Great"/>

GitHub