Я использую Android Studio 3.0 для создания приложения для Android.
Но проблема, с которой я сталкиваюсь, заключается в том, что редактор / средство просмотра макета не работает должным образом.Иногда он ничего не показывает, а иногда показывает серый прямоугольник со всеми навигационными кнопками.
Это скриншоты
![Screenshot 1](https://i.stack.imgur.com/zB2rF.png)
![Screenshot 2](https://i.stack.imgur.com/sBmwQ.png)
Я использую buildToolsVersion '26.0.2'
, а версия библиотеки поддержки - 23.0.1
Любая помощь будет очень полезна.
РЕДАКТИРОВАТЬ: Это мой макет XML
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#000000"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="100dp"/>
<ImageView
android:id="@+id/logo"
android:layout_width="150dp"
android:layout_height="150dp"
android:layout_gravity="center"
android:background="@drawable/logo" />
<TextView
android:id="@+id/name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="10dp"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="#FFFFFF"
android:textSize="33dp"
android:textStyle="bold" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="30dp"
android:layout_marginBottom="15dp">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_margin="15dp"
android:textColor="#FFFFFF" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>