IOS
hefeixia
2021-02-18 49f3c1374873f73dbde2983ca0fcf1fb10bfedbf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
        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=".patient.ui.act.SplashActivity">
 
    <com.zhy.android.percent.support.PercentFrameLayout
            android:id="@+id/root_splash"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:background="@color/white"
            android:orientation="vertical">
 
        <com.zhy.android.percent.support.PercentLinearLayout
                android:layout_width="match_parent"
                android:layout_height="400dp"
                android:orientation="vertical"
                app:layout_marginTopPercent="30%h">
 
            <ImageView
                    android:id="@+id/imageView"
                    android:layout_gravity="center_horizontal"
                    android:layout_width="200dp"
                    android:layout_height="200dp"
                    app:srcCompat="@mipmap/ic_launcher"
                    />
 
            <TextView
                    android:id="@+id/slogan"
                    android:layout_width="wrap_content"
                    android:layout_height="40dp"
                    android:layout_gravity="center"
                    android:text="@string/slogan"
                    android:textColor="@color/colorCommonBlue"
                    android:textSize="@dimen/text_size_huge" />
            <TextView
                    android:id="@+id/panel"
                    android:layout_width="wrap_content"
                    android:layout_height="40dp"
                    android:textColor="@color/sbc_header_text"
                    android:textSize="@dimen/text_size_small"
                    android:text="@string/panel"
                    android:layout_gravity="center"
                    />
        </com.zhy.android.percent.support.PercentLinearLayout>
    </com.zhy.android.percent.support.PercentFrameLayout>
 
</androidx.constraintlayout.widget.ConstraintLayout>