76 lines
2.5 KiB
XML
76 lines
2.5 KiB
XML
<?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="com.example.kingway.ptt.pttActivity">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
>
|
|
|
|
<Button
|
|
android:id="@+id/login"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="login"/>
|
|
|
|
<Button
|
|
android:id="@+id/pttBtn"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="PTT" />
|
|
|
|
<Button
|
|
android:id="@+id/button2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:text="获取群组" />
|
|
|
|
<Button
|
|
android:id="@+id/button3"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="获取成员" />
|
|
|
|
<Button
|
|
android:id="@+id/btnTmpCall"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="开始单呼" />
|
|
|
|
<Button
|
|
android:id="@+id/btnTmpCallStop"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="结束单呼" />
|
|
|
|
<Button
|
|
android:id="@+id/btnJumpGroup"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="切换群组" />
|
|
|
|
<Button
|
|
android:id="@+id/btnCancel1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="取消登录" />
|
|
|
|
<Button
|
|
android:id="@+id/btnCancel2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="注销" />
|
|
|
|
<Button
|
|
android:id="@+id/login1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="login1" />
|
|
</LinearLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|