<?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"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<include layout="@layout/toolbar" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:gravity="center_horizontal"
|
android:orientation="vertical"
|
android:paddingLeft="20dp"
|
android:paddingRight="20dp">
|
|
<TextView
|
android:id="@+id/descTextView"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_horizontal"
|
android:layout_marginTop="80dp"
|
android:text="允许PC端登录"
|
android:textColor="@color/black"
|
android:textSize="25sp" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_weight="1">
|
|
<ImageView
|
android:id="@+id/imageView3"
|
android:layout_width="match_parent"
|
android:layout_height="250dp"
|
android:layout_weight="1"
|
app:srcCompat="@mipmap/pc" />
|
</LinearLayout>
|
|
<Button
|
android:id="@+id/confirmButton"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginBottom="10dp"
|
android:enabled="false"
|
android:text="确定"
|
android:textSize="20sp" />
|
<Button
|
android:id="@+id/cancelButton"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginBottom="50dp"
|
android:enabled="true"
|
android:text="取消"
|
android:textSize="20sp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|