nim_recent_contacts.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout android:id="@+id/messages_list_layout"
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent">
  6. <android.support.v7.widget.RecyclerView
  7. android:id="@+id/recycler_view"
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:cacheColorHint="@android:color/transparent"
  11. />
  12. <RelativeLayout
  13. android:id="@+id/emptyBg"
  14. android:layout_width="fill_parent"
  15. android:layout_height="fill_parent"
  16. android:layout_gravity="center"
  17. android:layout_marginBottom="50dp"
  18. android:visibility="gone">
  19. <ImageView
  20. android:id="@+id/emptyBg1"
  21. android:layout_width="wrap_content"
  22. android:layout_height="wrap_content"
  23. android:layout_centerInParent="true"
  24. android:contentDescription="@string/empty"
  25. android:src="@drawable/nim_messages_list_empty_bg"/>
  26. <TextView
  27. android:id="@+id/message_list_empty_hint"
  28. android:layout_width="fill_parent"
  29. android:layout_height="wrap_content"
  30. android:layout_below="@id/emptyBg1"
  31. android:layout_centerHorizontal="true"
  32. android:layout_marginTop="5dip"
  33. android:gravity="center"/>
  34. </RelativeLayout>
  35. </FrameLayout>