Skip to content

add text, textSize, textColor attr support and subclass from ImageButton#7

Open
donpark wants to merge 1 commit intomarkushi:masterfrom
donpark:master
Open

add text, textSize, textColor attr support and subclass from ImageButton#7
donpark wants to merge 1 commit intomarkushi:masterfrom
donpark:master

Conversation

@donpark
Copy link
Copy Markdown

@donpark donpark commented Sep 21, 2014

I needed to build a PIN pad with circular buttons so added text support.

@Wolftein
Copy link
Copy Markdown

+1

@testkonto0
Copy link
Copy Markdown

Hi,
How to invoke manually SetText in my activity?

Edit:
Ok, I worked it out. If someone needed it must call:
CircleButton c = (CircleButton) rootView.findViewById(R.id.cc);
c.setText(params);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants