diff options
author | Jin Cao <jinyan@google.com> | 2014-08-16 17:36:22 -0700 |
---|---|---|
committer | Jin Cao <jinyan@google.com> | 2014-08-16 17:36:22 -0700 |
commit | 57b30e63e9a51f48b4e9bfea635b9e97d873075e (patch) | |
tree | e06cff1738549ee1caecbc98a8d6803a12a1d887 /res/layout | |
parent | 24cfa0778a966620112a5b2ca90b70c8ab8e40d9 (diff) | |
download | android_packages_apps_UnifiedEmail-57b30e63e9a51f48b4e9bfea635b9e97d873075e.tar.gz android_packages_apps_UnifiedEmail-57b30e63e9a51f48b4e9bfea635b9e97d873075e.tar.bz2 android_packages_apps_UnifiedEmail-57b30e63e9a51f48b4e9bfea635b9e97d873075e.zip |
[Quantum] Quoted text
New styles for quoted text and respond inline. I was not
able to remove the default padding that comes with the
checkbox widget, so I used negative margins to offset it.
b/16876147
Change-Id: I748ac5a99917b9c25573fa06876dd720bcccc04d
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/quoted_text.xml | 48 |
1 files changed, 20 insertions, 28 deletions
diff --git a/res/layout/quoted_text.xml b/res/layout/quoted_text.xml index 0accc2922..4bde41585 100644 --- a/res/layout/quoted_text.xml +++ b/res/layout/quoted_text.xml @@ -17,57 +17,49 @@ --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/quoted_text_area" - android:layout_height="wrap_content" android:layout_width="match_parent" + android:layout_height="wrap_content" android:orientation="vertical"> <View android:id="@+id/upper_quotedtext_divider_bar" - android:layout_width="match_parent" - android:layout_height="2dip" - android:background="#babebe" - android:visibility="gone" /> + android:visibility="gone" + style="@style/RecipientComposeFieldSpacer" /> <LinearLayout android:id="@+id/quoted_text_button_bar" android:layout_width="match_parent" - android:layout_height="48dip" > + android:layout_height="48dp" + android:minHeight="0dp" + style="@style/ComposeFieldContent"> <CheckBox android:id="@+id/hide_quoted_text" - android:layout_width="0dip" + android:layout_width="0dp" android:layout_height="match_parent" + android:layout_gravity="center_vertical" android:layout_weight="1" android:contentDescription="@string/quoted_text" - android:drawablePadding="@dimen/quoted_text_header_padding" + android:drawablePadding="12dp" android:ellipsize="end" - android:gravity="center_vertical" android:text="@string/quoted_text_label" - android:textAllCaps="true" - android:textColor="@color/quoted_text_color" - android:textSize="12sp" /> - - <View - android:layout_width="2dip" - android:layout_height="match_parent" - android:background="#babebe" - android:layout_marginTop="12dip" - android:layout_marginBottom="12dip" - android:layout_gravity="center_vertical"/> + android:textColor="@color/compose_label_text" + android:textSize="14sp" + style="@style/QuotedTextCheckbox" /> <!-- Respond Inline --> <Button android:id="@+id/respond_inline_button" - style="@style/RespondInlineButtonStyle" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_gravity="center_vertical" + android:background="?android:attr/selectableItemBackground" android:text="@string/respond_inline" android:textAllCaps="true" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:background="?android:attr/selectableItemBackground"/> + android:textColor="@color/respond_inline_color" + android:textSize="14sp" /> </LinearLayout> <View - android:layout_width="match_parent" - android:layout_height="2dip" - android:background="#babebe" - android:id="@+id/divider_bar" /> + android:id="@+id/divider_bar" + style="@style/RecipientComposeFieldSpacer" /> <WebView android:id="@+id/quoted_text_web_view" android:layout_height="wrap_content" |