Android windowIsTranslucent fix orientation to portrait

I have an activity that I would like to start using:

<item name="android:windowIsTranslucent">true</item>

      

I don't understand why orientation is locked on portrait on phone devices, but not on tablet. When I remove this flag, the orientation is available on both tubes and tablets.

Answer: Stackoverflow

+3


source to share





All Articles