<activity android:allowTaskReparenting=["true" | "false"]
android:alwaysRetainTaskState=["true" | "false"]
android:clearTaskOnLaunch=["true" | "false"]
android:configChanges=["mcc", "mnc", "locale",
"touchscreen", "keyboard", "keyboardHidden",
"navigation", "orientation", "screenLayout",
"fontScale", "uiMode"]
android:enabled=["true" | "false"]
android:excludeFromRecents=["true" | "false"]
android:exported=["true" | "false"]
android:finishOnTaskLaunch=["true" | "false"]
android:hardwareAccelerated=["true" | "false"]
android:icon="drawable resource"
android:label="string resource"
android:launchMode=["multiple" | "singleTop" |
"singleTask" | "singleInstance"]
android:multiprocess=["true" | "false"]
android:name="string"
android:noHistory=["true" | "false"]
android:permission="string"
android:process="string"
android:screenOrientation=["unspecified" | "user" | "behind" |
"landscape" | "portrait" |
"sensor" | "nosensor"]
android:stateNotNeeded=["true" | "false"]
android:taskAffinity="string"
android:theme="resource or theme"
android:windowSoftInputMode=["stateUnspecified",
"stateUnchanged", "stateHidden",
"stateAlwaysHidden", "stateVisible",
"stateAlwaysVisible", "adjustUnspecified",
"adjustResize", "adjustPan"] >
. . .
</activity>
노력이 링크 -> http://developer.android.com/guide/topics/manifest/activity-element.html
QuickContactBadge 그래도되는 독립적 인 위젯, 아니? 나는 그걸 좋아할 수 있니? 나는 원래 QuickContactBadge'onClick' 이벤트에 이벤트 핸들러를 붙이려고했으나, 고유 한 클릭 이벤트를 덮어 썼고 배지는 사용자가 클릭했을 때 더 이상 QuickContactCard를 표시하지 않았습니다. (이 시점까지 noHistory 플래그가 고정되어 있다고 생각했습니다.) QuickContactBadge에서'onStartActivity' 이벤트가 보이지 않습니다. – eidylon
아, 죄송합니다. 귀하의 질문에 이름을 지정한 객체가 API에 포함되어 있다는 것을 알지 못했습니다. 나는 실제로 아주 비슷한 위젯을 독자적으로 구현했습니다. 어쨌든 부울 값을 트리거로 사용하는 것은 어떻습니까? 기본값 "true"로 설정할 수 있습니다. 사용자가 Configuration Activity를 친다면 false로 설정하십시오. 그렇지 않으면 원래 Activity의 onPause()에서 부울이 true이면'finish()'를 호출하십시오. –
오, 그게 효과가있을 것 같은데. 나는 그것에게 시도와 보고서를 돌려줘야 할 것이다. ... – eidylon