5,380 questions
@Ibrar Tariq , In Xamarin.Android, to create a Button with both an image and text, you can use a combination of android:drawableLeft or android:drawableStart (depending on the layout direction) and android:text attributes. Here's how you can modify your XML layout to achieve this:
<Button
android:id="@+id/button1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minWidth="500px"
android:minHeight="250px"
android:text="Button Text"
android:drawableStart="@drawable/picture1"
android:drawableLeft="@drawable/picture1"
android:background="@drawable/abc_ab_share_pack_mtrl_alpha"/>
Hope this helps! Let me know if you have any further questions.