jlhonora/multistatetogglebutton

How to set set button height ?

Closed this issue · 3 comments

I can't find it in the documentation.

Try something like this:

<org.honorato.multistatetogglebutton.MultiStateToggleButton
        android:layout_width="wrap_content"
        android:layout_height="100dip" />

But the text inside it won't vertically centered.

UPDATE
nevermind, I copy your class into my project. Then edit it to my preference. At 1st, I was only importing through gradle.

Copying the project is definitely the easiest way to tweak it for your preference.

Anyhow, with my example the buttons are indeed vertically centered:

victara_retlalpe23 32-14 2jlh11182015100715