<?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>
|