Android Application Development (AND-401) — Question 26

Which of the following is true about attribute android:windowSoftInputMode of the <activity> tag in file AndroidManifest.xml?

Answer options

Correct answer: B

Explanation

The correct answer is B because the android:windowSoftInputMode attribute specifically dictates how the main window interacts with the soft keyboard, affecting layout and visibility. Option A is incorrect as it pertains to full screen mode, which is not the focus of this attribute. Options C and D are also incorrect as they relate to window launching and orientation, respectively, which are outside the scope of this attribute's functionality.