2020-08-26 17:29:44 +08:00
|
|
|
<?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"
|
|
|
|
|
tools:context=".MainActivity">
|
|
|
|
|
|
2020-08-27 17:08:52 +08:00
|
|
|
<TextView
|
2020-08-27 19:13:06 +08:00
|
|
|
android:id="@+id/mTv"
|
2020-08-27 17:08:52 +08:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="Main"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2020-08-28 16:02:58 +08:00
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/mBtn"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="获取值"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/mTv" />
|
2020-08-26 17:29:44 +08:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|