Android: rephrase default value statement use in manifest doc page
Use "The default value is \c xxx" instead of "Default \c xxx". Pick-to: 6.2 6.3 Change-Id: Id75b45499c7fc0e9d42e66fa2b8b3515c863c61c Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
This commit is contained in:
parent
c099502622
commit
7d77deb281
@ -73,19 +73,19 @@ Qt sets the following manifest configuration by default:
|
|||||||
\row
|
\row
|
||||||
\li {1, 5} \l {Android: App Manifest <manifest>}{<manifest>}
|
\li {1, 5} \l {Android: App Manifest <manifest>}{<manifest>}
|
||||||
\li package
|
\li package
|
||||||
\li Sets the package name. Default: \c {org.qtproject.example.app_name}.
|
\li Sets the package name. The default value is \c {org.qtproject.example.app_name}.
|
||||||
\row
|
\row
|
||||||
\li \c {android:installLocation}
|
\li \c {android:installLocation}
|
||||||
\li Sets the app's installation location, whether internal or external storage.
|
\li Sets the app's installation location, whether internal or external storage.
|
||||||
Default: \c auto.
|
The default value is \c auto.
|
||||||
\row
|
\row
|
||||||
\li android:versionCode
|
\li android:versionCode
|
||||||
\li Sets the internal version code. Populated from \c ANDROID_VERSION_CODE (qmake)
|
\li Sets the internal version code. Populated from \c ANDROID_VERSION_CODE (qmake)
|
||||||
and \c QT_ANDROID_VERSION_CODE (CMake). Default: \c 1.
|
and \c QT_ANDROID_VERSION_CODE (CMake). The default value is \c 1.
|
||||||
\row
|
\row
|
||||||
\li android:versionName
|
\li android:versionName
|
||||||
\li Sets the public version name. Populated from \c ANDROID_VERSION_NAME (qmake)
|
\li Sets the public version name. Populated from \c ANDROID_VERSION_NAME (qmake)
|
||||||
and \c QT_ANDROID_VERSION_NAME (CMake). Default: \c {1.0}.
|
and \c QT_ANDROID_VERSION_NAME (CMake). The default value is \c {1.0}.
|
||||||
\row
|
\row
|
||||||
\li \c {<supports-screens>}
|
\li \c {<supports-screens>}
|
||||||
\li Sets the screen sizes that the app supports,
|
\li Sets the screen sizes that the app supports,
|
||||||
@ -94,20 +94,20 @@ Qt sets the following manifest configuration by default:
|
|||||||
\row
|
\row
|
||||||
\li {1, 5} \l {Android: App Manifest <application>}{<application>}
|
\li {1, 5} \l {Android: App Manifest <application>}{<application>}
|
||||||
\li android:name
|
\li android:name
|
||||||
\li The application class name. Default:
|
\li The application class name. Default value is
|
||||||
\c {org.qtproject.qt.android.bindings.QtApplication}.
|
\c {org.qtproject.qt.android.bindings.QtApplication}.
|
||||||
\row
|
\row
|
||||||
\li android:label
|
\li android:label
|
||||||
\li The application name label. Default: the Qt project's target name.
|
\li The application name label. Default value is the Qt project's target name.
|
||||||
\row
|
\row
|
||||||
\li android:extractNativeLibs
|
\li android:extractNativeLibs
|
||||||
\li Extracts the native C++ libraries on installation. Default: \c true.
|
\li Extracts the native C++ libraries on installation. The default value is \c true.
|
||||||
\row
|
\row
|
||||||
\li android:hardwareAccelerated
|
\li android:hardwareAccelerated
|
||||||
\li Sets hardware acceleration preference. Default: \c true.
|
\li Sets hardware acceleration preference. The default value is \c true.
|
||||||
\row
|
\row
|
||||||
\li android:requestLegacyExternalStorage
|
\li android:requestLegacyExternalStorage
|
||||||
\li Whether to use Android scoped storage. Default \c true.
|
\li Whether to use Android scoped storage. The default value is \c true.
|
||||||
\row
|
\row
|
||||||
\li android:allowNativeHeapPointerTagging
|
\li android:allowNativeHeapPointerTagging
|
||||||
\li Whether or not the app has the Heap pointer tagging feature enabled.
|
\li Whether or not the app has the Heap pointer tagging feature enabled.
|
||||||
@ -118,25 +118,25 @@ Qt sets the following manifest configuration by default:
|
|||||||
\row
|
\row
|
||||||
\li {1, 6} \l {Android: App Manifest <activity>}{<activity>}
|
\li {1, 6} \l {Android: App Manifest <activity>}{<activity>}
|
||||||
\li android:name
|
\li android:name
|
||||||
\li The activity class name. Default: \c {org.qtproject.qt.android.bindings.QtActivity}.
|
\li The activity class name. The default value is \c {org.qtproject.qt.android.bindings.QtActivity}.
|
||||||
\row
|
\row
|
||||||
\li android:label
|
\li android:label
|
||||||
\li The activity name label. Default: the Qt project's target name.
|
\li The activity name label. Default value is the Qt project's target name.
|
||||||
\row
|
\row
|
||||||
\li android:configChanges
|
\li android:configChanges
|
||||||
\li Lists configuration changes that the activity handles. Default:
|
\li Lists configuration changes that the activity handles. Default value is
|
||||||
\c orientation, \c uiMode, \c screenLayout, \c screenSize,
|
\c orientation, \c uiMode, \c screenLayout, \c screenSize,
|
||||||
\c smallestScreenSize, \c layoutDirection, \c locale, \c fontScale,
|
\c smallestScreenSize, \c layoutDirection, \c locale, \c fontScale,
|
||||||
\c keyboard, \c keyboardHidden, \c navigation, \c mcc, \c mnc, \c density.
|
\c keyboard, \c keyboardHidden, \c navigation, \c mcc, \c mnc, \c density.
|
||||||
\row
|
\row
|
||||||
\li android:launchMode
|
\li android:launchMode
|
||||||
\li The method used to launch the activity. Default: \c singleTop.
|
\li The method used to launch the activity. The default value is \c singleTop.
|
||||||
\row
|
\row
|
||||||
\li android:screenOrientation
|
\li android:screenOrientation
|
||||||
\li The orientation of the activity's display on the device. Default: \c unspecified.
|
\li The orientation of the activity's display on the device. The default value is \c unspecified.
|
||||||
\row
|
\row
|
||||||
\li <intent-filter>
|
\li <intent-filter>
|
||||||
\li Specifies the types of intents that the activity can respond to. Default:
|
\li Specifies the types of intents that the activity can respond to. Default value is
|
||||||
\badcode
|
\badcode
|
||||||
<action android:name="android.intent.action.MAIN"/>
|
<action android:name="android.intent.action.MAIN"/>
|
||||||
<category android:name="android.intent.category.LAUNCHER"/>
|
<category android:name="android.intent.category.LAUNCHER"/>
|
||||||
@ -166,19 +166,19 @@ The following is a list of such meta-data defined by Qt:
|
|||||||
\li android.app.lib_name
|
\li android.app.lib_name
|
||||||
\li The filename of the native C++ library that is used by the activity.
|
\li The filename of the native C++ library that is used by the activity.
|
||||||
\note This attribute is mandatory and shouldn't be removed.
|
\note This attribute is mandatory and shouldn't be removed.
|
||||||
Default: the Qt project's target name.
|
Default value is the Qt project's target name.
|
||||||
\row
|
\row
|
||||||
\li android.app.extract_android_style
|
\li android.app.extract_android_style
|
||||||
\li The method used to extract the native Android Style information.
|
\li The method used to extract the native Android Style information.
|
||||||
For more information, see \l {Style Extraction}.
|
For more information, see \l {Style Extraction}.
|
||||||
Default: \c minimal.
|
The default value is \c minimal.
|
||||||
\row
|
\row
|
||||||
\target android.app.background_running
|
\target android.app.background_running
|
||||||
\li android.app.background_running
|
\li android.app.background_running
|
||||||
\li Sets whether the app keeps running tasks in the background.
|
\li Sets whether the app keeps running tasks in the background.
|
||||||
Setting this to \c true is the equivalent of setting the environment
|
Setting this to \c true is the equivalent of setting the environment
|
||||||
variable \c QT_BLOCK_EVENT_LOOPS_WHEN_SUSPENDED to \c 0.
|
variable \c QT_BLOCK_EVENT_LOOPS_WHEN_SUSPENDED to \c 0.
|
||||||
Default: \c false.
|
The default value is \c false.
|
||||||
|
|
||||||
\warning Setting this to \c true may cause unexpected crash if the
|
\warning Setting this to \c true may cause unexpected crash if the
|
||||||
application tries to draw after \l {QGuiApplication::applicationStateChanged()}
|
application tries to draw after \l {QGuiApplication::applicationStateChanged()}
|
||||||
@ -189,24 +189,24 @@ The following is a list of such meta-data defined by Qt:
|
|||||||
\li Sets a list of arguments to pass to the app \c {"arg1 arg2"}.
|
\li Sets a list of arguments to pass to the app \c {"arg1 arg2"}.
|
||||||
Populated from \c ANDROID_APPLICATION_ARGUMENTS (qmake) and
|
Populated from \c ANDROID_APPLICATION_ARGUMENTS (qmake) and
|
||||||
\c QT_ANDROID_APPLICATION_ARGUMENTS (CMake).
|
\c QT_ANDROID_APPLICATION_ARGUMENTS (CMake).
|
||||||
Default: not set.
|
Default value is not set.
|
||||||
\row
|
\row
|
||||||
\li android.app.splash_screen_drawable_portrait
|
\li android.app.splash_screen_drawable_portrait
|
||||||
\li Sets a drawable for a splash screen specific to portrait mode.
|
\li Sets a drawable for a splash screen specific to portrait mode.
|
||||||
For example: \c {android:resource="@drawable/splash_portrait"}.
|
For example: \c {android:resource="@drawable/splash_portrait"}.
|
||||||
Default: not set.
|
Default value is not set.
|
||||||
\row
|
\row
|
||||||
\li android.app.splash_screen_drawable_landscape
|
\li android.app.splash_screen_drawable_landscape
|
||||||
\li Sets a drawable for a splash screen specific to landscape mode.
|
\li Sets a drawable for a splash screen specific to landscape mode.
|
||||||
For example: \c {android:resource="@drawable/splash_landscape"}.
|
For example: \c {android:resource="@drawable/splash_landscape"}.
|
||||||
Default: not set.
|
Default value is not set.
|
||||||
\row
|
\row
|
||||||
\li android.app.splash_screen_drawable
|
\li android.app.splash_screen_drawable
|
||||||
\li Sets a drawable for a splash screen at the start of the app.
|
\li Sets a drawable for a splash screen at the start of the app.
|
||||||
\note Orientation specific splash screens are checked first,
|
\note Orientation specific splash screens are checked first,
|
||||||
if not set, this is used instead.
|
if not set, this is used instead.
|
||||||
For example: \c {android:resource="@drawable/splash"}.
|
For example: \c {android:resource="@drawable/splash"}.
|
||||||
Default: not set.
|
Default value is not set.
|
||||||
\row
|
\row
|
||||||
\li android.app.splash_screen_sticky
|
\li android.app.splash_screen_sticky
|
||||||
\li Sets whether the splash screen stays visible until explicitly hidden
|
\li Sets whether the splash screen stays visible until explicitly hidden
|
||||||
@ -218,7 +218,7 @@ The following is a list of such meta-data defined by Qt:
|
|||||||
\li android.app.system_libs_prefix
|
\li android.app.system_libs_prefix
|
||||||
\li Specifies a custom system library path to use for library loading lookup.
|
\li Specifies a custom system library path to use for library loading lookup.
|
||||||
This is necessary when running as a system app.
|
This is necessary when running as a system app.
|
||||||
Default: \c {/system/lib/}.
|
The default value is \c {/system/lib/}.
|
||||||
\endtable
|
\endtable
|
||||||
|
|
||||||
\section2 Meta-data in Services
|
\section2 Meta-data in Services
|
||||||
|
Loading…
Reference in New Issue
Block a user