Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您如何以编程方式找到我们在清单中声明的有关 Activity 的选项?例如,我想知道是否设置android:configChanges或android:screenOrientation设置为什么。
android:configChanges
android:screenOrientation
用于PackageManager获取ApplicationInfo、ActivityInfo等与您正在寻找的信息。configChanges并且screenOrientation在ActivityInfo.
PackageManager
ApplicationInfo
ActivityInfo
configChanges
screenOrientation