mirror of
https://github.com/timepill/timepill-app.git
synced 2025-04-30 01:49:30 +08:00
android 增加启动视图
This commit is contained in:
parent
4d470cd046
commit
62589cf390
1 changed files with 30 additions and 0 deletions
30
android/app/src/main/res/layout/splash_layout.xml
Normal file
30
android/app/src/main/res/layout/splash_layout.xml
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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:orientation="vertical"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="#FFFFFF">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView"
|
||||
android:layout_width="220dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_gravity="center"
|
||||
android:paddingBottom="100dp"
|
||||
app:srcCompat="@mipmap/logo_icon" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="240dp"
|
||||
android:paddingBottom="40dp"
|
||||
android:textSize="20sp"
|
||||
android:textColor="#007AFF"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:gravity="center_horizontal"
|
||||
android:text="凌晨零点 集体失忆" />
|
||||
|
||||
</RelativeLayout>
|
Loading…
Reference in a new issue