Oracle
1Z0-441 · Question #41
When the user rotates a mobile device from portrait to landscape, you want the screen layout in your application to change to make use of the rearranged screen real estate. Which two EL expressions…
The correct answer is C. #{deviceScope.hardware.screen.availableWidth <. See the full explanation below for the reasoning.
Question
When the user rotates a mobile device from portrait to landscape, you want the screen layout in your application to change to make use of the rearranged screen real estate. Which two EL expressions would you use to determine the device orientation?
Options
- A#{deviceScope.orientation}
- C#{deviceScope.hardware.screen.availableWidth <
- D#{device.screenWidth < device.screenHeight ?'portrait':'landscape'}
How the community answered
(37 responses)- A8% (3)
- C81% (30)
- D11% (4)
Community Discussion
No community discussion yet for this question.