Add dimension resource for empty state screen

This commit is contained in:
Chumva 2019-04-11 14:07:58 +03:00
parent 6624fefbde
commit e408570a93
2 changed files with 4 additions and 3 deletions

View file

@ -10,7 +10,7 @@
android:id="@+id/empty_state_background_image" android:id="@+id/empty_state_background_image"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="16dp" android:layout_marginBottom="@dimen/content_padding_standard"
android:scaleType="center" android:scaleType="center"
android:src="@drawable/img_empty_state_search" /> android:src="@drawable/img_empty_state_search" />
@ -27,8 +27,8 @@
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="68dp" android:layout_marginLeft="@dimen/empty_state_descr_margin"
android:layout_marginRight="68dp" android:layout_marginRight="@dimen/empty_state_descr_margin"
android:background="@null" android:background="@null"
android:gravity="center" android:gravity="center"
android:text="@string/search_contacts_descr" android:text="@string/search_contacts_descr"

View file

@ -60,6 +60,7 @@
<dimen name="disable_sharing_icon_top_margin">30dp</dimen> <dimen name="disable_sharing_icon_top_margin">30dp</dimen>
<dimen name="search_box_height">48dp</dimen> <dimen name="search_box_height">48dp</dimen>
<dimen name="empty_state_descr_margin">68dp</dimen>
<dimen name="buttons_bottom_bar_height">56dp</dimen> <dimen name="buttons_bottom_bar_height">56dp</dimen>