how to Upload image before text
<p>Adding <code>Checkboxes</code> and <code>RadioButton</code>s and aslo i want add image before text </p>

<p>please see in this   <a href="http://developer.android.com/guide/topics/ui/dialogs.html" rel="nofollow">http://developer.android.com/guide/topics/ui/dialogs.html</a></p>

<pre><code>final CharSequence[] gender = {"Gmail","Facebook","Twitter","Exit"};
        AlertDialog.Builder alert = new AlertDialog.Builder(DetailPage.this);
        alert.setTitle("Select Type");

        alert.setCancelable(false);

        alert.setSingleChoiceItems(gender,-1, new DialogInterface.OnClickListener()
        {
            public void onClick(DialogInterface dialog, int which) 
            {
                if(gender[which]=="Gmail")
                {
}
}
}
</code></pre>

<p>This is my Source code i want to add gmail ,facebook and twitter icon before its text can You </p>

<p>please tell me how i'll do this please post code according to my code i have tried much but </p>

<p>not able to understnd. Help me</p>

<p>Thanx </p>
