aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/activity_conversations.xml29
-rw-r--r--res/layout/activity_new_conversation.xml82
-rw-r--r--res/layout/contact.xml44
-rw-r--r--res/layout/conversation_list_row.xml62
-rw-r--r--res/layout/frament_conversation.xml64
5 files changed, 281 insertions, 0 deletions
diff --git a/res/layout/activity_conversations.xml b/res/layout/activity_conversations.xml
new file mode 100644
index 00000000..ae60de40
--- /dev/null
+++ b/res/layout/activity_conversations.xml
@@ -0,0 +1,29 @@
+<android.support.v4.widget.SlidingPaneLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:id="@+id/slidingpanelayout">
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="336dp"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <ListView
+ android:id="@+id/list"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:divider="#b5b5b5"
+ android:dividerHeight="1dp"
+ android:background="#f9f9f9"
+ />
+
+</LinearLayout>
+<LinearLayout
+ android:id="@+id/selected_conversation"
+ android:layout_width="400dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:background="#e5e5e5"
+ android:orientation="vertical">
+</LinearLayout>
+</android.support.v4.widget.SlidingPaneLayout> \ No newline at end of file
diff --git a/res/layout/activity_new_conversation.xml b/res/layout/activity_new_conversation.xml
new file mode 100644
index 00000000..68836761
--- /dev/null
+++ b/res/layout/activity_new_conversation.xml
@@ -0,0 +1,82 @@
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="#f9f9f9">
+
+ <EditText
+ android:id="@+id/new_conversation_search"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentRight="true"
+ android:layout_alignParentTop="true"
+ android:ems="10"
+ android:inputType="textEmailAddress"
+ android:hint="Search or enter Jabber ID"
+ android:background="#ffffff"
+ android:layout_marginTop="12dp"
+ android:layout_marginBottom="12dp"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp"/>
+
+ <ScrollView
+ android:id="@+id/scrollView1"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentRight="true"
+ android:layout_below="@+id/new_conversation_search"
+ android:background="#e5e5e5" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="380dp"
+ android:orientation="vertical"
+ android:padding="8dp" >
+
+ <TextView
+ android:id="@+id/phone_contacts_header"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Phone Contacts"
+ style="@style/sectionHeader"/>
+ <LinearLayout
+ android:id="@+id/phone_contacts"
+ android:layout_height="fill_parent"
+ android:layout_width="fill_parent"
+ android:orientation="vertical">
+
+ </LinearLayout>
+ <TextView
+ android:id="@+id/jabber_contacts_header"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Jabber Contacts"
+ style="@style/sectionHeader"/>
+ <LinearLayout
+ android:id="@+id/jabber_contacts"
+ android:layout_height="fill_parent"
+ android:layout_width="fill_parent"
+ android:orientation="vertical">
+
+ </LinearLayout>
+ <TextView
+ android:id="@+id/new_contact_header"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="create new contact"
+ style="@style/sectionHeader"
+ android:visibility="gone"/>
+ <LinearLayout
+ android:id="@+id/create_new_contact"
+ android:layout_height="fill_parent"
+ android:layout_width="fill_parent"
+ android:orientation="vertical"
+ android:visibility="gone">
+
+ </LinearLayout>
+ </LinearLayout>
+ </ScrollView>
+</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/contact.xml b/res/layout/contact.xml
new file mode 100644
index 00000000..1b11f0fc
--- /dev/null
+++ b/res/layout/contact.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+<RelativeLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:paddingTop="8dp"
+ android:paddingBottom="8dp">
+
+ <ImageView
+ android:id="@+id/contact_photo"
+ android:layout_width="48dp"
+ android:layout_height="48dp"
+ android:layout_alignParentLeft="true"
+ android:src="@drawable/ic_profile">
+ </ImageView>
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_toRightOf="@+id/contact_photo"
+ android:layout_centerVertical="true"
+ android:orientation="vertical"
+ android:paddingLeft="8dp">
+ <TextView
+ android:id="@+id/contact_display_name"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="18sp"
+ android:textColor="#5b5b5b"
+ />
+ <TextView
+ android:id="@+id/contact_jid"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="#5b5b5b"
+ />
+ </LinearLayout>
+
+</RelativeLayout>
+ <View style="@style/Divider"
+ android:id="@+id/contact_divider"/>
+</LinearLayout> \ No newline at end of file
diff --git a/res/layout/conversation_list_row.xml b/res/layout/conversation_list_row.xml
new file mode 100644
index 00000000..5b3959c3
--- /dev/null
+++ b/res/layout/conversation_list_row.xml
@@ -0,0 +1,62 @@
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:padding="5dip">
+
+ <!-- ListRow Left sied Thumbnail image -->
+ <LinearLayout android:id="@+id/thumbnail"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="3dip"
+ android:layout_alignParentLeft="true"
+ android:layout_marginRight="5dip">
+
+ <ImageView
+ android:id="@+id/imageView1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ic_profile" />
+
+ </LinearLayout>
+
+ <!-- Title Of Song-->
+ <TextView
+ android:id="@+id/conversation_name"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignTop="@+id/thumbnail"
+ android:layout_toRightOf="@+id/thumbnail"
+ android:text="Rihanna Love the way lie"
+ android:textColor="#636363"
+ android:typeface="sans"
+ android:textSize="20dip"/>
+
+ <!-- Artist Name -->
+ <TextView
+ android:id="@+id/conversation_lastmsg"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/conversation_name"
+ android:textColor="#636363"
+ android:textSize="12dip"
+ android:layout_marginTop="1dip"
+ android:layout_toRightOf="@+id/thumbnail"
+ android:text="Just gona stand there and ..." />
+
+ <!-- Rightend Duration -->
+ <TextView
+ android:id="@+id/duration"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_alignBottom="@id/conversation_name"
+ android:gravity="right"
+ android:text="5:45"
+ android:layout_marginRight="5dip"
+ android:textSize="10dip"
+ android:textColor="#636363"/>
+
+
+
+</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/frament_conversation.xml b/res/layout/frament_conversation.xml
new file mode 100644
index 00000000..02fe1f90
--- /dev/null
+++ b/res/layout/frament_conversation.xml
@@ -0,0 +1,64 @@
+<?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"
+ android:background="#f9f9f9">
+
+ <RelativeLayout
+ android:id="@+id/textsend"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentLeft="true" >
+
+ <EditText
+ android:id="@+id/editText1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_toLeftOf="@+id/imageButton1"
+ android:ems="10"
+ android:inputType="textMultiLine"
+ android:minLines="1"
+ android:background="#ffffff"
+ android:layout_marginTop="12dp"
+ android:layout_marginBottom="12dp"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp">
+ </EditText>
+
+ <ImageButton
+ android:id="@+id/imageButton1"
+ android:layout_width="48dp"
+ android:layout_height="48dp"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:background="?android:selectableItemBackground"
+ android:src="@drawable/ic_action_send_now" />
+
+ </RelativeLayout>
+
+ <ScrollView
+ android:id="@+id/scrollView1"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_above="@+id/textsend"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
+ android:background="#e5e5e5" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:background="#e5e5e5"
+ android:orientation="vertical" >
+
+ <TextView
+ android:id="@+id/textView1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="TextView" />
+ </LinearLayout>
+ </ScrollView>
+
+</RelativeLayout>