fontawesome:2.1.0: Icon is still not vertically centered (like #115)
Closed this issue · 2 comments
Tumanin commented
here is the code:
<com.joanzapata.iconify.widget.IconButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_alignParentRight="true"
android:layout_marginTop="15dp"
android:layout_marginBottom="15dp"
android:paddingLeft="5dp"
android:paddingRight="5dp"
android:background="@drawable/button_actionbar"
android:text="SIGN OUT {fa-sign-out}"
android:singleLine="true"
android:textColor="#ffffffff"
android:textSize="12sp"/>
JoanZapata commented
Rha... In fact, it would properly be well aligned with lowercase text, but uppercase makes it look bad. I guess I'll have to add some control over the vertical alignment of icons.
JoanZapata commented