Androidmanifest.xml file Details (permission-group)

Source: Internet
Author: User

http://blog.csdn.net/think_soft/article/details/7578760

Syntax (SYNTAX):

<permission-groupAndroid:Description="string Resource"
Android:icon="drawable Resource"
android:label = string resource "
                  android:name =" String "/>

Included in (CONTAINED in):

<manifest>

Description (DESCRIPTION):

Declares a logical grouping name for the associated permission. Separate permissions are added by the Permissiongroup attribute of the <permission> element to the group of permissions. The members of the same group are shown together in the user's interface.

It is important to note that the element itself does not declare a permission, it is simply a classification that places the relevant permissions. For information about declaring permissions and grouping of permissions, see the <permission> element.

Properties (ATTRIBUTES):

Android:description

This property is used to define a user-readable descriptive text for a permission group. This text should be longer and more detailed than the label. This property must refer to a string resource, not the same as the Label property, and it is not able to use the native string.

Android:icon

This property defines an icon that represents the permission. This property is defined using a drawing resource that contains the picture definition.

Android:label

This property defines a user-readable name for the permission group. For ease of development, this property can be set directly using the native string at development time. However, when an application is formally published, it should be set using a string resource so that it can be localized like any other string in the user interface.

Android:name

This property defines the name of the permission group, which is the name of the Permissiongroup property that can be assigned to the <permission> element.

Introduced version (introduced in):

API Level 1

Androidmanifest.xml file Details (permission-group)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.