DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

built_in:get_display_height [2015/03/04 16:25] (current)
octazid created
Line 1: Line 1:
 +//​(Information and examples taken from the DroidScript documentation)//​
 +The **GetDisplayHeight** method gets the height of the screen area available to your app in pixels. This excludes the notification bar area at the top of the screen (if it's visible). ​
 +<​code>​ app.GetDisplayHeight();</​code>​
 +<code javascript>​
 +function OnStart()
 +  height = app.GetDisplayHeight();​
 +  app.ShowPopup( height );
built_in/get_display_height.txt ยท Last modified: 2015/03/04 16:25 by octazid