Android Question [Solved] Samsung Dex Maximize Not Work with B4A app

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
Hi
If I using samsung dex "android full desktop show in large TV screens", my B4A apps run smoothly in portrait or landscape orientations, these orientations are still small & not take all screen height/width , for example: I see in Youtube app it has Maximize handler, but our B4A has only change orientation handler!

Any suggestion how to activate Maximize button/handler for our B4A apps to fit entire large TV screen?
 

Attachments

  • WhatsApp Image 2020-09-02 at 2.39.09 PM.jpeg
    64 KB · Views: 161
  • WhatsApp Image 2020-09-02 at 2.39.13 PM.jpeg
    69.4 KB · Views: 164

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
After research .. I found the solution:
Adding this to manifest:
B4X:
SetActivityAttribute(Main, android:resizeableActivity, "true")
You should copy/paste the code for other activities "replace main with the activity name"
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…