gravity

  1. practicalsoft

    B4X FEED changing tiled (json) properties from B4X code.

    Is there a way to change the properties from B4X (with code) of an object created in Tiled? Specifically I am looking for a way to change the gravity of a object, according to an event that happens within my code in B4X. The gravity configured in Tiled is 1.0, but depending on some event that I...
  2. practicalsoft

    B4X FEED Table view

    I am using the Table.bas module as per the example. Here is my Main routine: Main: public Sub GetMessagesSent DateTime.DateFormat = "dd-MMM-yy" Dim req As DBRequestManager = CreateRequest Dim cmd As DBcommand = CreateCommand("showsentmessages", Array(AndroidID)) Dim...
  3. 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)...
  4. 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)...
  5. practicalsoft

    B4X FEED B4XTable1 - Gravity.FILL

    Hi, Here is my test code: The problem is that after refreshing B4XTable1 Gravity.FILL does not function properly as intended. Only after restarting the Gravity.FILL application does the pictures work as it should. What could be the reason? To determine the size of the image, I use: Buffer =...
عقب
بالا