I am running the latest version of android studio, the problem in the preview area does not display the ActionBar when using any of AppCompat themes, if I change the theme of the preview panel, it works fine (does not change the current theme), but is there any disagreement on this
my styles.xml is as follows
<resources> <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> </style> </resources>
when the preview area is set to AppTheme, the ActionBar does not appear, however it works fine on my device and AVD,

As you can see, this makes debugging and testing the ActionBar difficult.
Please suggest a little fix for this, and how exactly does the AppCompat theme differ from the usual one? I'm just a beginner android.
Thanks!
android android-studio android-actionbar android-styles android-theme
Sainath sr
source share