Android Learning notes mainfest files in Android properties

Source: Internet
Author: User

Android Learning note mainfest file in Android Properties-Impossible is nothing-blog channel-csdn.net

Before the scattered notes, share, the wrong place also please correct me.

Android:allowtaskreparenting

Whether to allow activity to replace dependent tasks, such as switching from a short message task to a browser task.
--------------------------------------------------------------------------------------
Android:alwaysretaintaskstate

Whether to keep the state unchanged, such as switching back to home, and then new open, the activity is in the final state
--------------------------------------------------------------------------------------
Android:cleartaskonlanunch

For example, p is activity, Q is the activity that is triggered by P, and then returns to home, the new start P, whether to show Q
--------------------------------------------------------------------------------------
Android:configchanges

is the onconfigurationchanged () method called when the configuration list has been modified? such as "Locale|navigation|orientation".
--------------------------------------------------------------------------------------

Android:enabled

Whether the activity can be instantiated,
--------------------------------------------------------------------------------------

Android:excludefromrecents

Whether it can be displayed in the recently opened Activity list
--------------------------------------------------------------------------------------
android:exported

Whether activity is allowed to be called by other programs
--------------------------------------------------------------------------------------
Android:finishontasklaunch

Whether to close open activity when the user restarts the task
--------------------------------------------------------------------------------------
Android.icon
--------------------------------------------------------------------------------------
Android:label
--------------------------------------------------------------------------------------
Android:launchmode

How does the activity start? "Standard" "Singletop"? "Singletask" "SingleInstance"? One of the first two is a group, the last two are a group
--------------------------------------------------------------------------------------

Android:multiprocess
Allow multi-process
--------------------------------------------------------------------------------------
Android:name

The class name of the activity, which must be specified

--------------------------------------------------------------------------------------
Android:onhistory
Whether you need to remove this activity when the user switches to another screen. This attribute is introduced in API level 3.
--------------------------------------------------------------------------------------

Android:permission
--------------------------------------------------------------------------------------
Android:process
The name of the process in which the activity is run, and all program components run in the application's default process, which is the same name as the application's package name. The element process property in <application> can set a new default value for all components. But any component can override this default value, allowing you to put your program in a multi-process run. If this property is assigned the name begins with: When the activity is running, a new process dedicated to the program will be created. If the process name starts with a lowercase letter, the activity will run in the global process and be provided by its permission.
--------------------------------------------------------------------------------------

Android:screenorientation

Activity shows the mode,? "Unspecified" default value? "Landscape" landscape pattern, wider than height? "Portrait" portrait mode, height than width.? "User" settings? "Behind"? "Sensor" "Nosensor"

--------------------------------------------------------------------------------------

android:statenotneeded

Whether the activity is destroyed and successfully restarted does not save the state

--------------------------------------------------------------------------------------

Android:taskaffinity

The activity's kinship, by default, has the same relationship as the activity under an application

--------------------------------------------------------------------------------------

Android:theme

Activity's style theme, if not set, the activity's theme style belongs to the application, see the <application> element's Theme property
--------------------------------------------------------------------------------------

Android:windowsoftinputmode

Interactive mode of Activity main window and soft keyboard, since API Level 3 was introduced

Android Learning notes mainfest files in Android properties

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.