Android - ImageView

Card Puncher Data Processing

About

image view

Resources

int iconId = R.drawable.my_Icon

Property

See Android - View (UI Widget|Component)

Dimension

For an DPI explanation, see multiple screen and Devices and Displays

DPI Number Number of Pixel
by Dpi
MDPI ~160 DPI 1x
HDPI ~240 DPI 1,5x
XHDPI ~320 DPI 2x
XXHDPI ~480 DPI 3x
XXXHDPI ~640 DPI 4x

Dpi vs Pixel Icon:

Px Vs Dpi Image

Resources

Library

Documentation / Reference





Discover More
Android Xml Layout Attribute Reference
Android - Layout File (XML)

A layout XML is a declarative way of creating an UI. To define the GUI in android, you can do it: at runtime in the code with the ViewGroup object (UI container) and View obejct (widgets) at load...



Share this page:
Follow us:
Task Runner