splash screen design changed

This commit is contained in:
cimenmus
2018-08-24 21:47:49 +03:00
parent ce86b7f951
commit 9ef14e23a8
4 changed files with 14 additions and 90 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 KiB

View File

@@ -15,40 +15,22 @@
android:scaleType="centerCrop"
android:src="@drawable/background_wood"/>
<ImageView
android:id="@+id/pizzappSplashLogoImageView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:src="@drawable/pizzapp_splash_logo"
android:adjustViewBounds="true"
android:layout_margin="16dp"
android:scaleType="fitXY" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_margin="8dp">
<ImageView
android:id="@+id/campaign1ImageView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:src="@drawable/angebot1"
android:adjustViewBounds="true"
android:layout_gravity="center_horizontal"
android:scaleType="fitXY" />
<ImageView
android:id="@+id/campaign2ImageView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:scaleType="fitXY"
android:layout_gravity="center_horizontal"
android:layout_marginTop="8dp"
android:src="@drawable/angebot2"/>
<ImageView
android:id="@+id/pizzappSplashLogoImageView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:src="@drawable/pizzapp_splash_logo"
android:adjustViewBounds="true"
android:layout_marginTop="8dp"
android:scaleType="fitXY" />
android:layout_margin="8dp"
android:layout_centerInParent="true">
<RelativeLayout
android:id="@+id/choosePostCodeLayout"
@@ -100,36 +82,4 @@
</LinearLayout>
</RelativeLayout>
<!--
<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="ch.pizzapp.android.activity.SplashActivity"
android:background="@color/white">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/background_wood"/>
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:scaleType="fitXY"
android:layout_centerInParent="true"
android:text="Hello World!"
android:layout_margin="64dp"
android:src="@drawable/splash_logo"/>
</RelativeLayout>
-->
</RelativeLayout>