[PATCH] add support for <preference name="fullscreen"> to res/xml/phonegap.xml
------------------------------------------------------------------------------

                 Key: CB-147
                 URL: https://issues.apache.org/jira/browse/CB-147
             Project: Apache Callback
          Issue Type: New Feature
          Components: Android
    Affects Versions: 1.3.0
            Reporter: Andrew Lunny
             Fix For: 1.3.0
         Attachments: 0001-reading-preferences-from-phonegap.xml.patch, 
0002-using-preference-fullscreen-for-fullscreen-view.patch

Two patch files:

* 0001 modifies DroidGap.loadConfiguration to look for <preference> tags. 
Preference tag syntax matches that  specified by the W3C config.xml spec 
(http://www.w3.org/TR/widgets/#the-preference-element-and-its-attributes). Two 
extra classes - PreferenceNode and PreferenceSet - are created for this 
purpose. Tests are present for these two classes (depending on an earlier patch 
- see issue CB-146).
* 0002 uses the PreferenceNode/PreferenceSet added by 0001 to look for a 
"fullscreen" preference in res/xml/phonegap.xml. If present and set to "true", 
the WindowManager.LayoutParams.FLAG_FULLSCREEN flag is set on the main DroidGap 
window

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to