nim_team_member_grid_layout.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:layout_width="fill_parent"
  5. android:layout_height="fill_parent"
  6. android:orientation="vertical">
  7. <android.support.design.widget.AppBarLayout
  8. android:id="@+id/app_bar_layout"
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:theme="@style/AppTheme.AppBarOverlay"
  12. app:elevation="0dp">
  13. <android.support.v7.widget.Toolbar
  14. android:id="@+id/toolbar"
  15. android:layout_width="match_parent"
  16. android:layout_height="?attr/actionBarSize"
  17. android:background="?attr/colorPrimary"
  18. app:titleTextAppearance="@style/Toolbar.TitleText">
  19. </android.support.v7.widget.Toolbar>
  20. </android.support.design.widget.AppBarLayout>
  21. <ScrollView
  22. style="@style/scroll_view"
  23. android:layout_width="fill_parent"
  24. android:layout_height="fill_parent"
  25. android:background="@color/color_background"
  26. android:fillViewport="true"
  27. android:scrollbarStyle="outsideOverlay">
  28. <LinearLayout
  29. android:layout_width="match_parent"
  30. android:layout_height="match_parent"
  31. android:orientation="horizontal">
  32. <com.netease.nim.uikit.team.ui.TeamInfoGridView
  33. android:id="@+id/team_member_grid"
  34. style="@style/grid_view"
  35. android:layout_width="fill_parent"
  36. android:layout_height="wrap_content"
  37. android:background="@color/color_background"
  38. android:numColumns="4"
  39. android:paddingBottom="25dip"
  40. android:paddingLeft="12dip"
  41. android:paddingRight="12dip"
  42. android:paddingTop="16dip"
  43. android:verticalSpacing="16dip" />
  44. </LinearLayout>
  45. </ScrollView>
  46. </LinearLayout>