Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 119628b1 authored by Nihar Thakkar's avatar Nihar Thakkar
Browse files

Changed the attachment background colours and removed margin from all sides.

parent 7a979ccf
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<io.eelo.mail.ui.messageview.AttachmentView xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/attachment"
    android:layout_margin="@dimen/margin_medium"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content">

        <RelativeLayout
            android:layout_width="fill_parent"
            android:padding="@dimen/padding_medium"
            android:layout_height="wrap_content"
            android:background="?attr/messageViewAttachmentBackground">
            android:background="?attr/messageViewAttachmentBackground"
            android:layout_height="wrap_content">

            <ImageView
                android:id="@+id/attachment_icon"
+4 −0
Original line number Diff line number Diff line
@@ -15,4 +15,8 @@
    <color name="message_list_widget_text_read">#444444</color>
    <color name="message_list_widget_text_unread">#000000</color>
    <color name="light_black">#444444</color>

    <color name="color_attachment_background_light">#E0E0E0</color>
    <color name="color_attachment_background_dark">#424242</color>

</resources>
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@
        <item name="messageListDividerColor">#ffcccccc</item>
        <item name="messageListCheckbox">@drawable/btn_check_message_list_light</item>
        <item name="messageViewBackgroundColor">#ffffffff</item>
        <item name="messageViewAttachmentBackground">@drawable/attachment_text_box_light</item>
        <item name="messageViewAttachmentBackground">@color/color_attachment_background_light</item>
        <item name="messageComposeAddContactImage">@drawable/ic_button_add_contact_light</item>
        <item name="contactPictureFallbackDefaultBackgroundColor">#ffababab</item>
        <item name="contactTokenBackgroundColor">#ccc</item>
@@ -145,7 +145,7 @@
        <item name="messageListDividerColor">#ff333333</item>
        <item name="messageListCheckbox">@drawable/btn_check_message_list_dark</item>
        <item name="messageViewBackgroundColor">#000000</item>
        <item name="messageViewAttachmentBackground">@drawable/attachment_text_box_dark</item>
        <item name="messageViewAttachmentBackground">@color/color_attachment_background_dark</item>
        <item name="messageComposeAddContactImage">@drawable/ic_button_add_contact_dark</item>
        <item name="contactTokenBackgroundColor">#313131</item>
        <item name="contactPictureFallbackDefaultBackgroundColor">#ff606060</item>