title: Android layout preview not loading in android studio 3.1.3
body: <p>The problem here is that the preview tool from android studio won't load my view, the other views i have it's fine.</p>
  <p>activity_maps_view.xml</p>
  <pre><code>&lt;RelativeLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;
      xmlns:tools=&quot;http://schemas.android.com/tools&quot;
      android:id=&quot;@+id/relativeTop&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;match_parent&quot;
      tools:context=&quot;.View.MapsView&quot;&gt;
  
      &lt;ScrollView
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;wrap_content&quot;&gt;
  
          &lt;LinearLayout
              android:layout_width=&quot;match_parent&quot;
              android:layout_height=&quot;wrap_content&quot;
              android:orientation=&quot;vertical&quot;&gt;
  
              &lt;LinearLayout
                  android:layout_width=&quot;match_parent&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:orientation=&quot;horizontal&quot;&gt;
                  &lt;ImageView
                      android:id=&quot;@+id/imageView4&quot;
                      android:layout_width=&quot;match_parent&quot;
                      android:layout_height=&quot;wrap_content&quot;
                      android:adjustViewBounds=&quot;true&quot;
                      android:contentDescription=&quot;@string/signin_logoBackground&quot;
                      android:cropToPadding=&quot;true&quot;
                      android:scaleType=&quot;centerInside&quot;
                      app:srcCompat=&quot;@drawable/login_logo_3x&quot; /&gt;
  
  
              &lt;/LinearLayout&gt;
  
              &lt;android.support.design.widget.BottomNavigationView
                  android:id=&quot;@+id/top_navigation_view&quot;
                  android:layout_width=&quot;match_parent&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  app:itemBackground=&quot;@android:color/white&quot;
                  app:itemIconTint=&quot;@drawable/nav_selector&quot;
                  app:itemTextColor=&quot;@drawable/nav_selector&quot;
                  app:menu=&quot;@menu/top_menu&quot;&gt;
  
              &lt;/android.support.design.widget.BottomNavigationView&gt;
  
          &lt;/LinearLayout&gt;
      &lt;/ScrollView&gt;
  
      &lt;fragment
          android:id=&quot;@+id/map&quot;
          android:name=&quot;com.google.android.gms.maps.SupportMapFragment&quot;
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;match_parent&quot;
          tools:layout=&quot;@layout/activity_maps_view&quot; /&gt;
  
      &lt;android.support.design.widget.BottomNavigationView
          android:id=&quot;@+id/bottom_navigation_view&quot;
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:layout_alignParentBottom=&quot;true&quot;
          app:itemBackground=&quot;@android:color/white&quot;
          app:itemIconTint=&quot;@drawable/nav_selector&quot;
          app:itemTextColor=&quot;@drawable/nav_selector&quot;
          app:menu=&quot;@menu/bottom_menu&quot;&gt;
  
      &lt;/android.support.design.widget.BottomNavigationView&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  <p>build.grade</p>
  <pre><code>apply plugin: 'com.android.application'
  
  apply plugin: 'kotlin-android'
  
  apply plugin: 'kotlin-android-extensions'
  
  android {
      compileSdkVersion 27
      defaultConfig {
          applicationId &quot;de.bho_dive.app.android&quot;
          minSdkVersion 21
          targetSdkVersion 27
          versionCode 1
          versionName &quot;1.0&quot;
          testInstrumentationRunner &quot;android.support.test.runner.AndroidJUnitRunner&quot;
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      implementation fileTree(dir: 'libs', include: ['*.jar'])
      implementation &quot;org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version&quot;
      implementation 'com.android.support:appcompat-v7:27.1.1'
      implementation 'com.android.support.constraint:constraint-layout:1.1.2'
      testImplementation 'junit:junit:4.12'
      androidTestImplementation 'com.android.support.test:runner:1.0.2'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
      implementation 'com.android.volley:volley:1.1.0'
      implementation 'com.android.support:design:27.1.1'
  
      implementation 'com.google.android.gms:play-services-maps:15.0.1'
      implementation 'com.google.android.gms:play-services-location:15.0.1'
  }
  </code></pre>
  <p><img src="https://i.stack.imgur.com/Fdm15.png" alt="error" /></p>
  <p>As you can see, the preview tool won't show anything, i already tried to change the theme, change the android version, restart android studio, import again the project, and nothing seems to work.
  Any ideas?</p>