mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
181 lines
No EOL
6 KiB
XML
181 lines
No EOL
6 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_bar"
|
|
android:background="@color/colorF"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="60dp"
|
|
android:layout_gravity="bottom">
|
|
|
|
<ImageView
|
|
android:id="@+id/back"
|
|
android:src="@drawable/back"
|
|
android:background="@drawable/toolbar_button"
|
|
android:contentDescription="@string/content_description_back"
|
|
android:layout_width="70dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_alignParentLeft="true"
|
|
android:padding="20dp"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/edit"
|
|
android:src="@drawable/edit_list_button"
|
|
android:background="@drawable/toolbar_button"
|
|
android:contentDescription="@string/content_description_edit"
|
|
android:layout_width="70dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_alignParentRight="true"
|
|
android:padding="15dp"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/start_call"
|
|
android:src="@drawable/call_alt_start"
|
|
android:background="@drawable/toolbar_button"
|
|
android:contentDescription="@string/content_description_call"
|
|
android:layout_toLeftOf="@id/edit"
|
|
android:layout_width="70dp"
|
|
android:layout_height="match_parent"
|
|
android:padding="15dp"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/back_to_call"
|
|
android:src="@drawable/call_back"
|
|
android:background="@drawable/toolbar_button"
|
|
android:contentDescription="@string/content_description_call"
|
|
android:layout_toLeftOf="@id/edit"
|
|
android:layout_width="70dp"
|
|
android:layout_height="match_parent"
|
|
android:visibility="gone"
|
|
android:padding="15dp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/contact_name"
|
|
style="@style/font6"
|
|
android:ellipsize="end"
|
|
android:singleLine="true"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_toRightOf="@id/back"
|
|
android:layout_toLeftOf="@id/start_call"
|
|
android:paddingLeft="10dp"
|
|
android:gravity="center"/>
|
|
</RelativeLayout>
|
|
|
|
<include layout="@layout/edit_list"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/footer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_centerHorizontal="true"
|
|
android:background="@color/colorF">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/messageLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<ImageView
|
|
android:id="@+id/sendPicture"
|
|
android:padding="5dp"
|
|
android:scaleType="center"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_centerVertical="true"
|
|
android:src="@drawable/chat_send_file" />
|
|
|
|
<ImageView
|
|
android:id="@+id/sendMessage"
|
|
android:gravity="center"
|
|
android:padding="5dp"
|
|
android:scaleType="center"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/chat_send_message"
|
|
android:layout_alignTop="@+id/message"
|
|
android:layout_alignParentRight="true"/>
|
|
|
|
<EditText
|
|
android:imeOptions="flagNoExtractUi"
|
|
android:textCursorDrawable="@null"
|
|
android:id="@+id/message"
|
|
android:inputType="textMultiLine"
|
|
android:maxLines="3"
|
|
android:textColor="@android:color/black"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toRightOf="@id/sendPicture"
|
|
android:layout_toLeftOf="@id/sendMessage"
|
|
android:background="@drawable/resizable_textfield"
|
|
android:layout_centerVertical="true"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/uploadLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<ImageView
|
|
android:contentDescription="@string/content_description_cancel"
|
|
android:id="@+id/cancelUpload"
|
|
android:src="@drawable/clean_field_default"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:adjustViewBounds="true"
|
|
android:layout_alignParentRight="true"
|
|
android:padding="20dp" />
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/remoteComposing"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@color/colorB"
|
|
android:text="@string/remote_composing"
|
|
android:layout_above="@id/footer"/>
|
|
|
|
<ListView
|
|
android:id="@+id/chatMessageList"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:divider="@android:color/transparent"
|
|
android:stackFromBottom="true"
|
|
android:transcriptMode="alwaysScroll"
|
|
android:cacheColorHint="@color/transparent"
|
|
android:dividerHeight="10dp"
|
|
android:layout_above="@id/remoteComposing"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginBottom="10dp"
|
|
android:layout_below="@+id/top_bar"/>
|
|
|
|
<AutoCompleteTextView
|
|
android:contentDescription="@string/content_description_search"
|
|
android:textCursorDrawable="@null"
|
|
android:visibility="gone"
|
|
android:layout_margin="10dp"
|
|
android:id="@+id/searchContactField"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="40dp"
|
|
android:textColor="@android:color/black"
|
|
android:background="@drawable/resizable_textfield"
|
|
android:gravity="center"
|
|
android:completionThreshold="1"
|
|
android:layout_below="@+id/top_bar"
|
|
android:paddingRight="5dp"
|
|
android:inputType="textPersonName"/>
|
|
|
|
|
|
</RelativeLayout> |