Fix Android support design library freeze, with no error

When I’m setting up the library, and trying to use Material Design EditText layout. When the activity open up, it freeze and no error output comes out. If you ran into the same problem, here may be your fix

Add this to your styles.xml

<item name="colorPrimary">#2196F3</item>
<item name="colorPrimaryDark">#1565C0</item>
<item name="colorAccent">#E91E63</item>

Here is my AppTheme configuration

<style name="AppTheme" parent="Base.AppTheme">
    <item name="android:windowNoTitle">true</item>
</style>

<style name="Base.AppTheme" parent="Theme.AppCompat.Light">
    <item name="colorPrimary">#2196F3</item>
    <item name="colorPrimaryDark">#1565C0</item>
    <item name="colorAccent">#E91E63</item>
</style>

For those who don’t know what Android Design Support is, Google has provided us with library for creating UI based on Material Design principle. It’s awesome period.

If you want to learn more and use it in your app please follow this link