welcome page

chengzhenyu 8 年之前
父節點
當前提交
85cf3cf5ee
共有 1 個文件被更改,包括 5 次插入8 次删除
  1. 5 8
      app/src/main/res/layout/activity_splash.xml

+ 5 - 8
app/src/main/res/layout/activity_splash.xml

@@ -1,15 +1,12 @@
1 1
 <?xml version="1.0" encoding="utf-8"?>
2 2
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 3
     android:orientation="vertical" android:layout_width="match_parent"
4
-    android:background="@color/white"
5 4
     android:layout_height="match_parent">
6 5
 
7
-    <TextView
6
+    <ImageView
8 7
         android:layout_width="match_parent"
9
-        android:layout_height="wrap_content"
10
-        android:textSize="40sp"
11
-        android:layout_gravity="center"
12
-        android:gravity="center"
13
-        android:textColor="@color/black"
14
-        android:text="@string/app_name"/>
8
+        android:layout_height="match_parent"
9
+        android:src="@drawable/welcome_bg"
10
+        android:scaleType="fitXY"/>
11
+
15 12
 </LinearLayout>