How to Create Spalace Layout

 How to  Create Spalace Layout :-  Now create a activity and add following code : 1. XML File <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:app="http://schemas.android.com/apk/res-auto"     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     tools:context=".SpalaceAct"     android:background="@drawable/side_nav_bar">     <ImageView         android:id="@+id/imageView2"         android:layout_width="match_parent"         android:layout_height="186dp"         android:layout_marginTop="150dp"         app:srcCompat="@mipmap/logo_image" />     <TextView         android:id="@+id/textView2"         android:layout_width="match_parent"         android:layout_heig