Found an interesting feature in OpenUI5.
If you use a device with retina display and component sap.m.Image with src="your_image.png" OpenUI5 tries additionally to load "your_image@2.png" and show it instead of original image.
From official Doku:
Density related image will be loaded if image with density awareness name in format [imageName]@[densityValue].[extension] is provided. The valid desity values are 1, 1.5, 2. If the original devicePixelRatio isn't one of the three valid numbers, it's rounded up to the nearest one.
That's cool!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
11 | |
5 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |