From 8436e6b50b2e58d592314d432b49766d771dd8d9 Mon Sep 17 00:00:00 2001 From: cketti Date: Thu, 22 Mar 2012 23:37:03 +0100 Subject: [PATCH] Tweaked MessageCompose layout --- res/layout/message_compose.xml | 53 +++++++++++++++++----------------- res/values/strings.xml | 6 ++++ 2 files changed, 32 insertions(+), 27 deletions(-) diff --git a/res/layout/message_compose.xml b/res/layout/message_compose.xml index 4e5149a9c..b6ac2da71 100644 --- a/res/layout/message_compose.xml +++ b/res/layout/message_compose.xml @@ -9,8 +9,8 @@ android:layout_width="fill_parent" android:layout_height="0dip" android:layout_weight="1" - android:scrollbarStyle="outsideInset" - android:fillViewport="true" > + android:scrollbarStyle="insideOverlay" + android:fillViewport="true"> + android:layout_weight="1"/> @@ -89,9 +89,9 @@ @@ -120,10 +120,10 @@ @@ -228,6 +228,7 @@ @@ -235,8 +236,8 @@ @@ -265,9 +267,7 @@ android:padding="0dip" android:layout_gravity="right" android:layout_height="wrap_content" - android:layout_width="match_parent" - android:layout_alignParentTop="true" - android:layout_alignParentRight="true" /> + android:layout_width="match_parent"/> @@ -301,19 +301,17 @@ @@ -324,12 +322,13 @@ android:id="@+id/lower_signature" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:layout_weight="1.0" android:gravity="left|top" android:editable="false" android:minLines="0" android:autoText="true" android:capitalize="sentences" + android:hint="@string/message_compose_signature_hint" + android:inputType="textMultiLine|textAutoCorrect|textCapSentences" android:textColor="@android:color/primary_text_light" android:textAppearance="?android:attr/textAppearanceMedium" /> diff --git a/res/values/strings.xml b/res/values/strings.xml index 8d66d64ea..c1cfb2b26 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -260,6 +260,7 @@ Welcome to K-9 Mail setup. K-9 is an open source mail client for Android origin Bcc Subject Message text + Signature -------- Original Message -------- Subject: Sent: @@ -273,6 +274,11 @@ Welcome to K-9 Mail setup. K-9 is an open source mail client for Android origin Some attachments were not downloaded. They will be downloaded automatically before this message is sent. Some attachments cannot be forwarded because they have not been downloaded. Quote message + Add recipient (To) + Add recipient (CC) + Add recipient (BCC) + Remove quoted text + Edit quoted text From: %s <%s> To: