android - No landscape mode when using AlertDialog Theme -


i'm using alertdialog theme show activity dialog. styles.xml:

<resources>  <style name="apptheme" parent="theme.appcompat.light.dialog.alert">     <item name="colorprimary">@color/colorprimary</item>     <item name="colorprimarydark">@color/colorprimarydark</item>     <item name="coloraccent">@color/coloraccent</item>  </style>  <style name="theme.customdialogtheme" parent="@style/apptheme">     <item name="android:windownotitle">true</item> </style>  </resources> 

the theme set in androidmanifest file , works far. i've noticed activity runs in portrait mode. if rotate device nothing happens. activity normal activity extends appcompatactivity.

do need specific configurations landscape mode?


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -