Try to use "Base.Theme.AppCompat.Light.DarkActionBar". It seems sometimes it need the "Base" prefix to work properly. If that doesn't work, go for Build > Rebuild Project and File > Invalidate caches/Restart.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • java.util.concurrent.TimeoutException: Preview timed out while rendering the layout. This typically happens when there is an infinite loop or unbounded recursion in one of the custom views. at at$1400( at$ at$ZipFileInflaterInputStream.fill( at at at at com.intellij.util.lang.MemoryResource.load( at com.intellij.util.lang.JarLoader.getResource( at com.intellij.util.lang.ClassPath.getResource( at com.intellij.util.lang.UrlClassLoader._getResource( at com.intellij.util.lang.UrlClassLoader.getResourceAsStream( at java.lang.ClassLoader.loadClass( at java.lang.ClassLoader.loadClass( at<init>( at java.lang.reflect.Constructor.newInstance( at android.view.LayoutInflater.createViewFromTag( at android.view.LayoutInflater.inflate( at android.view.LayoutInflater.inflate( at<init>( at<init>( at at<init>(

Users with the same issue

Unknown visitor1 times, last one,