B4A Question GetDeviceLayoutValues.ApproximateScreenSize VS ActivitySize - MarcoRome    Feb 18, 2015   (1 reaction) Hi all, i have this problem. Why beetwen GetDeviceLayoutValues.ApproximateScreenSize and...:
Activity.LoadLayout("1")
' < 4.5
If GetDeviceLayoutValues... Bug? Possibly a bug with GetDeviceLayoutValues - Scantech    May 6, 2019 GetDeviceLayoutValues. You better off passing it to LayoutValues in create event.
Here is the coding that you should...(isPortraitLayout)
End Sub
Sub isPortraitLayout() As Boolean
If GetDeviceLayoutValues.Width <= GetDeviceLayoutValues.Height Then
Log(GetDeviceLayoutValues.Width)
Log(GetDeviceLayoutValues.Height)
Log("True")
Return True
Else
Log... B4A Question Confusion about GetDeviceLayoutValues.Scale - hung (first post)    Jul 4, 2024 tablets showing different font sizes even both having same GetDeviceLayoutValues.Scale = 1.5... the phone has Default font size
So the solution becomes
- Ignore the GetDevicesLaoutValues.Scale. Set font size same for all devices
- Check all devices and make Android -> Accessibility to default... Wish GetDeviceLayoutValues in designer - Pendrush    Oct 12, 2016 As I wrote here can we have GetDeviceLayoutValues.Height and GetDeviceLayoutValues.Scale in designer? EDIT 1: We already have options to check. Sorry. If 100%y < 400dip Then Ad.Height = 32dip Else If 100%y > 400dip And 100%y <= 720dip Then Ad.Height = 50dip Else If 100%y > 720dip Then Ad.Height = 90dip End If EDIT 2: Code from EDIT 1 is not correct. We still need GetDeviceLayoutValues.Height and GetDeviceLayoutValues.Scale in designer.... B4A Library Printing and Pdf creation - Erel    May 18, 2020   (55 reactions)   tags: print, pdf, pdf print, Printing and Pdf / GetDeviceLayoutValues.Scale , Colors.Yellow, "CENTER") pdf.FinishPage Dim out... units here. You should divide the text size with GetDeviceLayoutValues.Scale when calling Canvas....b4a.objects.streams.File") If jo.GetField("virtualAssetsFolder") = Null Then Return... & File.Combine(jo.GetField("virtualAssetsFolder"), _ jo.RunMethod("getUnpackedVirtualAssetFile", Array As Object(FileName))) End If End Sub The WebViewAssetFile... B4J Code Snippet [B4X][XUI] Fill and Fit images without distortion - Erel    Jan 26, 2021   (22 reactions)   tags: image, image show aspect ratio, IMAGEVIEW , ImageView As B4XView) Dim scale As Float = 1 #if B4i scale = GetDeviceLayoutValues... = GetDeviceLayoutValues.NonnormalizedScale #End If ImageView.SetBitmap(bmp.Resize(ImageView... = Form1 MainForm.RootPane.LoadLayout("1") MainForm.Show Dim bmp As B4XBitmap = xui... B4A Question getDeviceLayoutValues - a n g l o (first post)    Jan 28, 2017 Thank you... B4A Library FirebaseAdMob - Admob ads integrated with Firebase backend - Erel    Jun 16, 2021   (21 reactions)   tags: ads, FirebaseAdMob, Admob, Firebase /6300978111", BannerAd.SIZE_SMART_BANNER) Dim height As Int If GetDeviceLayoutValues... B4A Question Strange result for GetDeviceLayoutValues - EduardoElias (first post)    Sep 7, 2013 Thank you,
It seemed strange for me.
However the reason of paying attention to this value is because I have 2 very different layouts of the same program. One that is better for small screens, and to take this decision I was trying to identify the device size.
However this is going to... German AutoScale & GetDeviceLayoutValues - normank (first post)    Feb 17, 2013 Danke!
Hallo Klaus,
danke, ich hatte nicht die aktuelle Version, d.h. ohne Kapitel 8.10.
norman... Page: 1   2   3   4   5   6   7   |