From f44e1d909dcf8a8e020ad1de0bf7ed0c6b54949e Mon Sep 17 00:00:00 2001 From: Balram Pandey Date: Sat, 7 Jan 2017 18:29:46 +0530 Subject: [PATCH] divider --- app/src/main/res/layout/activity_main.xml | 37 +++++++++++++++++-- .../java/com/balram/library/FotButton.java | 3 +- 2 files changed, 35 insertions(+), 5 deletions(-) diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index ad96388..dec3b0c 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -19,25 +19,40 @@ android:text="@string/message" android:textSize="20dp" app:font="cacophony_loud.ttf"/> - + + + + + + + + + + diff --git a/library/src/main/java/com/balram/library/FotButton.java b/library/src/main/java/com/balram/library/FotButton.java index 78bb262..a6c3919 100644 --- a/library/src/main/java/com/balram/library/FotButton.java +++ b/library/src/main/java/com/balram/library/FotButton.java @@ -5,13 +5,14 @@ import android.graphics.Typeface; import android.util.AttributeSet; import android.util.Log; +import android.widget.Button; import android.widget.TextView; /** * Created by Balram Pandey on 1/6/17. */ -public class FotButton extends TextView { +public class FotButton extends Button { private static final String TAG = "FotButton"; public FotButton(Context context) {