#SD-185 - Make the UI compatible with SMS parsing changes
This commit is contained in:
@ -1,13 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="#ffffff"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp">
|
||||
<LinearLayout
|
||||
android:id="@+id/layoutSend"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="#ffffff"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp">
|
||||
<LinearLayout
|
||||
android:id="@+id/layoutSend"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:paddingRight="13dp"
|
||||
@ -19,147 +20,151 @@
|
||||
android:background="#ffffff"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_weight="0">
|
||||
<ImageView
|
||||
android:id="@+id/imageViewSenderIco"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ambulance_large"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="center"
|
||||
android:background="#ffffff"
|
||||
android:layout_margin="3dp"
|
||||
android:layout_gravity="top"
|
||||
android:layout_weight="0" />
|
||||
<ImageView
|
||||
android:id="@+id/imageViewSenderIco"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ambulance_large"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="center"
|
||||
android:background="#ffffff"
|
||||
android:layout_margin="3dp"
|
||||
android:layout_gravity="top"
|
||||
android:layout_weight="0" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:padding="5dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="@layout/row_conversation_style_send"
|
||||
android:orientation="vertical"
|
||||
android:layout_weight="1" >
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:padding="5dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="@layout/row_conversation_style_send"
|
||||
android:orientation="vertical"
|
||||
android:layout_weight="1" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textViewSendMsg"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Medium Text"
|
||||
android:textColor="#000000"
|
||||
android:textSize="16dp" />
|
||||
<RelativeLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<ImageView
|
||||
android:id="@+id/imageAckSendMsg"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="center"
|
||||
android:paddingTop="2dp"
|
||||
android:src="@drawable/exclamation_small"
|
||||
android:layout_weight="0"
|
||||
android:visibility="invisible"/>
|
||||
<TextView
|
||||
android:id="@+id/textViewNotACKSendMsg"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/notAck"
|
||||
android:textColor="#000000"
|
||||
android:textSize="13dp"
|
||||
android:layout_toRightOf="@+id/imageAck"
|
||||
android:visibility="invisible" />
|
||||
<TextView
|
||||
android:id="@+id/textViewSendDate"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"
|
||||
android:text="Small Text"
|
||||
android:textColor="#4c4c4c"
|
||||
android:textSize="13dp"
|
||||
android:layout_alignParentRight="true"/>
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:id="@+id/textViewSendMsg"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Medium Text"
|
||||
android:textColor="#000000"
|
||||
android:textSize="16dp" />
|
||||
<RelativeLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<ImageView
|
||||
android:id="@+id/imageAck"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="center"
|
||||
android:paddingTop="2dp"
|
||||
android:src="@drawable/exclamation_small"
|
||||
android:layout_weight="0"
|
||||
android:visibility="invisible"
|
||||
tools:ignore="DuplicateIds" />
|
||||
<TextView
|
||||
android:id="@+id/textViewNotACK"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/notAck"
|
||||
android:textColor="#000000"
|
||||
android:textSize="13dp"
|
||||
android:layout_toRightOf="@+id/imageAck"
|
||||
android:visibility="invisible"
|
||||
tools:ignore="DuplicateIds" />
|
||||
<TextView
|
||||
android:id="@+id/textViewSendDate"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"
|
||||
android:text="Small Text"
|
||||
android:textColor="#4c4c4c"
|
||||
android:textSize="13dp"
|
||||
android:layout_alignParentRight="true"/>
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
|
||||
<LinearLayout
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:paddingLeft="13dp"
|
||||
android:layout_weight="0"
|
||||
android:orientation="horizontal"
|
||||
android:id="@+id/layoutReceived">
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:padding="5dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="@layout/row_conversation_style_rec"
|
||||
android:orientation="vertical"
|
||||
android:layout_weight="1" >
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:padding="5dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="@layout/row_conversation_style_rec"
|
||||
android:orientation="vertical"
|
||||
android:layout_weight="1" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textViewReceivedMsg"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Medium Text"
|
||||
android:textColor="#000000"
|
||||
android:textSize="16dp" />
|
||||
<RelativeLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<ImageView
|
||||
android:id="@+id/imageAckReceiveMsg"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="center"
|
||||
android:paddingTop="2dp"
|
||||
android:src="@drawable/exclamation_small"
|
||||
android:layout_weight="0"
|
||||
android:visibility="invisible"/>
|
||||
<TextView
|
||||
android:id="@+id/textViewNotACKReceiveMsg"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/notAck"
|
||||
android:textColor="#000000"
|
||||
android:textSize="13dp"
|
||||
android:layout_toRightOf="@+id/imageAck"
|
||||
android:visibility="invisible"/>
|
||||
<TextView
|
||||
android:id="@+id/textViewReceivedDate"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"
|
||||
android:text="Small Text"
|
||||
android:textColor="#4c4c4c"
|
||||
android:textSize="13dp"
|
||||
android:layout_alignParentRight="true"/>
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
<TextView
|
||||
android:id="@+id/textViewReceivedMsg"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Medium Text"
|
||||
android:textColor="#000000"
|
||||
android:textSize="16dp" />
|
||||
<RelativeLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<ImageView
|
||||
android:id="@+id/imageAck"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="center"
|
||||
android:paddingTop="2dp"
|
||||
android:src="@drawable/exclamation_small"
|
||||
android:layout_weight="0"
|
||||
android:visibility="invisible"
|
||||
tools:ignore="DuplicateIds" />
|
||||
<TextView
|
||||
android:id="@+id/textViewNotACK"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/notAck"
|
||||
android:textColor="#000000"
|
||||
android:textSize="13dp"
|
||||
android:layout_toRightOf="@+id/imageAck"
|
||||
android:visibility="invisible"
|
||||
tools:ignore="DuplicateIds" />
|
||||
<TextView
|
||||
android:id="@+id/textViewReceivedDate"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"
|
||||
android:text="Small Text"
|
||||
android:textColor="#4c4c4c"
|
||||
android:textSize="13dp"
|
||||
android:layout_alignParentRight="true"/>
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:background="#ffffff"
|
||||
android:layout_marginRight="5dp"
|
||||
android:layout_weight="0">
|
||||
<ImageView
|
||||
android:id="@+id/imageViewReceivedIco"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="center"
|
||||
android:src="@drawable/error"
|
||||
android:background="#ffffff"
|
||||
android:layout_margin="3dp"
|
||||
android:layout_weight="0"
|
||||
android:layout_gravity="top"
|
||||
/>
|
||||
</LinearLayout>
|
||||
<ImageView
|
||||
android:id="@+id/imageViewReceivedIco"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="center"
|
||||
android:src="@drawable/error"
|
||||
android:background="#ffffff"
|
||||
android:layout_margin="3dp"
|
||||
android:layout_weight="0"
|
||||
android:layout_gravity="top"
|
||||
/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
Reference in New Issue
Block a user