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

Commit 6afd44d3 authored by yaolu's avatar yaolu
Browse files

Set empty label view to new spec

Bug 30420455

Change-Id: I6406944af849457e90027aa9253bb417ad9df18c
parent 2b0d2982
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -10,8 +10,9 @@

    <ImageView
        android:id="@+id/empty_group_image"
        android:layout_width="@dimen/empty_group_view_image_width"
        android:layout_height="wrap_content"
        android:layout_width="wrap_content"
        android:layout_height="@dimen/empty_group_view_image_height"
        android:paddingTop="@dimen/empty_group_view_image_padding_top"
        android:scaleType="centerInside"
        android:adjustViewBounds="true"
        android:src="@drawable/label_empty"/>
+8 −4
Original line number Diff line number Diff line
@@ -19,9 +19,13 @@
    <dimen name="dialpad_digits_margin_bottom">50dip</dimen>
    <dimen name="editor_type_label_width">120dip</dimen>

    <!-- Top padding for the text for empty group view-->
    <dimen name="empty_group_view_text_padding_top">20dp</dimen>
    <!-- Top padding for the image for empty group view-->
    <dimen name="empty_group_view_image_padding_top">0dp</dimen>

    <!-- Width for the image for empty group view-->
    <dimen name="empty_group_view_image_width">176dp</dimen>
    <!-- Height for the image for empty group view-->
    <dimen name="empty_group_view_image_height">150dp</dimen>

    <!-- Top and Bottom padding for the text for empty group view-->
    <dimen name="empty_group_view_text_padding_top">14dp</dimen>
    <dimen name="empty_group_view_text_padding_bottom">10dp</dimen>
</resources>
+3 −0
Original line number Diff line number Diff line
@@ -16,4 +16,7 @@
<resources>
    <!-- Number of lines the QuickContact title can have -->
    <integer name="quickcontact_title_lines">2</integer>

    <!-- Top margin ratio for the image for empty group view-->
    <integer name="empty_group_view_image_margin">12</integer>
</resources>
+7 −0
Original line number Diff line number Diff line
@@ -18,4 +18,11 @@
    <dimen name="quick_contact_photo_container_height">180dip</dimen>
    <dimen name="detail_contact_photo_size">192dip</dimen>
    <dimen name="detail_contact_photo_margin">16dip</dimen>

    <!-- Height for the image for empty group view-->
    <dimen name="empty_group_view_image_height">180dp</dimen>

    <!-- Top and Bottom padding for the text for empty group view-->
    <dimen name="empty_group_view_text_padding_top">32dp</dimen>
    <dimen name="empty_group_view_text_padding_bottom">16dp</dimen>
</resources>
+3 −0
Original line number Diff line number Diff line
@@ -20,4 +20,7 @@
    <!-- Layout weight of ListViews in PeopleActivityfor tile favorites list and all
         contacts list in PeopleActivity -->
    <integer name="contact_list_card_layout_weight">6</integer>

    <!-- Top margin ratio for the image for empty group view-->
    <integer name="empty_group_view_image_margin">8</integer>
</resources>
Loading