123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173 |
- <?xml version="1.0" encoding="utf-8"?>
- <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- xmlns:app="http://schemas.android.com/apk/res-auto">
- <RelativeLayout
- android:id="@+id/start_session_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/white">
- <LinearLayout
- android:id="@+id/account_info_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <com.netease.nim.uikit.common.ui.imageview.HeadImageView
- android:id="@+id/head_image"
- android:layout_width="@dimen/avatar_size_default"
- android:layout_height="@dimen/avatar_size_default"
- android:layout_gravity="center_horizontal"
- android:layout_marginTop="50dip"/>
- <TextView
- android:id="@+id/name"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:layout_marginTop="20dp"
- android:text="@string/empty"
- android:textColor="@color/color_red_ccfa3c55"
- android:textSize="21sp"/>
- <TextView
- android:id="@+id/session_step_text"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:layout_marginTop="30dp"
- android:text="@string/empty"
- android:textSize="18sp"/>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/callee_ack_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_alignParentBottom="true"
- android:gravity="bottom|center_horizontal"
- android:orientation="horizontal"
- android:paddingBottom="30dip">
- <Button
- android:id="@+id/accept"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:layout_marginLeft="10dp"
- android:layout_weight="1"
- android:background="@drawable/nim_message_button_bottom_send_selector"
- android:text="@string/accept_session"
- android:textColor="@color/white"/>
- <Button
- android:id="@+id/reject"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="10dp"
- android:layout_weight="1"
- android:background="@drawable/g_red_long_btn_selector"
- android:text="@string/reject_session"
- android:textColor="@color/white"/>
- </LinearLayout>
- <Button
- android:id="@+id/end_session"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:layout_alignParentBottom="true"
- android:layout_centerHorizontal="true"
- android:layout_marginBottom="30dp"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip"
- android:background="@drawable/g_red_long_btn_selector"
- android:text="@string/cancel"
- android:textColor="@color/white"
- android:visibility="gone"/>
- </RelativeLayout>
- <RelativeLayout
- android:id="@+id/session_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:visibility="gone">
- <RelativeLayout
- android:id="@+id/operate_layout"
- android:layout_width="match_parent"
- android:layout_height="60dip"
- android:layout_alignParentBottom="true"
- android:background="@color/grey">
- <Button
- android:id="@+id/audio_switch"
- android:layout_width="40dip"
- android:layout_height="40dip"
- android:layout_alignParentLeft="true"
- android:layout_centerVertical="true"
- android:layout_marginLeft="15dip"
- android:background="@drawable/icon_audio_open"/>
- <Button
- android:id="@+id/doodle_clear"
- android:layout_width="60dip"
- android:layout_height="40dip"
- android:layout_alignParentRight="true"
- android:layout_centerVertical="true"
- android:layout_marginRight="15dip"
- android:background="@drawable/nim_message_button_bottom_send_selector"
- android:text="@string/doodle_clear"
- android:textColor="@color/white"
- android:textSize="14sp"/>
- <Button
- android:id="@+id/doodle_back"
- android:layout_width="60dip"
- android:layout_height="40dip"
- android:layout_centerVertical="true"
- android:layout_marginRight="15dip"
- android:layout_toLeftOf="@id/doodle_clear"
- android:background="@drawable/nim_message_button_bottom_send_selector"
- android:text="@string/doodle_back"
- android:textColor="@color/white"
- android:textSize="14sp"/>
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_above="@id/operate_layout"
- android:background="@color/grey">
- <com.shuishuo.app.rts.doodle.DoodleView
- android:id="@+id/doodle_view"
- android:layout_width="600px"
- android:layout_height="600px"
- android:layout_centerInParent="true"
- />
- </RelativeLayout>
- </RelativeLayout>
- <android.support.design.widget.AppBarLayout
- android:id="@+id/app_bar_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:theme="@style/AppTheme.AppBarOverlay"
- app:elevation="0dp">
- <android.support.v7.widget.Toolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- android:background="?attr/colorPrimary"
- app:titleTextAppearance="@style/Toolbar.TitleText">
- <include layout="@layout/nim_action_bar_right_clickable_tv" />
- </android.support.v7.widget.Toolbar>
- </android.support.design.widget.AppBarLayout>
- </FrameLayout>
|