mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
240 lines
7.4 KiB
XML
240 lines
7.4 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="wrap_content">
|
|
|
|
<CheckBox
|
|
android:id="@+id/delete_message"
|
|
android:button="@drawable/checkbox"
|
|
android:contentDescription="@string/content_description_delete"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_width="30dp"
|
|
android:layout_height="30dp"
|
|
android:adjustViewBounds="true"
|
|
android:layout_alignParentRight="true"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/event"
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toLeftOf="@id/delete_message"
|
|
android:gravity="center_vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_marginRight="10dp"
|
|
android:src="@drawable/event_gray"
|
|
android:scaleType="fitXY"/>
|
|
|
|
<!--<TextView
|
|
android:id="@+id/event_date"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textStyle="italic"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text=" - "/>-->
|
|
|
|
<TextView
|
|
android:id="@+id/event_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_marginLeft="10dp"
|
|
android:src="@drawable/event_gray"
|
|
android:scaleType="fitXY"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/bubble"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toLeftOf="@id/delete_message">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/background"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/avatar_layout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
|
|
<ImageView
|
|
android:id="@+id/contact_picture"
|
|
android:src="@drawable/avatar"
|
|
android:contentDescription="@string/content_description_contact_picture"
|
|
android:paddingLeft="10dp"
|
|
android:paddingTop="10dp"
|
|
android:layout_width="45dp"
|
|
android:layout_height="45dp"
|
|
android:adjustViewBounds="true"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/mask"
|
|
android:src="@drawable/avatar_chat_mask"
|
|
android:paddingLeft="10dp"
|
|
android:paddingTop="10dp"
|
|
android:layout_width="45dp"
|
|
android:layout_height="45dp"
|
|
android:adjustViewBounds="true"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingTop="10dp"
|
|
android:paddingLeft="10dp"
|
|
android:paddingRight="10dp">
|
|
|
|
<TextView
|
|
android:id="@+id/contact_header"
|
|
android:maxLines="1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:id="@+id/file_name"
|
|
style="@style/font26"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<ImageView
|
|
android:id="@+id/image"
|
|
android:layout_width="150dp"
|
|
android:layout_height="150dp"
|
|
android:layout_below="@id/file_name"
|
|
android:layout_centerHorizontal="true"
|
|
android:scaleType="centerInside"/>
|
|
|
|
<Button
|
|
android:id="@+id/open_file"
|
|
android:textAppearance="@style/font8"
|
|
android:text="@string/open"
|
|
android:background="@drawable/resizable_assistant_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/file_name"
|
|
android:layout_centerVertical="true"
|
|
android:visibility="gone"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/message"
|
|
style="@style/font11"
|
|
android:autoLink="web"
|
|
android:linksClickable="true"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/file_transfer_layout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone">
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progress_bar"
|
|
style="@android:style/Widget.ProgressBar.Horizontal"
|
|
android:paddingRight="5dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginBottom="10dp"
|
|
android:layout_width="150dp"
|
|
android:layout_height="5dp"/>
|
|
|
|
<Button
|
|
android:id="@+id/file_transfer_action"
|
|
android:textAppearance="@style/font8"
|
|
android:background="@drawable/resizable_assistant_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/progress_bar"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/imdmLayout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginTop="2dp"
|
|
android:layout_marginBottom="2dp"
|
|
android:orientation="horizontal"
|
|
android:layout_gravity="right"
|
|
android:gravity="right"
|
|
android:visibility="invisible">
|
|
|
|
<TextView
|
|
android:id="@+id/imdmText"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Displayed"
|
|
android:textSize="12sp"
|
|
android:paddingRight="3dp"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/imdmIcon"
|
|
android:layout_width="10dp"
|
|
android:layout_height="10dp"
|
|
android:src="@drawable/valid"
|
|
android:scaleType="fitCenter"
|
|
android:layout_marginTop="2dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_alignRight="@id/background"
|
|
android:layout_alignTop="@id/background"
|
|
android:layout_width="15dp"
|
|
android:layout_height="15dp"
|
|
android:paddingTop="5dp"
|
|
android:paddingBottom="3dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/status"
|
|
android:contentDescription="@string/content_description_message_status"
|
|
android:visibility="invisible"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentRight="true"
|
|
android:paddingRight="5dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:adjustViewBounds="true" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/inprogress"
|
|
android:progressTint="@color/colorB"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentRight="true"
|
|
android:paddingRight="5dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout>
|