Files
yuliao_and/app/src/main/res/layout/activity_login.xml
2025-08-08 15:08:52 +08:00

66 lines
2.7 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:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@color/white"
tools:context=".welcome.WelcomeActivity">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="4">
<com.netease.yunxin.kit.common.ui.widgets.BackTitleBar
android:id="@+id/about_title_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:titleText="@string/dengru_txt"
android:background="@color/color_fcfcfc"
tools:ignore="MissingConstraints" />
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/app_yunxin_icon"
android:layout_width="@dimen/dp_88"
android:layout_centerInParent="true"
android:layout_height="@dimen/dp_148"
/>
</RelativeLayout>
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="6"
android:paddingBottom="@dimen/dp_64"
android:gravity="bottom"
android:id="@+id/bottom_ly"
android:orientation="vertical">
<androidx.appcompat.widget.AppCompatButton
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/index_user_bg4"
android:text="@string/mobile_login_txt"
android:layout_marginLeft="@dimen/dp_30"
android:layout_marginRight="@dimen/dp_30"
android:gravity="center"
android:id="@+id/login_bt"
android:textColor="@color/color_white"
android:textSize="16sp"
/>
<androidx.appcompat.widget.AppCompatButton
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/wechat_login_txt"
android:visibility="invisible"
android:gravity="center"
android:id="@+id/wechat_bt"
android:layout_marginTop="@dimen/dp_20"
android:layout_marginLeft="@dimen/dp_30"
android:layout_marginRight="@dimen/dp_30"
android:background="@mipmap/start_wechat_login"
android:textColor="@color/color_white"
android:textSize="16sp"
/>
</androidx.appcompat.widget.LinearLayoutCompat>
</LinearLayout>