splash screen improvemnets.

This commit is contained in:
Bryce Covert
2017-09-21 08:37:53 -07:00
parent 74a7c8cd06
commit 9af1f77e0a
7 changed files with 13 additions and 54 deletions

View File

@@ -1,59 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:orientation="vertical"
android:layout_margin="10dp"
android:background="@drawable/splash_background" >
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_centerInParent="true"
android:background="@drawable/splash_background" >
<ImageView
android:id="@+id/splash_droid"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:src="@drawable/splash_droid" >
</ImageView>
<ImageView
android:id="@+id/splash_circles"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/splash_circle" >
</ImageView>
<ImageView
android:id="@+id/splash_droid_hands"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/splash_hands" >
</ImageView>
</RelativeLayout>
<TextView
android:id="@+id/splash_app_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="18dp"
android:text="Application name"
android:textSize="30sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="18dp"
android:text="Please wait for the application to load..." />
</LinearLayout>
</RelativeLayout>