images

  1. practicalsoft

    B4X FEED Change direction the image of my character.

    I have a character (object) that I created with Tiled, which has 3 images related to its movement (walking to the right). When it collides with another object I need it to return, but also for the associated images to change orientation (moving to the left), so that the sense of movement is...
  2. practicalsoft

    B4X FEED B4XPages & multi-screen

    Hi all, in 2020 which is the best approach in order to keep the correct aspect ratio of images within a mobile app ? From my experience on images (in this case startup screen logo) there are usually 3 strategies that can be adopted (in native apps in portrait mode): 1) single high resolution...
  3. practicalsoft

    B4X FEED Calculate number of rows to display images

    Logic fails me :( If I have a custom list view showing 4 images per row and say 87 images how would I calculate the number of rows and add the images without breaking code. I'm sure its obvious but I can't figure it out. I either end up one row short or a row with only one image but crash...
  4. abass

    برنامه نویسی اسکریپت نمایش تصویر پس از لود شدن کامل عکس مورد نظر

    اسکریپت نمایش تصویر پس از لود شدن کامل عکس مورد نظر HTML <img src="blank.gif" class="lazy" data-src="/images/full-size.jpg" width="240" height="152"> JavaScript !function(window){ var $q = function(q, res){ if (document.querySelectorAll) { res =...
  5. practicalsoft

    B4X FEED [Solved] Set BitmapDrawable gravity = Center (Native Ads Advanced)

    I use this code to set a image in native ad advanced. B4X: Dim images As List = NativeContentAd.RunMethod("getImages", Null) If images.IsInitialized And images.Size > 0 Then Dim image As JavaObject = images.Get(0) logoView.Background = image.RunMethod("getDrawable", Null)...
  6. practicalsoft

    B4X FEED Set BitmapDrawable gravity = Center (Native Ads Advanced)

    I use this code to set a image in native ad advanced. B4X: Dim images As List = NativeContentAd.RunMethod("getImages", Null) If images.IsInitialized And images.Size > 0 Then Dim image As JavaObject = images.Get(0) logoView.Background = image.RunMethod("getDrawable", Null)...
عقب
بالا