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

Commit 9db59fe6 authored by Katherine Kuan's avatar Katherine Kuan
Browse files

Alignment tweaks in contact editor

- Multi-line address edit text field should now be
aligned with the spinner beside it

- Other misc alignment fixes

Bug: 5250070

Change-Id: I92b4b0d13cd1346227b95e7326a1c37ec68b066d
parent 7ec6cb02
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@
    android:layout_width="wrap_content"
    android:layout_height="@dimen/editor_min_line_item_height"
    android:layout_marginRight="2dip"
    android:layout_gravity="top">
    android:layout_gravity="bottom">
    <ImageView
        android:id="@+id/delete_button"
        android:layout_width="wrap_content"
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@
<Spinner
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/spinner"
    android:layout_gravity="top"
    android:layout_gravity="bottom"
    android:layout_width="@dimen/editor_type_label_width"
    android:layout_height="@dimen/editor_min_line_item_height"
    android:paddingLeft="0dip"
+2 −2
Original line number Diff line number Diff line
@@ -27,12 +27,12 @@
        style="?android:attr/spinnerStyle"
        android:id="@+id/group_list"
        android:layout_width="match_parent"
        android:layout_height="@dimen/editor_min_line_item_height"
        android:layout_height="wrap_content"
        android:minHeight="@dimen/editor_min_line_item_height"
        android:layout_marginLeft="@dimen/editor_field_left_padding"
        android:layout_marginRight="@dimen/editor_field_left_padding"
        android:textAppearance="?android:attr/textAppearanceMedium"
        android:gravity="left|center_vertical"
        android:ellipsize="end"
        android:focusable="true"
        android:paddingLeft="12dip" />

+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
    <dimen name="editor_type_label_width">122dip</dimen>
    <dimen name="editor_round_button_padding_left">16dip</dimen>
    <dimen name="editor_round_button_padding_right">16dip</dimen>
    <dimen name="editor_add_field_label_left_padding">24dip</dimen>
    <dimen name="editor_add_field_label_left_padding">16dip</dimen>
    <dimen name="detail_item_side_margin">0dip</dimen>
    <dimen name="detail_item_vertical_margin">16dip</dimen>
    <dimen name="detail_item_icon_margin">8dip</dimen>
+1 −0
Original line number Diff line number Diff line
@@ -16,4 +16,5 @@
<resources>
    <!-- Center vertically -->
    <dimen name="quick_contact_top_position">-1px</dimen>
    <dimen name="editor_type_label_width">120dip</dimen>
</resources>
Loading