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

Commit 02599216 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Remove vertical and colored bars from editors.

parent 7bec22d9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@
        android:id="@+id/color_bar"
        android:layout_width="4dip"
        android:layout_height="fill_parent"
        android:visibility="gone"
    />

    <!-- The content -->
@@ -45,8 +46,9 @@

            <ImageView android:id="@+id/header_color_bar"
                android:layout_width="fill_parent"
                android:layout_height="2dip"
                android:layout_height="4dip"
                android:layout_marginBottom="5dip"
                android:background="@color/edit_divider"
            />

            <ImageView android:id="@+id/header_icon"
+3 −1
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@
        android:id="@+id/color_bar"
        android:layout_width="4dip"
        android:layout_height="fill_parent"
        android:visibility="gone"
    />

    <!-- The content -->
@@ -45,8 +46,9 @@

            <ImageView android:id="@+id/header_color_bar"
                android:layout_width="fill_parent"
                android:layout_height="2dip"
                android:layout_height="4dip"
                android:layout_marginBottom="5dip"
                android:background="@color/edit_divider"
            />

            <ImageView android:id="@+id/header_icon"
+2 −0
Original line number Diff line number Diff line
@@ -20,4 +20,6 @@
    <color name="sect_secondary">#4fff</color>
    <color name="quickcontact_disambig">#f2f2f2</color>
    <color name="quickcontact_disambig_divider">#afafaf</color>

    <color name="edit_divider">#ff666666</color>
</resources>
+0 −2
Original line number Diff line number Diff line
@@ -161,8 +161,6 @@ public class ContactEditorView extends BaseContactEditorView implements OnClickL
        EntityModifier.ensureKindExists(state, source, StructuredName.CONTENT_ITEM_TYPE);

        // Fill in the header info
        mHeaderColorBar.setBackgroundColor(source.getHeaderColor(mContext));
        mSideBar.setBackgroundColor(source.getSideBarColor(mContext));
        ValuesDelta values = state.getValues();
        String accountName = values.getAsString(RawContacts.ACCOUNT_NAME);
        CharSequence accountType = source.getDisplayLabel(mContext);
+0 −2
Original line number Diff line number Diff line
@@ -112,8 +112,6 @@ class ReadOnlyContactEditorView extends BaseContactEditorView {
        EntityModifier.ensureKindExists(state, source, StructuredName.CONTENT_ITEM_TYPE);

        // Fill in the header info
        mHeaderColorBar.setBackgroundColor(source.getHeaderColor(mContext));
        mSideBar.setBackgroundColor(source.getSideBarColor(mContext));
        ValuesDelta values = state.getValues();
        String accountName = values.getAsString(RawContacts.ACCOUNT_NAME);
        CharSequence accountType = source.getDisplayLabel(mContext);