Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-147

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.0
    • 1.4.0
    • cordova-android
    • None

    Description

      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

      Attachments

        Activity

          People

            bowserj Joey Robert Bowser
            alunny Andrew Lunny
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: