message_history_activity.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout android:id="@+id/messageActivityLayout"
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:background="@color/color_message_default_bg"
  8. android:orientation="vertical">
  9. <android.support.design.widget.AppBarLayout
  10. android:id="@+id/app_bar_layout"
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:theme="@style/AppTheme.AppBarOverlay"
  14. app:elevation="0dp">
  15. <android.support.v7.widget.Toolbar
  16. android:id="@+id/toolbar"
  17. android:layout_width="match_parent"
  18. android:layout_height="?attr/actionBarSize"
  19. android:background="?attr/colorPrimary"
  20. app:titleTextAppearance="@style/Toolbar.TitleText">
  21. </android.support.v7.widget.Toolbar>
  22. </android.support.design.widget.AppBarLayout>
  23. <FrameLayout
  24. android:id="@+id/message_activity_list_view_container"
  25. android:layout_width="match_parent"
  26. android:layout_height="0dip"
  27. android:layout_weight="1">
  28. <LinearLayout
  29. android:layout_width="match_parent"
  30. android:layout_height="match_parent"
  31. android:orientation="vertical">
  32. <android.support.v7.widget.RecyclerView
  33. android:id="@+id/messageListView"
  34. style="@style/recycler_view"
  35. android:layout_width="match_parent"
  36. android:layout_height="match_parent"
  37. />
  38. </LinearLayout>
  39. </FrameLayout>
  40. </LinearLayout>