244 lines
9.0 KiB
XML
244 lines
9.0 KiB
XML
<?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="fill_parent" android:weightSum="1"
|
|
android:id="@+id/layoutMain"
|
|
style="?bg">
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="left"
|
|
android:layout_weight="0"
|
|
android:orientation="horizontal"
|
|
style="?header"
|
|
android:id="@+id/layoutHeader">
|
|
|
|
<ImageView
|
|
android:id="@+id/imageViewMsg"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:src="@drawable/message"
|
|
android:paddingLeft="0dp"
|
|
android:layout_margin="3dp"
|
|
android:layout_weight="0" />
|
|
<TextView
|
|
android:id="@+id/textView1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/textMessaging"
|
|
android:layout_marginLeft="5dp"
|
|
android:textStyle="bold"
|
|
android:paddingTop="7dp"
|
|
android:textColor="#FFFFFF"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_weight="0"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/imageViewSeparator"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:src="@drawable/separator_white"
|
|
android:layout_margin="2dp"
|
|
android:layout_weight="0"
|
|
android:visibility="invisible"
|
|
android:focusable="false" />
|
|
|
|
<ImageView
|
|
android:id="@+id/imageViewDown"
|
|
android:layout_width="20dp"
|
|
android:layout_height="fill_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginBottom="2dp"
|
|
android:layout_marginTop="2dp"
|
|
android:focusable="false"
|
|
android:visibility="invisible"
|
|
android:src="@drawable/arrow_menu_down" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/imageButtonAdd2"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:scaleType="centerInside"
|
|
android:layout_marginRight="5dp"
|
|
android:paddingLeft="2dp"
|
|
android:visibility="invisible"
|
|
android:background="@layout/addmessage_selector"/>
|
|
|
|
<TextView
|
|
android:id="@+id/textViewNew"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:gravity="center_vertical"
|
|
android:text="New"
|
|
android:textStyle="bold"
|
|
android:paddingTop="7dp"
|
|
android:textColor="#FFFFFF"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_weight="0"
|
|
android:paddingRight="5dp"
|
|
android:visibility="gone"/>
|
|
|
|
<ImageButton
|
|
android:id="@+id/imageButtonAdd"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0"
|
|
android:scaleType="centerInside"
|
|
android:layout_marginRight="5dp"
|
|
android:paddingLeft="2dp"
|
|
android:background="@layout/addmessage_selector"/>
|
|
|
|
<!-- android:background="@drawable/addmessage_selector" -->
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="left"
|
|
android:layout_weight="0"
|
|
android:orientation="horizontal"
|
|
style="?header"
|
|
android:id="@+id/layoutHeaderConversation">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:layout_gravity="center_vertical">
|
|
<ImageButton
|
|
android:id="@+id/imageButtonBack"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginRight="5dp"
|
|
android:paddingLeft="2dp"
|
|
android:background="@layout/messageback_selector"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_weight="1"
|
|
android:gravity="right|center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingBottom="2dp"
|
|
android:paddingRight="15dp"
|
|
android:paddingTop="3dp" >
|
|
|
|
<LinearLayout
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="0">
|
|
<ImageView
|
|
android:id="@+id/imageViewSelectedContact"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ambulance_large"
|
|
android:layout_margin="3dp" />
|
|
</LinearLayout>
|
|
<TextView
|
|
android:id="@+id/textViewSelectedContact"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:text="Large Text"
|
|
android:gravity="center_vertical"
|
|
android:paddingLeft="3dp"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_weight="0"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<!-- android:background="@drawable/addmessage_selector" -->
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/layoutConversations"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
|
|
<GridView
|
|
android:id="@+id/gridView1"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="#999999"
|
|
android:drawSelectorOnTop="false"
|
|
android:horizontalSpacing="0dp"
|
|
android:numColumns="1"
|
|
android:verticalSpacing="1dp" >
|
|
</GridView>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/layoutSendMsg"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="left"
|
|
android:layout_weight="0"
|
|
android:orientation="horizontal"
|
|
style="?header">
|
|
<LinearLayout
|
|
android:layout_weight="0"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent">
|
|
<TextView
|
|
android:id="@+id/textView1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="@string/message"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginRight="5dp"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_weight="1"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:paddingTop="4dp">
|
|
<EditText
|
|
android:id="@+id/editTextMsg"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
android:inputType="text" >
|
|
</EditText>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_weight="0"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:paddingTop="4dp">
|
|
<ImageView
|
|
android:id="@+id/imageBarcode"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="35dp"
|
|
android:src="@drawable/barcode"
|
|
android:paddingTop="2dp"
|
|
android:layout_margin="3dp" />
|
|
</LinearLayout>
|
|
<Button
|
|
android:id="@+id/imageButtonSend"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0"
|
|
android:text="@string/send"
|
|
android:layout_marginRight="5dp"
|
|
android:layout_gravity="center"
|
|
android:paddingLeft="6dp"
|
|
android:textColor="#000000"
|
|
style="?login"
|
|
/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|