383 lines
14 KiB
XML
383 lines
14 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/Relative"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<ImageView
|
|
android:id="@+id/imageViewLeftBg"
|
|
android:layout_width="80dp"
|
|
android:layout_height="161dp"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginStart="0dp"
|
|
android:layout_marginTop="0dp"
|
|
android:layout_marginBottom="0dp"
|
|
android:background="#F4F4F4" />
|
|
|
|
<TextView
|
|
android:id="@+id/Volumne"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignEnd="@+id/imageViewLeftBg"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginEnd="10dp"
|
|
android:text="音量:100"
|
|
android:textAlignment="center"
|
|
android:textSize="14sp" />
|
|
|
|
<ImageView
|
|
android:id="@+id/imageViewAddVoice"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignEnd="@+id/imageViewLeftBg"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginStart="13dp"
|
|
android:layout_marginTop="50dp"
|
|
android:layout_marginEnd="13dp"
|
|
android:longClickable="true"
|
|
android:onClick="addVolume"
|
|
app:srcCompat="@drawable/circle"
|
|
app:tint="#999999" />
|
|
|
|
<ImageView
|
|
android:id="@+id/imageViewAddVoiceIcon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignStart="@+id/imageViewAddVoice"
|
|
android:layout_alignTop="@+id/imageViewAddVoice"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_marginTop="12dp"
|
|
app:srcCompat="@drawable/voice_add" />
|
|
|
|
<ImageView
|
|
android:id="@+id/imageViewDelVoice"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/imageViewAddVoice"
|
|
android:layout_alignEnd="@+id/imageViewLeftBg"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_marginStart="13dp"
|
|
android:layout_marginTop="40dp"
|
|
android:layout_marginEnd="13dp"
|
|
android:clickable="true"
|
|
android:longClickable="true"
|
|
android:onClick="delVolume"
|
|
app:srcCompat="@drawable/circle"
|
|
app:tint="#999999" />
|
|
|
|
<ImageView
|
|
android:id="@+id/imageViewDelVoiceIcon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignStart="@+id/imageViewDelVoice"
|
|
android:layout_alignTop="@+id/imageViewDelVoice"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_marginTop="12dp"
|
|
app:srcCompat="@drawable/voice_less" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonQuit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignEnd="@+id/imageViewLeftBg"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginStart="15dp"
|
|
android:layout_marginEnd="15dp"
|
|
android:layout_marginBottom="50dp"
|
|
android:background="@drawable/bt_bgd"
|
|
android:onClick="logout"
|
|
android:text="退出"
|
|
android:textColor="#FFFFFF" />
|
|
|
|
<TextView
|
|
android:id="@+id/textViewSelfNum"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignEnd="@+id/imageViewLeftBg"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginEnd="5dp"
|
|
android:layout_marginBottom="20dp"
|
|
android:text="号码:xxxx"
|
|
android:textAlignment="center"
|
|
android:textSize="12sp" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonAddGroup"
|
|
style="@style/QMUI.RoundButton"
|
|
android:layout_width="49dp"
|
|
android:layout_height="51dp"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_marginTop="13dp"
|
|
android:layout_marginEnd="13dp"
|
|
android:onClick="addGroup"
|
|
android:visibility="visible" />
|
|
|
|
<ImageView
|
|
android:id="@+id/imageViewAddGroupIcon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignStart="@+id/buttonAddGroup"
|
|
android:layout_alignTop="@+id/buttonAddGroup"
|
|
android:layout_alignEnd="@+id/buttonAddGroup"
|
|
android:layout_alignBottom="@+id/buttonAddGroup"
|
|
android:layout_marginStart="12dp"
|
|
android:layout_marginTop="12dp"
|
|
android:layout_marginEnd="12dp"
|
|
android:layout_marginBottom="12dp"
|
|
app:srcCompat="@drawable/add" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonTmpMeeting"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginStart="87dp"
|
|
android:layout_marginTop="15dp"
|
|
android:onClick="addTmpMeeting"
|
|
android:text="临时会议" />
|
|
|
|
<com.qmuiteam.qmui.widget.tab.QMUITabSegment
|
|
android:id="@+id/HeadList"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_above="@+id/imageViewLine"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_marginStart="110dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginEnd="73dp"
|
|
android:layout_marginBottom="-70dp"
|
|
android:layout_toEndOf="@+id/imageViewLeftBg"
|
|
android:columnWidth="70dp"
|
|
android:horizontalSpacing="5dp"
|
|
android:numColumns="auto_fit"
|
|
android:scrollbars="none" />
|
|
|
|
<androidx.viewpager.widget.ViewPager
|
|
android:id="@+id/contentViewPager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:fitsSystemWindows="true" />
|
|
|
|
<ImageView
|
|
android:id="@+id/imageViewLine"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="2dp"
|
|
android:layout_marginStart="0dp"
|
|
android:layout_marginTop="75dp"
|
|
android:layout_marginEnd="0dp"
|
|
android:layout_toEndOf="@+id/imageViewLeftBg"
|
|
android:background="@color/colorF" />
|
|
|
|
<GridView
|
|
android:id="@+id/GridUser"
|
|
android:layout_width="642dp"
|
|
android:layout_height="292dp"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginStart="13dp"
|
|
android:layout_marginTop="135dp"
|
|
android:layout_marginEnd="0dp"
|
|
android:layout_marginBottom="0dp"
|
|
android:layout_toEndOf="@+id/imageViewLeftBg"
|
|
android:horizontalSpacing="10dp"
|
|
android:numColumns="5">
|
|
|
|
</GridView>
|
|
|
|
<LinearLayout
|
|
android:layout_width="503dp"
|
|
android:layout_height="45dp"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginStart="5dp"
|
|
android:layout_marginTop="85dp"
|
|
android:layout_toEndOf="@+id/imageViewLeftBg"
|
|
android:orientation="horizontal">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/StartMeetingVoice"
|
|
android:layout_width="108dp"
|
|
android:layout_height="match_parent"
|
|
android:clickable="false">
|
|
|
|
<Button
|
|
android:id="@+id/button"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:onClick="doMeetingVoice4Group"
|
|
android:text="语音会议"
|
|
android:textAlignment="viewEnd" />
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView2"
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginStart="15dp"
|
|
android:layout_marginTop="12dp"
|
|
app:srcCompat="@drawable/voice2" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/StartMeetingVideo"
|
|
android:layout_width="108dp"
|
|
android:layout_height="match_parent"
|
|
android:clickable="false">
|
|
|
|
<Button
|
|
android:id="@+id/button"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:onClick="doMeetingVideo4Group"
|
|
android:text="视频会议"
|
|
android:textAlignment="viewEnd" />
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView2"
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginStart="15dp"
|
|
android:layout_marginTop="12dp"
|
|
app:srcCompat="@drawable/video" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/ButtonDelGroup"
|
|
android:layout_width="108dp"
|
|
android:layout_height="match_parent"
|
|
android:clickable="false"
|
|
android:focusableInTouchMode="false">
|
|
|
|
<Button
|
|
android:id="@+id/button"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:onClick="deleteGroup"
|
|
android:text="删除分组"
|
|
android:textAlignment="viewEnd"
|
|
android:textColor="#F44336" />
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView2"
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginStart="15dp"
|
|
android:layout_marginTop="12dp"
|
|
app:srcCompat="@android:drawable/ic_delete" />
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="15dp"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_marginTop="90dp"
|
|
android:layout_marginEnd="5dp"
|
|
android:orientation="horizontal">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1">
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
app:srcCompat="@drawable/circle"
|
|
app:tint="#5EE463" />
|
|
|
|
<TextView
|
|
android:id="@+id/textView"
|
|
android:layout_width="60dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginStart="42dp"
|
|
android:layout_marginTop="1dp"
|
|
android:text="在线"
|
|
android:textAlignment="viewStart"
|
|
android:textSize="12sp" />
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1">
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
app:srcCompat="@drawable/circle"
|
|
app:tint="#F44336" />
|
|
|
|
<TextView
|
|
android:id="@+id/textView"
|
|
android:layout_width="60dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginStart="42dp"
|
|
android:layout_marginTop="1dp"
|
|
android:text="通话中"
|
|
android:textAlignment="viewStart"
|
|
android:textSize="12sp" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1">
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
app:srcCompat="@drawable/circle"
|
|
app:tint="#999999" />
|
|
|
|
<TextView
|
|
android:id="@+id/textView"
|
|
android:layout_width="60dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginStart="42dp"
|
|
android:layout_marginTop="1dp"
|
|
android:text="离线"
|
|
android:textAlignment="viewStart"
|
|
android:textSize="12sp" />
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|