|
@@ -0,0 +1,199 @@
|
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:id="@+id/messageFragment"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ tools:context=".ui.show.MessageShowFragment">
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <androidx.cardview.widget.CardView
|
|
|
|
+ android:id="@+id/cardShowView"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="?attr/actionBarSize"
|
|
|
|
+ app:cardBackgroundColor="#5e35b1"
|
|
|
|
+ tools:ignore="MissingConstraints">
|
|
|
|
+
|
|
|
|
+ <RelativeLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
+
|
|
|
|
+ <ImageButton
|
|
|
|
+ android:id="@+id/show_message_close_button"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_centerVertical="true"
|
|
|
|
+ android:layout_marginLeft="0dp"
|
|
|
|
+ android:layout_marginStart="0dp"
|
|
|
|
+ android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
|
+ android:padding="8dp"
|
|
|
|
+ android:src="@mipmap/ic_close_purple" />
|
|
|
|
+
|
|
|
|
+ <ImageButton
|
|
|
|
+ android:id="@+id/show_message_dots_button"
|
|
|
|
+ android:layout_width="56dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+
|
|
|
|
+ android:layout_marginLeft="360dp"
|
|
|
|
+ android:layout_marginStart="360dp"
|
|
|
|
+ android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
|
+ android:padding="8dp"
|
|
|
|
+ android:src="@mipmap/ic_more_vert_dots_purple" />
|
|
|
|
+
|
|
|
|
+ <ImageButton
|
|
|
|
+ android:id="@+id/show_message_attach_button"
|
|
|
|
+ android:layout_width="56dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ android:layout_toEndOf="@id/show_message_dots_button"
|
|
|
|
+ android:layout_marginLeft="-110dp"
|
|
|
|
+ android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
|
+ android:padding="8dp"
|
|
|
|
+ android:src="@mipmap/ic_attach_purple"
|
|
|
|
+ android:layout_toRightOf="@id/show_message_dots_button"
|
|
|
|
+ android:layout_marginStart="-110dp" />
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ </RelativeLayout>
|
|
|
|
+ </androidx.cardview.widget.CardView>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <ScrollView
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ android:gravity="top">
|
|
|
|
+
|
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
|
+ android:id="@+id/show_message_sending_address_layout"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+
|
|
|
|
+ android:layout_marginStart="12dp"
|
|
|
|
+ android:layout_marginLeft="12dp"
|
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
|
+ android:layout_marginEnd="12dp"
|
|
|
|
+ android:layout_marginRight="12dp"
|
|
|
|
+ android:layout_marginBottom="12dp">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/show_From"
|
|
|
|
+ android:text="@string/show_from"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+
|
|
|
|
+ android:layout_marginStart="12dp"
|
|
|
|
+ android:layout_marginLeft="12dp"
|
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
|
+ android:layout_marginEnd="12dp"
|
|
|
|
+ android:layout_marginRight="12dp"
|
|
|
|
+ android:layout_marginBottom="12dp" />
|
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
|
+ android:id="@+id/show_message_receiving_address_layout"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+
|
|
|
|
+ android:layout_marginStart="12dp"
|
|
|
|
+ android:layout_marginLeft="12dp"
|
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
|
+ android:layout_marginEnd="12dp"
|
|
|
|
+ android:layout_marginRight="12dp"
|
|
|
|
+ android:layout_marginBottom="12dp">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/show_To"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginStart="12dp"
|
|
|
|
+
|
|
|
|
+ android:layout_marginLeft="12dp"
|
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
|
+ android:layout_marginEnd="12dp"
|
|
|
|
+ android:layout_marginRight="12dp"
|
|
|
|
+ android:layout_marginBottom="12dp"
|
|
|
|
+ android:hint="@string/show_To" />
|
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
|
+ android:id="@+id/show_message_subject_layout"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+
|
|
|
|
+ android:layout_marginStart="12dp"
|
|
|
|
+ android:layout_marginLeft="12dp"
|
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
|
+ android:layout_marginEnd="12dp"
|
|
|
|
+ android:layout_marginRight="12dp"
|
|
|
|
+ android:layout_marginBottom="12dp"
|
|
|
|
+
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/show_message_sending_address_layout"
|
|
|
|
+ tools:layout_editor_absoluteX="1dp">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/show_message_subject_text"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:hint="@string/show_subject"
|
|
|
|
+ android:inputType="textEmailSubject"
|
|
|
|
+
|
|
|
|
+ android:layout_marginStart="12dp"
|
|
|
|
+ android:layout_marginLeft="12dp"
|
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
|
+ android:layout_marginEnd="12dp"
|
|
|
|
+ android:layout_marginRight="12dp"
|
|
|
|
+ android:layout_marginBottom="12dp"/>
|
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
|
+
|
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
|
+ android:id="@+id/show_message_body_layout"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+
|
|
|
|
+ android:layout_marginStart="12dp"
|
|
|
|
+ android:layout_marginLeft="12dp"
|
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
|
+ android:layout_marginEnd="12dp"
|
|
|
|
+ android:layout_marginRight="12dp"
|
|
|
|
+ android:layout_marginBottom="12dp"
|
|
|
|
+
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/show_message_sending_address_layout"
|
|
|
|
+ tools:layout_editor_absoluteX="1dp">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/show_message_body_text"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:minHeight="160dp"
|
|
|
|
+ android:textAlignment="viewStart"
|
|
|
|
+ android:hint="Message ..."
|
|
|
|
+ android:inputType="textMultiLine"
|
|
|
|
+ android:gravity="start" />
|
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ </ScrollView>
|
|
|
|
+
|
|
|
|
+ <FrameLayout
|
|
|
|
+ android:id="@+id/show_Layout"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent" />
|
|
|
|
+
|
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|