How to Resolved "Failed to find style 'coordinatorLayoutStyle' in current theme"


How to Resolved "Failed to find style 'coordinatorLayoutStyle' in current theme" when you using the latest version of android studio (3.0), along with latest build tools (27) and similar API level.

The layout does not get rendered in the design tab and it's causing a lot of trouble especially that when I'm using coordinator layout.

How do I get around this problem?

To resolved this, I solved this rendering problem by simply inserting this line into the application theme, at style.xml.

<style name="AppTheme.NoActionBar">
  <item name="coordinatorLayoutStyle">@style/Widget.Design.CoordinatorLayout</item>
</style>

Komentar

Anonim mengatakan…
tetap tidak bisa, malah yang ada tulisannya merah

Postingan populer dari blog ini

Mengatasi Masalah Foreign Key Constraint Ketika Migrasi Database di Laravel 5.4

Mengatasi Masalah No Hint Path Define for [datatables] di Laravel 5.4 dan Yajra 7.0

Mengatasi Tampilan Tidak Rapih pada Saat Instalasi Awal OJS 3