nim_preview_image_from_camera_activity.xml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. <View
  15. android:id="@+id/statusBar"
  16. android:layout_width="match_parent"
  17. android:layout_height="20dp"/>
  18. <android.support.v7.widget.Toolbar
  19. android:id="@+id/toolbar"
  20. android:layout_width="match_parent"
  21. android:layout_height="?attr/actionBarSize"
  22. android:background="?attr/colorPrimary"
  23. app:titleTextAppearance="@style/Toolbar.TitleText">
  24. <include layout="@layout/nim_action_bar_right_clickable_tv" />
  25. </android.support.v7.widget.Toolbar>
  26. </android.support.design.widget.AppBarLayout>
  27. <ImageView
  28. android:id="@+id/imageViewPreview"
  29. android:layout_width="fill_parent"
  30. android:layout_height="0dip"
  31. android:layout_weight="1"
  32. android:contentDescription="@string/empty" />
  33. <Button
  34. android:layout_marginBottom="20dp"
  35. android:id="@+id/buttonSend"
  36. android:layout_width="fill_parent"
  37. android:layout_height="wrap_content"
  38. android:layout_gravity="center"
  39. android:layout_marginLeft="10dip"
  40. android:layout_marginRight="10dip"
  41. android:background="@drawable/nim_message_button_bottom_send_selector"
  42. android:gravity="center"
  43. android:text="@string/send"
  44. android:textColor="@color/white"
  45. android:textSize="17sp" />
  46. </LinearLayout>