Files
yuliao_and/app/src/main/res/layout/activity_welcome.xml
2025-08-08 15:07:14 +08:00

78 lines
2.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:id="@+id/big_bg"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".welcome.WelcomeActivity">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="3"
android:gravity="center_horizontal">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/app_yunxin_icon"
android:layout_width="119.7dp"
android:layout_height="164.7dp"
android:layout_centerHorizontal="true"
android:layout_marginTop="@dimen/dp_200"
android:scaleType="fitXY"
android:src="@drawable/kefu_loading1"
android:visibility="gone" />
<com.airbnb.lottie.LottieAnimationView
android:id="@+id/lottieView"
android:layout_width="119.7dp"
android:layout_height="119.7dp"
app:lottie_autoPlay="true"
app:lottie_loop="true"
app:lottie_rawRes="@raw/loading"
android:layout_centerHorizontal="true"
android:layout_marginTop="@dimen/dp_200"
android:scaleType="fitXY" />
</RelativeLayout>
<androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/bottom_ly"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="6"
android:gravity="bottom"
android:orientation="vertical"
android:paddingBottom="@dimen/dp_64"
android:visibility="invisible">
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/login_bt"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp_20"
android:layout_marginRight="@dimen/dp_20"
android:background="@mipmap/start_login1"
android:gravity="center"
android:text="@string/login_txt"
android:textColor="@color/color_white"
android:textSize="16sp" />
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/reg_bt"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp_20"
android:layout_marginTop="@dimen/dp_10"
android:layout_marginRight="@dimen/dp_20"
android:background="@mipmap/start_reg1"
android:gravity="center"
android:text="@string/reg_txt"
android:textColor="@color/white"
android:textSize="16sp" />
</androidx.appcompat.widget.LinearLayoutCompat>
</LinearLayout>