Nikola Milovic
12/11/2019, 6:17 PM<style name="ImageButtonStyle" parent="Widget.AppCompat.ImageButton">
<item name="android:color">@color/secondaryColor</item>
<item name="android:tint">@color/secondaryColor</item> // works as its src now
<item name="android:layout_width">80dp</item> //doesnt work
<item name="android:layout_height">80dp</item> // doesnt work
<item name="android:background">@android:color/transparent</item>
</style>
android:src="@drawable/ic_favorite"
tseisel
12/11/2019, 7:05 PMwidth
and height
of your <vector>
to fit your needs
2. Set the drawable as the background, and specify android:backgroundTint
3. Set as src
and tweak the scaleType