Android Question Problem with render layout

Matteo Giorgini

Member
Licensed User
Hi guys!
I had develop an APK with B4A 6.80. Now, I must implement a new feature and I opening project with B4A v. 9.50.
For some activities I built a specified layout that now not rendered and I don't understand why.
I try to deploy APK on Samsung Galaxy J6 device (Android 9 Pie) and, for example, buttons aren't rendered.
I use jdk-11.0.1, android-28 platform.
I searched some similar problems, but I don't found and I don't solved.

An example:
Activity.LoadLayout("MenuConfigMain")
ScrollViewArea.Panel.LoadLayout("MenuConfig")


Can you help me?

Thanks in advance.

Matteo
 

Attachments

  • menuconfig.bal
    3.1 KB · Views: 149
  • menuconfigmain.bal
    1.4 KB · Views: 140

Matteo Giorgini

Member
Licensed User
Hi,
I tried to change device; I found an old device with Android 5.1, where runs previous versione of apk.
On that device I don't have any problems.
I just continue to don't understand...
The last chance is to unmount the APK for catch istruction with problem.

From Android 5.1 to 9.0 management of services was changed?

Do you have other ideas?

Thanks in advance,
Matteo
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
From Android 5.1 to 9.0 management of services was changed?
A lot has changed.

 
Upvote 0

Matteo Giorgini

Member
Licensed User
Are you sure that the problem is not Android?
The look of the layouts changes with almost every new release of Android.
Light themes, dark themes, light themes etc.

Thanks for suggest, but same layout in a new project on same device, in debug or release mode, works perfectly.

Matteo
 
Upvote 0

Matteo Giorgini

Member
Licensed User
A lot has changed.


Thanks for suggest and link!

I see right there...
On Activity_Create of Main activity I started five services and then create components inline.
After, start another activity with load layout. In same cases components don't rendered.

Matteo
 
Upvote 0
Top