<?xml version="1.0" encoding="utf-8"?>
|
<android.support.constraint.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="com.alfeye.powerdemo.WeiGenActivity">
|
|
|
<CheckBox
|
android:id="@+id/checkbox"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="切换大小端"
|
tools:layout_editor_absoluteX="141dp"
|
tools:layout_editor_absoluteY="110dp"
|
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintRight_toRightOf="parent"
|
app:layout_constraintTop_toBottomOf="@+id/gr"
|
android:layout_marginTop="20dp"
|
tools:ignore="MissingConstraints"/>
|
|
<RadioGroup
|
android:id="@+id/gr"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:paddingTop="20dp"
|
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintRight_toRightOf="parent">
|
|
<RadioButton
|
android:id="@+id/rb_Radio1"
|
android:layout_width="100dp"
|
android:layout_height="wrap_content"
|
android:text="26"
|
android:textColor="@color/colorAccent"
|
android:textSize="20sp"
|
android:checked="true"
|
/>
|
|
<RadioButton
|
android:id="@+id/rb_Radio2"
|
android:layout_width="100dp"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
android:text="34"
|
android:textColor="@color/colorAccent"
|
android:textSize="20sp"
|
/>
|
</RadioGroup>
|
|
<EditText
|
android:id="@+id/edt_CardNumber"
|
android:layout_width="160dp"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="56dp"
|
android:gravity="center"
|
android:hint="请输入卡号"
|
android:text="E42F34E1"
|
android:textSize="20sp"
|
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintRight_toRightOf="parent"
|
app:layout_constraintTop_toBottomOf="@+id/gr"
|
/>
|
|
<Button
|
android:id="@+id/bt_Send"
|
android:layout_width="150dp"
|
android:layout_height="60dp"
|
android:layout_marginTop="24dp"
|
android:text="发送"
|
android:textColor="@color/colorAccent"
|
android:textSize="20sp"
|
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintRight_toRightOf="parent"
|
app:layout_constraintTop_toBottomOf="@+id/edt_CardNumber"
|
/>
|
|
|
</android.support.constraint.ConstraintLayout>
|