The problem is, when we want to drag a component to the layout design window, the component is not shown. But we could see the attributes of it on the right.

Now find app\res\values\styles.xml and modify it.

Change this line

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


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



Leave a Reply

Your email address will not be published. Required fields are marked *