aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout/message_received.xml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--res/layout/message_received.xml (renamed from res/layout/message_recieved.xml)40
1 files changed, 19 insertions, 21 deletions
diff --git a/res/layout/message_recieved.xml b/res/layout/message_received.xml
index ec003920..f7ff44d5 100644
--- a/res/layout/message_recieved.xml
+++ b/res/layout/message_received.xml
@@ -3,10 +3,10 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
+ android:paddingBottom="4dp"
android:paddingLeft="8dp"
android:paddingRight="8dp"
- android:paddingBottom="4dp"
- android:paddingTop="4dp">
+ android:paddingTop="4dp" >
<LinearLayout
android:id="@+id/message_box"
@@ -21,31 +21,30 @@
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:background="@color/primarybackground"
- android:orientation="vertical"
android:gravity="center_vertical"
- android:paddingTop="4dp"
+ android:orientation="vertical"
android:paddingBottom="4dp"
+ android:paddingLeft="5dp"
android:paddingRight="5dp"
- android:paddingLeft="5dp">
+ android:paddingTop="4dp" >
- <ImageView
+ <ImageView
android:id="@+id/message_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
- android:paddingBottom="2dp"
- android:scaleType="centerCrop"
android:background="@color/primarytext"
- />
-
+ android:paddingBottom="2dp"
+ android:scaleType="centerCrop" />
+
<TextView
android:id="@+id/message_body"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:autoLink="web"
+ android:textColor="@color/primarytext"
android:textIsSelectable="true"
- android:textSize="14sp"
- android:textColor="@color/primarytext"/>
+ android:textSize="14sp" />
<Button
android:id="@+id/download_button"
@@ -53,24 +52,23 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/download_image"
- android:visibility="gone"/>
+ android:visibility="gone" />
- <LinearLayout
+ <LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
- android:paddingTop="1dp">
+ android:paddingTop="1dp" >
<ImageView
android:id="@+id/security_indicator"
android:layout_width="12sp"
android:layout_height="12sp"
android:layout_gravity="center_vertical"
- android:gravity="center_vertical"
+ android:layout_marginRight="6sp"
android:layout_marginTop="2sp"
- android:src="@drawable/ic_indicator"
- android:layout_marginRight="6sp"/>
-
+ android:gravity="center_vertical"
+ android:src="@drawable/ic_indicator" />
<TextView
android:id="@+id/message_time"
@@ -79,8 +77,8 @@
android:layout_gravity="center_vertical"
android:gravity="center_vertical"
android:text="@string/sending"
- android:textSize="12sp"
- android:textColor="@color/secondarytext"/>
+ android:textColor="@color/secondarytext"
+ android:textSize="12sp" />
</LinearLayout>
</LinearLayout>
</LinearLayout>