Files
rk35xx-android14/packages/apps/Contacts/res/layout/empty_home_view.xml
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

35 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/empty_home"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@color/empty_state_background"
android:visibility="gone">
<ImageView
android:id="@+id/empty_home_image"
android:layout_width="wrap_content"
android:layout_height="@dimen/empty_view_image_height"
android:scaleType="centerInside"
android:adjustViewBounds="true"
android:src="@drawable/home_empty"/>
<TextView
android:id="@+id/empty_home_view_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:paddingTop="@dimen/empty_home_view_text_padding_top"
android:text="@string/emptyMainList"
style="@style/EmptyStateTextStyle"/>
<Button
android:id="@+id/add_contact_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="@string/menu_addToGroup"
style="@style/AddContactsButtonStyle"/>
</LinearLayout>