hoang8f / android-flat-button

FButton - a flat button library for Android
Apache License 2.0
1.4k stars 327 forks source link

Text padding problem #16

Open stevyhacker opened 9 years ago

stevyhacker commented 9 years ago

I am unable to set any android:padding to fbuttons, with regular buttons i use padding normally to set text apart from the button borders. Are there other tags, parameters that I need to use with fbuttons?

hoang8f commented 9 years ago

FButton uses the same padding tag with regular buttons. I don't know why this tag doesn't work for you. I still can use android:paddingTop or android:paddingLeft to set padding. screenshot_2014-11-25-18-20-08 1

stevyhacker commented 9 years ago

You are right, specific tags work like: android:paddingTop android:paddingBottom android:paddingRight android:paddingLeft

but if you try to use just android:padding it does nothing for me which is a bit weird. It's not much of a problem while other tags work but I just wanted to let you know about this issue, can you tell me does it work for you just the android:padding tag ?

hoang8f commented 9 years ago

I just recognized that the android:padding attribute is ignored by FButton, so this tag also does not work for me. Thank you for your reply !