mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
114 lines
No EOL
3.2 KiB
XML
114 lines
No EOL
3.2 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">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/bubble"
|
|
android:layout_width="wrap_content"
|
|
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_marginRight="5dp"
|
|
android:layout_width="30dp"
|
|
android:layout_height="30dp"
|
|
android:adjustViewBounds="true"
|
|
android:layout_alignParentRight="true"
|
|
android:visibility="gone"/>
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/background"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toLeftOf="@id/delete_message"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/contact_picture"
|
|
android:src="@drawable/avatar"
|
|
android:paddingLeft="10dp"
|
|
android:paddingTop="10dp"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="10dp">
|
|
|
|
<TextView
|
|
android:id="@+id/contact_header"
|
|
android:singleLine="true"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<TextView
|
|
android:id="@+id/message"
|
|
style="@style/font11"
|
|
android:autoLink="web"
|
|
android:linksClickable="true"
|
|
android:visibility="gone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<ImageView
|
|
android:id="@+id/image"
|
|
android:visibility="gone"
|
|
android:layout_width="150dp"
|
|
android:layout_height="150dp"
|
|
android:scaleType="centerInside"
|
|
android:layout_centerInParent="true" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/file_transfer_layout"
|
|
android:visibility="gone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
|
|
<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:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/progress_bar"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:id="@+id/status"
|
|
android:contentDescription="@string/content_description_message_status"
|
|
android:visibility="invisible"
|
|
android:padding="5dp"
|
|
android:layout_gravity="top|right"
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:adjustViewBounds="true" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/inprogress"
|
|
android:visibility="gone"
|
|
android:paddingRight="5dp"
|
|
android:layout_gravity="top|right"
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"/>
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout> |