How can i set an image to the left and the text center of this type of button. 

e.g 

icon + text

here is my button.

```
<packagename.LoginButton
android:id="@+id/btnconnect"
android:layout_width="180dp"
android:layout_height="35dp"
android:layout_alignParentTop="true"
android:layout_alignRight="@+id/textView1"
android:drawableLeft="@drawable/f_logo"
android:text="@string/connect" />

```