Set the size of the screen
Description:
The following example shows how to use the different sizes of the screen offered the appuifw module.
###################################################
#Python examples for AAU Mobile Phone Programming #
#(c) Mobile Phone Group #
###################################################
import appuifw
def set_Normal():
appuifw.app.screen='normal'
note(u'Normal Screen','info')
def set_Large():
appuifw.app.screen='large'
note(u'Large Screen','info')
def set_Full():
appuifw.app.screen='full'
note(u'Full Screen','info')
def main_menu():
appuifw.app.menu = [(u"Normal", set_Normal),(u"Large",set_Large),(u"Full",set_Full)]
app.title=u"Screen"
main_menu()
Download
Output:
The following screenshots are the outcome. Just click on the icons to enlarge them for a better view.



