Skip to content

Instantly share code, notes, and snippets.

@chipcerio
Created August 21, 2019 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chipcerio/18c98341619b8760f3b285a55a6d7186 to your computer and use it in GitHub Desktop.
Save chipcerio/18c98341619b8760f3b285a55a6d7186 to your computer and use it in GitHub Desktop.
Android Studio issues

Android Studio issues

AS doesn't show layout preview

When you're using this, for some reason Theme.AppCompat.Light.DarkActionBar causes this layout preview to not show;

<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">

Use this instead

<style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">

Then restart Android Studio

source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment