I want my Android application to work as shown below. 1) Portrait mode: with a title 2) Landscape mode: without a title (due to height restrictions)
I know that I can implement 1) using requestWindowFeature (Window.FEATURE_NO_TITLE), but how can I dynamically change from 1 to 2) when the phone is rotated?
source
share