mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 11:58:09 +00:00
195 lines
5.8 KiB
XML
195 lines
5.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/colorH">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/top"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/top_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:background="@color/colorH"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/back"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.2"
|
|
android:background="@drawable/toolbar_button"
|
|
android:contentDescription="@string/content_description_back"
|
|
android:src="@drawable/back"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center_vertical|left"
|
|
android:layout_weight="0.4"
|
|
android:gravity="center_vertical|left"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="5dp">
|
|
|
|
<TextView
|
|
android:id="@+id/subject"
|
|
style="@style/font6"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"/>
|
|
|
|
<TextView
|
|
android:id="@+id/participants"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:textColor="@color/colorC"/>
|
|
|
|
<TextView
|
|
android:id="@+id/remote_composing"
|
|
style="@style/font11"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_above="@id/footer"
|
|
android:text="@string/remote_composing"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:id="@+id/start_call"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.2"
|
|
android:background="@drawable/toolbar_button"
|
|
android:contentDescription="@string/content_description_call"
|
|
android:src="@drawable/call_alt_start"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/group_infos"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.2"
|
|
android:background="@drawable/toolbar_button"
|
|
android:contentDescription="@string/content_description_conversation_infos"
|
|
android:padding="10dp"
|
|
android:src="@drawable/chat_room_group_infos"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/back_to_call"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.2"
|
|
android:background="@drawable/toolbar_button"
|
|
android:contentDescription="@string/content_description_back_call"
|
|
android:padding="15dp"
|
|
android:src="@drawable/call_back"
|
|
android:visibility="gone"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/edit"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.2"
|
|
android:background="@drawable/toolbar_button"
|
|
android:contentDescription="@string/content_description_edit_list"
|
|
android:src="@drawable/delete"/>
|
|
</LinearLayout>
|
|
|
|
<include layout="@layout/edit_list"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/footer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:background="#595959"
|
|
android:orientation="vertical">
|
|
|
|
<HorizontalScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/file_upload_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
</LinearLayout>
|
|
|
|
</HorizontalScrollView>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/message_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/send_picture"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:contentDescription="@string/content_description_send_file"
|
|
android:padding="10dp"
|
|
android:src="@drawable/chat_send_file"/>
|
|
|
|
<EditText
|
|
android:id="@+id/message"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_margin="5dp"
|
|
android:layout_weight="1"
|
|
android:background="@color/colorH"
|
|
android:contentDescription="@string/content_description_message"
|
|
android:imeOptions="flagNoExtractUi"
|
|
android:inputType="textShortMessage|textMultiLine|textAutoComplete|textAutoCorrect|textCapSentences"
|
|
android:maxLines="6"
|
|
android:padding="5dp"
|
|
android:textColor="@color/colorH"
|
|
android:textCursorDrawable="@null"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/send_message"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:contentDescription="@string/content_description_send_message"
|
|
android:padding="10dp"
|
|
android:src="@drawable/chat_send_message"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:id="@+id/view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_below="@+id/top"
|
|
android:background="@color/colorE"/>
|
|
|
|
<ListView
|
|
android:id="@+id/chat_message_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_above="@id/footer"
|
|
android:layout_below="@+id/view"
|
|
android:layout_margin="10dp"
|
|
android:cacheColorHint="@color/transparent"
|
|
android:choiceMode="multipleChoice"
|
|
android:divider="@android:color/transparent"
|
|
android:dividerHeight="10dp"
|
|
android:listSelector="@color/transparent"
|
|
android:stackFromBottom="true"
|
|
android:transcriptMode="normal"/>
|
|
|
|
</RelativeLayout>
|