Android Question full screen set

SamuelSlf

Member
Licensed User
Longtime User
Hi,

Yes, it is possible!
If you want use just a WebView you have to define the height and width as 100% when you start your application, so, your application will be responsive.

Example:

B4X:
Activity.LoadLayout("YOUR_LAYOUT")
  
YOUR_COUNTROL.Height = 100%y
YOUR_COUNTROL.Width = 100%x

You can remove the Title too
B4X:
#IncludeTitle: False

But if you use many components, you have to use 'dip' units, i recommed you read the Erel's Tutorial
(Supporting multiple screens - tips and best practices)

https://www.b4x.com/android/forum/t...ns-tips-and-best-practices.17647/#post-101118

If you need show your application FullScreen, in #Region Activity Attributes you have to set #FullScreen: True

Hope I helped you.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…