Jump to content
Sign in to follow this  
gats

[TfgForm] SystemStatusBar.BackgroundColor doesn't change color on device

Recommended Posts

hello

I tried changing the background color on the systemstatusbar, but it didn't have the effect after it was compiled to a device with the results fixed with the original color of the device's theme. Is my method incorrect?

image.png.21e3d0f9f08ae0e3b70305375366ef5a.png

thank you

Share this post


Link to post
Share on other sites

Hello,

i have try with Samsung A30, Nokia 1TA-1047, Xiaomi Redmi Note 7 and Vivo V19. all that device same, There is no effect when changing the color of the system status.

Thanks

Share this post


Link to post
Share on other sites

Fixed in 1.4.0.0.

You can replace jar files in installer folder on new one from attached zip. It will fix issue: fgx.dex.jar.zip

  • Libs\Common\Android\Release\jar\fgx.dex.jar
  • Libs\Common\Android\Debug\jar\fgx.dex.jar
  • Like 2

Share this post


Link to post
Share on other sites
6 hours ago, Yaroslav Brovin said:

Hello,

Ok got it. Confirm, it's a bug. 

Temporary workaround: Set background color in runtime.

Thank you

yes i have try with this before and it's work.

Share this post


Link to post
Share on other sites
5 hours ago, Yaroslav Brovin said:

Fixed in 1.4.0.0.

You can replace jar files in installer folder on new one from attached zip. It will fix issue: fgx.dex.jar.zip

  • Libs\Common\Android\Release\jar\fgx.dex.jar
  • Libs\Common\Android\Debug\jar\fgx.dex.jar

thanks you, it's work. You rock!

  • Like 1

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Similar Content

    • By Luke
      Hi Guys,
      i know that this isn't a specific question about FGX but i try to ask you.

      I attach a little demo source code that i'm writing.
      I'm using a DrawerLayout and i show differents forms in the Content.
      All works perfectly.

      When i've to destroy the Form i've seen in your Demo that i've to write the rows below :

            MyForm.Parent := nil;
            FreeAndNil(MyForm);

      If i do that, it works perfectly, but, if i comment the "MyForm.Parent := nil" and i call only FreeAndNil, for Delphi MyForm is destroyed but for Android no, because i can see it in my content and i can work with it.

      I know that Java use the Garbage Collector so i'm worried about "Free Form Memory".

      In Delphi, if i seen MyForm = nil i will create it another time so, how many MyForm i've in memory ?

      I've a second question, not so important, but i try to ask:
      My TFrameUsers load data from a Rest Service into a CollectionView.
      I know that i can write better code, but i see that if i try to scroll the CollectionView, it is slow in the first 2 seconds, and then it is very fast!
      I can't understand why it is slow at the beginning...
      I'm sure that all data is available so, do you have any idea in "Why it is slow at the begin?"
      Many Thanks guys.
       
      Demo01.zip
    • By Stas
      Здравствуйте, странная ситуация.
      Имеем
      MainForm TfgNavigatorBar TfgCollectionView SecondForm TfgNavigatorBar TfgCardPanel У всех относительное расположение.
      У TfgCollectionView есть событие onTapItem, по которому вызывается вторая форма.
      Так вот при тапе на TfgCardPanel второй формы, радостно срабатывает событие onTapItem,
      Важный нюанс TfgCardPanel должно находиться прямо под TfgNavigatorBar
      Спасибо
       
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...