Conversations/res/layout/activity_muc_details.xml

145 lines
5.0 KiB
XML
Raw Normal View History

2014-03-04 02:51:01 +01:00
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
2014-03-03 05:01:02 +01:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2014-03-04 02:51:01 +01:00
android:background="#e5e5e5">
2014-03-03 05:01:02 +01:00
2014-03-04 02:51:01 +01:00
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical" >
<TextView
2014-03-04 02:51:01 +01:00
style="@style/sectionHeader"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="8dp"
2014-05-24 00:17:42 +02:00
android:text="@string/muc_details_conference" />
<RelativeLayout
2014-03-04 02:51:01 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#eee" >
2014-03-04 02:51:01 +01:00
<EditText
android:id="@+id/muc_subject"
2014-03-04 02:51:01 +01:00
android:layout_width="wrap_content"
android:layout_height="48dp"
android:layout_alignParentLeft="true"
android:layout_toLeftOf="@+id/muc_edit_subject"
2014-03-04 02:51:01 +01:00
android:background="#eee"
android:ems="10"
2014-05-24 00:17:42 +02:00
android:hint="@string/muc_details_conference_subject"
2014-03-31 19:28:03 +02:00
android:inputType="textAutoComplete"
2014-03-04 02:51:01 +01:00
android:paddingBottom="12dp"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:paddingTop="12dp" />
<ImageButton
android:id="@+id/muc_edit_subject"
2014-03-04 02:51:01 +01:00
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:layout_centerVertical="true"
android:background="?android:selectableItemBackground"
android:padding="8dp"
android:src="@drawable/ic_action_edit" />
</RelativeLayout>
<TextView
android:id="@+id/muc_jabberid"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="8dp"
android:singleLine="true"
android:textColor="#5b5b5b"
android:textSize="18sp"/>
<TextView
style="@style/sectionHeader"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:paddingTop="8dp"
2014-05-24 00:17:42 +02:00
android:text="@string/muc_details_your_nickname" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#eee" >
2014-03-04 02:51:01 +01:00
<EditText
android:id="@+id/muc_your_nick"
android:layout_width="wrap_content"
android:layout_height="48dp"
android:layout_alignParentLeft="true"
android:layout_toLeftOf="@+id/muc_edit_nick"
android:background="#eee"
android:ems="10"
2014-05-24 00:17:42 +02:00
android:hint="@string/muc_details_your_nickname"
android:inputType="textEmailAddress"
android:paddingBottom="12dp"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:paddingTop="12dp" />
<ImageButton
android:id="@+id/muc_edit_nick"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:layout_centerVertical="true"
android:background="?android:selectableItemBackground"
android:padding="8dp"
android:src="@drawable/ic_action_edit" />
</RelativeLayout>
2014-03-04 02:51:01 +01:00
<TextView
android:id="@+id/muc_role"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="8dp"
android:singleLine="true"
android:textSize="18sp"
android:textColor="#5b5b5b"/>
<LinearLayout
android:id="@+id/muc_more_details"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
2014-03-04 02:51:01 +01:00
<TextView
android:id="@+id/muc_participants_header"
style="@style/sectionHeader"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:paddingTop="8dp"
2014-05-24 00:17:42 +02:00
android:text="@string/muc_details_other_members" />
2014-03-04 02:51:01 +01:00
<LinearLayout
android:id="@+id/muc_members"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:orientation="vertical"
android:divider="?android:dividerHorizontal"
android:showDividers="middle"
>
</LinearLayout>
</LinearLayout>
2014-03-03 05:01:02 +01:00
2014-03-15 06:20:59 +01:00
<Button
android:layout_marginTop="24dp"
android:id="@+id/invite"
style="?android:attr/buttonStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/invite_contacts"
android:layout_gravity="center_horizontal"/>
2014-03-03 05:01:02 +01:00
</LinearLayout>
2014-03-04 02:51:01 +01:00
</ScrollView>