friends_phone_contacts.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="vertical" android:layout_width="match_parent"
  4. android:layout_height="match_parent">
  5. <android.support.design.widget.AppBarLayout
  6. android:layout_width="match_parent"
  7. android:layout_height="wrap_content">
  8. <com.sheishuo.app.common.views.BaseToolbar
  9. android:id="@+id/toolbar"
  10. android:layout_width="match_parent"
  11. android:layout_height="@dimen/action_bar_height"
  12. style="@style/fullToolbarStyle"/>
  13. </android.support.design.widget.AppBarLayout>
  14. <LinearLayout
  15. android:layout_width="match_parent"
  16. android:layout_height="wrap_content"
  17. android:gravity="center"
  18. android:padding="8dp"
  19. android:background="@color/grey_light_light">
  20. <EditText
  21. android:id="@+id/friends_phone_contacts_search_ET"
  22. android:layout_width="300dp"
  23. android:layout_height="wrap_content"
  24. android:background="@drawable/shape_edittext_rc_solid_bg_white"
  25. android:hint="搜索用户名或ID"
  26. android:textColorHint="@color/grey_light_light"
  27. android:gravity="center"
  28. android:padding="4dp"
  29. android:maxLines="1"
  30. android:singleLine="true"/>
  31. </LinearLayout>
  32. <android.support.v7.widget.RecyclerView
  33. android:id="@+id/recyclerview"
  34. android:layout_width="match_parent"
  35. android:layout_height="match_parent"
  36. />
  37. </LinearLayout>