You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MpRemote/app/src/main/res/layout/activity_main.xml

47 lines
1.8 KiB
XML

12 months ago
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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"
4 months ago
android:fitsSystemWindows="true"
12 months ago
tools:context=".MainActivity">
4 months ago
<!-- 自定义 Toolbar -->
<include
android:id="@+id/toolbar"
layout="@layout/toolbar" />
12 months ago
4 months ago
<Button
android:id="@+id/selectWifi"
12 months ago
android:layout_width="match_parent"
4 months ago
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
4 months ago
android:layout_marginTop="40dp"
android:layout_marginRight="15dp"
android:background="@drawable/rounded_button"
android:text="第一步连接WIFI"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/toolbar" />
4 months ago
4 months ago
<Button
android:id="@+id/control"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
4 months ago
android:layout_marginTop="40dp"
android:layout_marginRight="15dp"
android:background="@drawable/rounded_button"
android:text="第二步:进入控制页面"
4 months ago
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/selectWifi" />
4 months ago
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_percent="0.5" />
12 months ago
</androidx.constraintlayout.widget.ConstraintLayout>