Android Beginner Tutorial #5 - How to Display Images in Your App Using An ImageView

Android Beginner Tutorial #5 - How to Display Images in Your App Using An ImageView

CodingWithMitch

7 лет назад

61,063 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Sebastián Hernández
Sebastián Hernández - 07.01.2022 20:30

simple and fast... 10/10

Ответить
miguelf03kai
miguelf03kai - 02.11.2021 15:43

pretty good😁

Ответить
Kimo Jumamil
Kimo Jumamil - 27.06.2021 09:44

very helpful ty

Ответить
Harsh Jain
Harsh Jain - 16.11.2020 15:41

can't we just add image to drawable and then create placeholder and select the image directly from there?

Ответить
Joshua Henderson
Joshua Henderson - 13.07.2020 02:17

Did everything you did and got a lot of errors.

Ответить
JustMalla
JustMalla - 04.03.2020 10:31

Thanks<3

Ответить
Wind Hunter
Wind Hunter - 21.02.2020 20:50

NICE! thanks mate you also solve my problem with hello world image on background :D its idk why no showing up in app when on design it worked and now its perfect

Ответить
Anthony A
Anthony A - 23.11.2019 22:45

insane!!!

Ответить
GrumpyOldMan
GrumpyOldMan - 14.09.2019 15:23

Can't you do this in the ImageView's xml, with a simple attribute like app:srcCompat?

Ответить
Colin Java
Colin Java - 31.07.2019 02:34

What if you had desert.jpg and desert.png, how would it know what to use when you do R.drawable.desert?
Great tutorial by the way, I got it to work.

Ответить
mohamed benabdallah
mohamed benabdallah - 18.07.2019 16:25

How does the user choose an image from their gallery? Then change it again later?

Ответить
Vrajendra Mandloi
Vrajendra Mandloi - 20.06.2019 18:25

Bro do you have videos on Android widgets... It is some topic which many people have very basic ones... Also if you can deliver a demo on widgets with image button which changes on click.. it will really be helpful

Ответить
Mohamed Abou Elnaga - محمد أبو النجا
Mohamed Abou Elnaga - محمد أبو النجا - 10.06.2019 00:11

My laptop is Toshiba satellite p755 it comes with Core i7 but it is too slow when running Android studio do you recommend to change it and if so which laptop do you recommend?

Ответить
Oreo shake
Oreo shake - 04.04.2019 22:12

Sir, I wanted to ask how to connect my android (Java) to mariadb, I mean back end and then to a server.?
I have tried using php till now. But,... I would highly appreciate your advice!

Ответить
Greenphonix
Greenphonix - 24.03.2019 21:06

Thanks Man

Ответить
Fantastic Mr Fox
Fantastic Mr Fox - 28.12.2018 23:06

Why is my android phone displaying png images hundreds of them from apps I have installed like top eleven and many it's so frustrating

Ответить
YXW soNE
YXW soNE - 29.11.2018 19:58

Thank you so much!!!! Life saver!!!

Ответить
Seb Drw
Seb Drw - 04.10.2018 12:38

Thanks for showing us how to do it in java code, but I did the same loading it directly in the xml layout file. The problem is when the apk is exported to a simulator or my phone none of the images are displayed ... Can you explain me why ?

Ответить
DjottaMatija
DjottaMatija - 15.08.2018 04:07

Great video! The only issue I have is the tint on the picture, not sure how to disable it since I'm using an API 19

Ответить