Answers for "in button icons android studio"

1

button with icon android

<!-- ImageView which will used as a button with OnClickListener -->
    <ImageView
        android:id="@+id/imageView"
        android:layout_width="200dp"
        android:layout_height="wrap_content"
        android:layout_centerInParent="true"
        app:srcCompat="@drawable/homeicon" />
Posted by: Guest on June-25-2021
-1

how to add icon to button in android studio

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval">
    <solid android:color="#FE4543"></solid>
     <stroke android:color="#FE4543" android:width="1dp"></stroke>

</shape>
Posted by: Guest on June-11-2021

Code answers related to "in button icons android studio"

Browse Popular Code Answers by Language