Fix padding on reply quoted text area and ids.

Part of fixes for b/5517524 compose on tablets needs redlines

Change-Id: I7b526c21f1a11532b8b0d598a309174bb38a9cf6
This commit is contained in:
Mindy Pereira 2011-11-03 16:21:39 -07:00
parent 46f6a96d8a
commit 1b6e1ae306
3 changed files with 15 additions and 27 deletions

View File

@ -28,7 +28,6 @@
<Button android:id="@+id/add_cc_bcc"
android:text="@string/plus_cc_label"
style="@style/ComposeButton"
android:visibility="gone"
android:layout_marginLeft="16dip" />
<ImageView android:id="@+id/add_attachment"

View File

@ -84,17 +84,16 @@
</FrameLayout>
<!-- quoted text bar -->
<RelativeLayout android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginRight="100dip">
<!-- quoted text bar -->
<LinearLayout
android:id="@+id/quoted_text_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
>
<View
android:layout_width="match_parent"
style="@style/message_compose_horizontal_divider"
/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
@ -127,27 +126,17 @@
android:gravity="center"
/>
</LinearLayout>
<View
android:layout_width="match_parent"
style="@style/message_compose_horizontal_divider"
/>
</LinearLayout>
<!--
Quoted text
TODO: Don't put a webview in a scroll view.
-->
<WebView android:id="@+id/quoted_text"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_marginTop="16dip"
/>
<View
android:id="@+id/tap_trap"
android:layout_width="match_parent"
android:layout_height="0dip"
android:layout_weight="1"
/>
<!--
Quoted text
TODO: Don't put a webview in a scroll view.
-->
<WebView android:id="@+id/quoted_text"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_marginTop="16dip"
android:layout_below="@id/quoted_text_bar"/>
</RelativeLayout>
<FrameLayout
android:id="@+id/composearea_tap_trap_bottom"
android:layout_weight="1"

View File

@ -292,7 +292,7 @@ public abstract class MessageViewFragmentBase extends Fragment implements View.O
mFromAddressView = (TextView) UiUtilities.getView(view, R.id.from_address);
mAddressesView = (TextView) UiUtilities.getView(view, R.id.addresses);
mDateTimeView = (TextView) UiUtilities.getView(view, R.id.datetime);
mMessageContentView = (WebView) UiUtilities.getView(view, R.id.body_text);
mMessageContentView = (WebView) UiUtilities.getView(view, R.id.message_content);
mAttachments = (LinearLayout) UiUtilities.getView(view, R.id.attachments);
mTabSection = UiUtilities.getView(view, R.id.message_tabs_section);
mFromBadge = (ImageView) UiUtilities.getView(view, R.id.badge);