linphone-android/res/layout/chat_infos.xml
2018-06-21 13:46:28 +02:00

140 lines
5.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="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@color/colorH" >
<LinearLayout
android:id="@+id/top_bar"
android:layout_width="match_parent"
android:layout_height="50dp"
android:background="@color/colorH"
android:orientation="horizontal">
<ImageView
android:id="@+id/back"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_gravity="left|center"
android:layout_weight="0.2"
android:background="@drawable/toolbar_button"
android:contentDescription="@string/content_description_back"
android:src="@drawable/back"/>
<TextView
style="@style/font6"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="0.4"
android:ellipsize="end"
android:gravity="center"
android:maxLines="1"
android:text="@string/chat_room_infos_title"/>
<ImageView
android:id="@+id/confirm"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_gravity="right|center"
android:layout_weight="0.2"
android:contentDescription="@string/content_description_valid"
android:src="@drawable/chat_room_creation_confirm"/>
</LinearLayout>
<RelativeLayout
android:id="@+id/layoutSubjectField"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_marginTop="10dp">
<EditText
android:id="@+id/subjectField"
android:layout_width="match_parent"
android:layout_height="40dp"
android:background="#f3f3f3"
android:contentDescription="@string/content_description_conversation_subject"
android:gravity="center"
android:hint="@string/conversation_subject_hint"
android:inputType="textEmailSubject"
android:textColor="@android:color/black"
android:textCursorDrawable="@null"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/addParticipantsLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/colorH"
android:paddingBottom="8dp"
android:paddingTop="8dp">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/chat_room_participants"
android:textColor="@color/colorB"
android:textSize="15sp"
android:textStyle="bold"/>
<ImageView
android:id="@+id/addParticipants"
android:layout_width="wrap_content"
android:layout_height="14dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:paddingRight="10dp"
android:src="@drawable/chat_group_add"/>
</RelativeLayout>
<ListView
android:id="@+id/chat_room_participants"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:divider="@color/colorE"
android:dividerHeight="1dp">
</ListView>
<LinearLayout
android:id="@+id/leaveGroupLayout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:paddingLeft="20dp"
android:paddingRight="20dp"
android:background="@color/colorA">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:textSize="15sp"
android:textAllCaps="true"
android:textColor="@color/colorG"
android:text="@string/chat_room_leave_group"/>
</LinearLayout>
</LinearLayout>
<include layout="@layout/wait_layout" android:id="@+id/waitScreen"/>
</RelativeLayout>