message_show_fragment.xml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:id="@+id/messageFragment"
  8. android:orientation="vertical"
  9. tools:context=".ui.show.MessageShowFragment">
  10. <androidx.cardview.widget.CardView
  11. android:id="@+id/cardShowView"
  12. android:layout_width="match_parent"
  13. android:layout_height="?attr/actionBarSize"
  14. app:cardBackgroundColor="#5e35b1"
  15. tools:ignore="MissingConstraints">
  16. <RelativeLayout
  17. android:layout_width="match_parent"
  18. android:layout_height="match_parent">
  19. <ImageButton
  20. android:id="@+id/show_message_close_button"
  21. android:layout_width="wrap_content"
  22. android:layout_height="wrap_content"
  23. android:layout_centerVertical="true"
  24. android:layout_marginLeft="0dp"
  25. android:layout_marginStart="0dp"
  26. android:background="?attr/selectableItemBackgroundBorderless"
  27. android:padding="8dp"
  28. android:src="@mipmap/ic_close_purple" />
  29. <ImageButton
  30. android:id="@+id/show_message_dots_button"
  31. android:layout_width="56dp"
  32. android:layout_height="match_parent"
  33. android:layout_marginLeft="360dp"
  34. android:layout_marginStart="360dp"
  35. android:background="?attr/selectableItemBackgroundBorderless"
  36. android:padding="8dp"
  37. android:src="@mipmap/ic_more_vert_dots_purple" />
  38. <ImageButton
  39. android:id="@+id/show_message_attach_button"
  40. android:layout_width="56dp"
  41. android:layout_height="match_parent"
  42. android:layout_toEndOf="@id/show_message_dots_button"
  43. android:layout_marginLeft="-110dp"
  44. android:background="?attr/selectableItemBackgroundBorderless"
  45. android:padding="8dp"
  46. android:src="@mipmap/ic_attach_purple"
  47. android:layout_toRightOf="@id/show_message_dots_button"
  48. android:layout_marginStart="-110dp" />
  49. </RelativeLayout>
  50. </androidx.cardview.widget.CardView>
  51. <ScrollView
  52. android:layout_width="match_parent"
  53. android:layout_height="match_parent">
  54. <LinearLayout
  55. android:layout_width="match_parent"
  56. android:layout_height="wrap_content"
  57. android:orientation="vertical"
  58. android:gravity="top">
  59. <TextView
  60. android:id="@+id/show_From"
  61. android:layout_width="match_parent"
  62. android:layout_height="wrap_content"
  63. android:layout_marginStart="12dp"
  64. android:layout_marginLeft="12dp"
  65. android:layout_marginTop="12dp"
  66. android:layout_marginEnd="12dp"
  67. android:layout_marginRight="12dp"
  68. android:layout_marginBottom="12dp" />
  69. <com.google.android.material.textfield.TextInputLayout
  70. style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
  71. android:id="@+id/show_message_receiving_address_layout"
  72. android:layout_width="match_parent"
  73. android:layout_height="wrap_content"
  74. android:layout_marginStart="12dp"
  75. android:layout_marginLeft="12dp"
  76. android:layout_marginTop="12dp"
  77. android:layout_marginEnd="12dp"
  78. android:layout_marginRight="12dp"
  79. android:layout_marginBottom="12dp">
  80. <TextView
  81. android:id="@+id/show_To"
  82. android:layout_width="match_parent"
  83. android:layout_height="wrap_content"
  84. android:layout_marginStart="12dp"
  85. android:layout_marginLeft="12dp"
  86. android:layout_marginTop="12dp"
  87. android:layout_marginEnd="12dp"
  88. android:layout_marginRight="12dp"
  89. android:layout_marginBottom="12dp" />
  90. </com.google.android.material.textfield.TextInputLayout>
  91. <com.google.android.material.textfield.TextInputLayout
  92. style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
  93. android:id="@+id/show_message_subject_layout"
  94. android:layout_width="match_parent"
  95. android:layout_height="wrap_content"
  96. android:layout_marginStart="12dp"
  97. android:layout_marginLeft="12dp"
  98. android:layout_marginTop="12dp"
  99. android:layout_marginEnd="12dp"
  100. android:layout_marginRight="12dp"
  101. android:layout_marginBottom="12dp"
  102. app:layout_constraintTop_toBottomOf="@+id/show_message_sending_address_layout"
  103. tools:layout_editor_absoluteX="1dp">
  104. <TextView
  105. android:id="@+id/show_Subject"
  106. android:layout_width="match_parent"
  107. android:layout_height="match_parent"
  108. android:layout_marginStart="12dp"
  109. android:layout_marginLeft="12dp"
  110. android:layout_marginTop="12dp"
  111. android:layout_marginEnd="12dp"
  112. android:layout_marginRight="12dp"
  113. android:layout_marginBottom="12dp"/>
  114. </com.google.android.material.textfield.TextInputLayout>
  115. <com.google.android.material.textfield.TextInputLayout
  116. style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
  117. android:id="@+id/show_message_body_layout"
  118. android:layout_width="match_parent"
  119. android:layout_height="wrap_content"
  120. android:layout_marginStart="12dp"
  121. android:layout_marginLeft="12dp"
  122. android:layout_marginTop="12dp"
  123. android:layout_marginEnd="12dp"
  124. android:layout_marginRight="12dp"
  125. android:layout_marginBottom="12dp"
  126. app:layout_constraintTop_toBottomOf="@+id/show_message_sending_address_layout"
  127. tools:layout_editor_absoluteX="1dp">
  128. <TextView
  129. android:id="@+id/show_Message"
  130. android:layout_width="match_parent"
  131. android:layout_height="wrap_content"
  132. android:minHeight="160dp"
  133. android:textAlignment="viewStart"
  134. android:gravity="start" />
  135. </com.google.android.material.textfield.TextInputLayout>
  136. </LinearLayout>
  137. </ScrollView>
  138. <FrameLayout
  139. android:id="@+id/show_Layout"
  140. android:layout_width="match_parent"
  141. android:layout_height="match_parent" />
  142. </LinearLayout>