nim_picker_album_activity.xml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="@color/white">
  7. <android.support.design.widget.AppBarLayout
  8. android:id="@+id/app_bar_layout"
  9. android:layout_width="match_parent"
  10. android:layout_height="50dp"
  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. <FrameLayout
  22. android:layout_width="match_parent"
  23. android:layout_height="match_parent"
  24. android:layout_below="@id/app_bar_layout"
  25. android:layout_above="@+id/picker_bottombar">
  26. <FrameLayout
  27. android:id="@+id/picker_album_fragment"
  28. android:layout_width="match_parent"
  29. android:layout_height="match_parent"
  30. android:visibility="visible" />
  31. <FrameLayout
  32. android:id="@+id/picker_photos_fragment"
  33. android:layout_width="match_parent"
  34. android:layout_height="match_parent"
  35. android:visibility="gone" />
  36. </FrameLayout >
  37. <RelativeLayout
  38. android:id="@+id/picker_bottombar"
  39. android:layout_width="match_parent"
  40. android:layout_height="50dp"
  41. android:layout_alignParentBottom="true"
  42. android:background="#e6e6e6"
  43. android:visibility="visible">
  44. <TextView
  45. android:id="@+id/picker_bottombar_preview"
  46. android:layout_width="wrap_content"
  47. android:layout_height="wrap_content"
  48. android:enabled="false"
  49. android:layout_marginLeft="10dip"
  50. android:layout_marginRight="10dip"
  51. android:background="@drawable/nim_picker_preview_btn_selector"
  52. android:layout_alignParentLeft="true"
  53. android:layout_centerVertical="true"
  54. android:paddingLeft="8dip"
  55. android:paddingRight="8dip"
  56. android:gravity="center"
  57. android:text="@string/picker_image_preview"
  58. android:textColor="@color/color_picker_preview_selector"
  59. android:textSize="14.0sp"
  60. android:visibility="visible" />
  61. <TextView
  62. android:id="@+id/picker_bottombar_select"
  63. android:layout_width="wrap_content"
  64. android:layout_height="wrap_content"
  65. android:layout_alignParentRight="true"
  66. android:layout_centerVertical="true"
  67. android:layout_marginLeft="10dip"
  68. android:layout_marginRight="10dip"
  69. android:background="@drawable/nim_message_button_bottom_send_selector"
  70. android:enabled="false"
  71. android:gravity="center"
  72. android:paddingLeft="8dip"
  73. android:paddingRight="8dip"
  74. android:text="@string/picker_image_send"
  75. android:textColor="@color/white"
  76. android:textSize="14.0sp"
  77. android:visibility="visible" />
  78. </RelativeLayout>
  79. </RelativeLayout>