redbadger/pride-london-app

View on GitHub
android/app/src/main/res/layout/launch_screen.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/splash_bg"
    android:orientation="vertical">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:layout_gravity="center">

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="436dp"
            android:gravity="top|center_horizontal">

            <ImageView
                android:id="@+id/Splash"
                android:layout_width="172dp"
                android:layout_height="236dp"
                android:contentDescription="Discover, Plan, Love"
                android:visibility="visible"
                android:src="@mipmap/splash" />
        </RelativeLayout>
    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        android:gravity="bottom">

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="137dp"
            android:gravity="center_horizontal">

            <ImageView
                android:id="@+id/Logo"
                android:layout_width="172dp"
                android:layout_height="67dp"
                android:visibility="visible"
                android:src="@mipmap/logo" />

        </RelativeLayout>
    </LinearLayout>
</FrameLayout>