Androidmainifest Label Usage Instructions 3--<activity-alias>

Source: Internet
Author: User


Format:
<activity-alias android:enabled=["true" | "false"]                android:exported=["true" | "false"]                android:icon= "drawable resource"                android:label= "string resource"                android:name= "string"                Android:permission= "string"                android:targetactivity= "string" >    : .</activity-alias>


Parent Tag:<application>


Sub-label:<intent-filter>
<meta-data>


Description: An activity alias named by Targetactivity. The target activity must be included in the same application. Must be declared before the alias declaration. An alias behaves as a separate entity of the target activity, and can have its own intent filter. And these filters do not work on the target activity.


Property:

Android:enabled default True.
With this alias, the target activity can be instantiated.


Android:exported default false.
Whether other components applied through the alias can initiate the target activity.


Android:icon set icon.


Android:label the Settings tab.


The unique name of the Android:name alias.


Android:permission the permissions required to start the alias setting.


Android:targetactivity the activity of the target.
Related Article

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.