mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
133 lines
No EOL
4.9 KiB
XML
133 lines
No EOL
4.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:background="@color/colorH"
|
|
android:orientation="vertical">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="40dp"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center_vertical">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/avatar_layout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center">
|
|
|
|
<ImageView
|
|
android:id="@+id/contact_picture"
|
|
android:src="@drawable/avatar"
|
|
android:contentDescription="@string/content_description_contact_picture"
|
|
android:layout_width="35dp"
|
|
android:layout_height="35dp"
|
|
android:adjustViewBounds="true"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_marginLeft="5dp"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/mask"
|
|
android:src="@drawable/avatar_mask"
|
|
android:layout_width="35dp"
|
|
android:layout_height="35dp"
|
|
android:adjustViewBounds="true"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_marginLeft="5dp"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<ImageView
|
|
android:id="@+id/delete"
|
|
android:src="@drawable/chat_group_delete"
|
|
android:contentDescription="@string/content_description_delete"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerInParent="true"
|
|
android:paddingLeft="5dp"
|
|
android:paddingRight="5dp" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/adminLayout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_toLeftOf="@id/delete">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/isAdminLayout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="20dp">
|
|
|
|
<ImageView
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:paddingRight="5dp"
|
|
android:layout_gravity="center"
|
|
android:adjustViewBounds="true"
|
|
android:scaleType="centerInside"
|
|
android:src="@drawable/check_selected" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:textStyle="bold"
|
|
android:textColor="@color/colorB"
|
|
android:text="@string/chat_room_infos_admin"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/isNotAdminLayout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="20dp">
|
|
|
|
<ImageView
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:paddingRight="5dp"
|
|
android:layout_gravity="center"
|
|
android:adjustViewBounds="true"
|
|
android:scaleType="centerInside"
|
|
android:src="@drawable/check_unselected" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:textColor="@color/colorF"
|
|
android:text="@string/chat_room_infos_admin"/>
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toRightOf="@id/avatar_layout"
|
|
android:layout_centerVertical="true"
|
|
android:layout_toLeftOf="@id/adminLayout"
|
|
android:layout_marginLeft="10dp">
|
|
|
|
<TextView
|
|
android:id="@+id/name"
|
|
style="@style/font6"
|
|
android:lines="1"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentTop="true"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout> |