B4XImageView is a new custom view, added to XUI Views v2.40.
It adds several useful resize modes to the standard ImageView:
(Images source:
)
The bitmaps are never resized, only the internal ImageView is resized. This allows the actual image resizing to be done with hardware acceleration.
All of the resize modes, except of FILL, preserve the image ratio.
The modes are: FIT, FILL, FILL_NO_DISTORTIONS, FILL_WIDTH, FILL_HEIGHT and NONE.
The attached example demonstrates all mode.
B4XImageView also supports clipping the image to a circle. Note that there is a difference in the behavior of this feature between the platforms, when the view is not square.
It adds several useful resize modes to the standard ImageView:
(Images source:
Compass GM a gyro-magnetic compass app featuring true and magnetic heading
Hi everyone, you are all welcome to download and install my free and newly released gyro-magnetic compass app "Compass GM" written in B4A from the Play Store. As long as your device has a compass. Please let me know what you think and if you want to please rate and write a review on it in the...
www.b4x.com
Share My Creation - [B4X] 2 Themes (Dark and Light) for IDE code.
Hi. I have customized two themes (1 Dark and 1 Light) that I find more relaxing for my eyes. I hope you like it. Unzip the zip file and put the 2 .vssetting files in the themes folder of your B4X installation.
www.b4x.com
The bitmaps are never resized, only the internal ImageView is resized. This allows the actual image resizing to be done with hardware acceleration.
All of the resize modes, except of FILL, preserve the image ratio.
The modes are: FIT, FILL, FILL_NO_DISTORTIONS, FILL_WIDTH, FILL_HEIGHT and NONE.
The attached example demonstrates all mode.
B4XImageView also supports clipping the image to a circle. Note that there is a difference in the behavior of this feature between the platforms, when the view is not square.