aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout/muc_options.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/muc_options.xml')
-rw-r--r--res/layout/muc_options.xml178
1 files changed, 108 insertions, 70 deletions
diff --git a/res/layout/muc_options.xml b/res/layout/muc_options.xml
index 3874de14c..a4e142c27 100644
--- a/res/layout/muc_options.xml
+++ b/res/layout/muc_options.xml
@@ -1,76 +1,114 @@
-<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<?xml version="1.0" encoding="utf-8"?>
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:orientation="vertical"
- android:padding="8dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Your nickname"
- android:textColor="#33B5E5"
- android:textSize="20sp" />
+ android:background="#e5e5e5">
- <EditText
- android:id="@+id/muc_your_nick"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:ems="10"
- android:inputType="textEmailAddress"
- android:padding="8dp"
- />
+<LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical" >
- <TextView
- android:paddingTop="16dp"
- android:id="@+id/muc_moderators_header"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Moderators"
- android:textColor="#33B5E5"
- android:textSize="20sp" />
- <TextView
- android:id="@+id/muc_moderators"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Romeo"
- android:singleLine="true"
- android:textSize="16sp"
- android:paddingLeft="8dp"
- android:paddingBottom="8dp"/>
-
- <TextView
- android:id="@+id/muc_participants_header"
- android:paddingTop="8dp"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Participants"
- android:textColor="#33B5E5"
- android:textSize="20sp" />
- <TextView
- android:id="@+id/muc_participants"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Juilett"
- android:singleLine="true"
- android:textSize="16sp"
- android:paddingLeft="8dp"
- android:paddingBottom="8dp"/>
- <TextView
- android:id="@+id/muc_visitors_header"
- android:paddingTop="8dp"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Visitors"
- android:textColor="#33B5E5"
- android:textSize="20sp" />
- <TextView
- android:id="@+id/muc_visitors"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Benvolio"
- android:singleLine="true"
- android:textSize="16sp"
- android:paddingLeft="8dp"
- android:paddingBottom="8dp"/>
+ <TextView
+ style="@style/sectionHeader"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="8dp"
+ android:paddingRight="8dp"
+ android:paddingTop="8dp"
+ android:text="Your nickname" />
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="#eee" >
+
+ <EditText
+ android:id="@+id/muc_your_nick"
+ android:layout_width="wrap_content"
+ android:layout_height="48dp"
+ android:layout_alignParentLeft="true"
+ android:layout_toLeftOf="@+id/imageView1"
+ android:background="#eee"
+ android:ems="10"
+ android:hint="Search or enter Jabber ID"
+ 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>
+
+ <TextView
+ style="@style/sectionHeader"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="8dp"
+ android:text="Jabber ID" />
+ <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"/>
+
+ <LinearLayout
+ android:id="@+id/muc_more_details"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical">
+
+ <TextView
+ style="@style/sectionHeader"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="8dp"
+ android:text="Your role" />
+
+ <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"/>
+
+
+ <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"
+ android:text="Other Members" />
+
+ <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>
-
</LinearLayout>
+</ScrollView> \ No newline at end of file