nim_preview_image_from_camera_activity.xml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. xmlns:app="http://schemas.android.com/apk/res-auto"
  6. android:background="@color/black"
  7. android:orientation="vertical">
  8. <android.support.design.widget.AppBarLayout
  9. android:id="@+id/app_bar_layout"
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:theme="@style/AppTheme.AppBarOverlay"
  13. app:elevation="0dp">
  14. <android.support.v7.widget.Toolbar
  15. android:id="@+id/toolbar"
  16. android:layout_width="match_parent"
  17. android:layout_height="?attr/actionBarSize"
  18. android:background="?attr/colorPrimary"
  19. app:titleTextAppearance="@style/Toolbar.TitleText">
  20. <include layout="@layout/nim_action_bar_right_clickable_tv" />
  21. </android.support.v7.widget.Toolbar>
  22. </android.support.design.widget.AppBarLayout>
  23. <ImageView
  24. android:id="@+id/imageViewPreview"
  25. android:layout_width="fill_parent"
  26. android:layout_height="0dip"
  27. android:layout_weight="1"
  28. android:contentDescription="@string/empty" />
  29. <Button
  30. android:layout_marginBottom="20dp"
  31. android:id="@+id/buttonSend"
  32. android:layout_width="fill_parent"
  33. android:layout_height="wrap_content"
  34. android:layout_gravity="center"
  35. android:layout_marginLeft="10dip"
  36. android:layout_marginRight="10dip"
  37. android:background="@drawable/nim_message_button_bottom_send_selector"
  38. android:gravity="center"
  39. android:text="@string/send"
  40. android:textColor="@color/white"
  41. android:textSize="17sp" />
  42. </LinearLayout>