|
|
@@ -1,5 +1,6 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="@color/white">
|
|
|
@@ -7,21 +8,27 @@
|
|
|
<ImageView
|
|
|
android:id="@+id/image"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ android:layout_height="0dp"
|
|
|
android:layout_above="@id/logo"
|
|
|
android:layout_alignParentTop="true"
|
|
|
android:scaleType="centerCrop"
|
|
|
- android:src="@mipmap/img_qidong" />
|
|
|
+ android:src="@mipmap/img_qidong"
|
|
|
+ app:layout_constraintDimensionRatio="1126:1673"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/logo"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="137dp"
|
|
|
+ android:layout_height="0dp"
|
|
|
android:layout_alignParentBottom="true"
|
|
|
android:paddingTop="19dp"
|
|
|
android:paddingBottom="19dp"
|
|
|
android:scaleType="centerInside"
|
|
|
- android:src="@mipmap/logo" />
|
|
|
+ android:src="@mipmap/logo"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/image" />
|
|
|
|
|
|
<FrameLayout
|
|
|
android:id="@+id/fl_skip"
|
|
|
@@ -34,7 +41,9 @@
|
|
|
android:clickable="true"
|
|
|
android:focusable="true"
|
|
|
android:focusableInTouchMode="false"
|
|
|
- android:padding="10dp">
|
|
|
+ android:padding="10dp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent">
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/btn_skip"
|
|
|
@@ -49,4 +58,4 @@
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
-</RelativeLayout>
|
|
|
+</android.support.constraint.ConstraintLayout>
|