mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 03:48:08 +00:00
Conflicts: AndroidManifest.xml res/layout/chat_bubble_alt_incoming.xml res/layout/chat_bubble_alt_outgoing.xml res/layout/chat_bubble_incoming.xml res/layout/chat_bubble_outgoing.xml res/values/strings.xml src/org/linphone/ContactsManager.java src/org/linphone/compatibility/ApiFivePlus.java src/org/linphone/ui/BubbleChat.java
105 lines
No EOL
3.1 KiB
XML
105 lines
No EOL
3.1 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="85dp"
|
|
android:gravity="center_vertical"
|
|
android:paddingLeft="10dp"
|
|
android:paddingRight="10dp"
|
|
android:paddingTop="5dp"
|
|
android:background="@drawable/list_selector">
|
|
|
|
<CheckBox
|
|
android:id="@+id/delete"
|
|
android:button="@drawable/checkbox"
|
|
android:contentDescription="@string/content_description_delete"
|
|
android:paddingRight="5dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:adjustViewBounds="true"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:visibility="invisible" />
|
|
|
|
<TextView
|
|
android:id="@+id/draft"
|
|
android:visibility="gone"
|
|
android:layout_centerVertical="true"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:textColor="@color/text_selected"
|
|
android:text="@string/draft"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginRight="5dp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_centerVertical="true"
|
|
android:layout_toLeftOf="@id/draft"
|
|
android:orientation="horizontal">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent">
|
|
|
|
<ImageView
|
|
android:id="@+id/contact_picture"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:src="@drawable/avatar"
|
|
android:layout_centerHorizontal="true"/>
|
|
|
|
<TextView
|
|
android:id="@+id/date"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/contact_picture"
|
|
style="@style/font2"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:paddingLeft="10dp">
|
|
|
|
<TextView
|
|
android:id="@+id/sipUri"
|
|
android:lines="1"
|
|
android:ellipsize="marquee"
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
android:scrollHorizontally="true"
|
|
android:fadingEdge="horizontal"
|
|
android:singleLine="true"
|
|
style="@style/font6"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
android:textColor="@color/text_contrast"/>
|
|
|
|
<TextView
|
|
android:id="@+id/unreadMessages"
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:background="@drawable/chat_list_indicator"
|
|
style="@style/font17"
|
|
android:gravity="center"
|
|
android:layout_above="@+id/lastMessage"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentEnd="true"/>
|
|
|
|
<TextView
|
|
android:id="@+id/lastMessage"
|
|
android:maxLines="2"
|
|
android:ellipsize="end"
|
|
android:layout_below="@id/sipUri"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
style="@style/font11"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout> |