Conversations/res/layout/activity_new_conversation.xml

82 lines
3.1 KiB
XML

<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>