How to add icon to Button in Android (Kotlin). Android Studio Tutorial

preview_player
Показать описание

Adding an image to a Button has always been tricky. But using the Material button which belongs to Material Design Component (MDC) library life has become easy. In this video, you'll learn how to add an image or an icon to the button while following material design guidelines. You may stop using ImageButton and start using this super easy Material Button.

.
.
Please donate and support my work
(If you think my free tutorials are better than paid ones :)

Free Programming courses:

Free Flutter course:

Free Android courses:

More free programming courses:

Check out my website:

Let's get in touch! [Sriyank Siddhartha]

---- Thank you for your love and support ----
Рекомендации по теме
Комментарии
Автор

This video was on-demand. Want more videos?
Let me know in the comments. Thanks and keep supporting. 😍

SriyankSiddhartha
Автор

on 2025 you can use Material3 instead of MaterialComponents, works same as video

misaelmelchia
Автор

Thank you, there is no need of this line, why?

jishnunkrishnan
Автор

But how do you add/change an icon programmatically?

driversteve
visit shbcf.ru