|
@@ -0,0 +1,230 @@
|
|
|
+<?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">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textView3"
|
|
|
+
|
|
|
+ style="@style/TextAppearance.AppCompat.Widget.TextView.SpinnerItem"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="32dp"
|
|
|
+ android:layout_marginLeft="32dp"
|
|
|
+ android:layout_marginTop="32dp"
|
|
|
+ android:layout_marginEnd="32dp"
|
|
|
+ android:layout_marginRight="32dp"
|
|
|
+
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:text="Customizing Email Connection Settings"
|
|
|
+ android:textSize="24sp"
|
|
|
+
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <ScrollView
|
|
|
+ android:id="@+id/scrollView2"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginTop="128dp"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/textView3"
|
|
|
+ >
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_marginBottom="100dp"
|
|
|
+ >
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
+ android:id="@+id/custom_mail_server_incoming_server_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="32dp"
|
|
|
+ android:layout_marginLeft="32dp"
|
|
|
+ android:layout_marginTop="32dp"
|
|
|
+ android:layout_marginEnd="32dp"
|
|
|
+ android:layout_marginRight="32dp"
|
|
|
+
|
|
|
+ android:hint="Incoming Server"
|
|
|
+ app:startIconDrawable="@drawable/ic_baseline_call_received_24"
|
|
|
+
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="parent">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/custom_mail_server_incoming_server_text"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
+ android:id="@+id/custom_mail_server_outgoing_server_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="32dp"
|
|
|
+ android:layout_marginLeft="32dp"
|
|
|
+ android:layout_marginTop="32dp"
|
|
|
+ android:layout_marginEnd="32dp"
|
|
|
+ android:layout_marginRight="32dp"
|
|
|
+
|
|
|
+ android:hint="Outgoing Server"
|
|
|
+ app:startIconDrawable="@drawable/ic_baseline_call_made_24"
|
|
|
+
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/custom_mail_server_incoming_server_layout">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/custom_mail_server_outgoing_server_text"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
+ android:id="@+id/custom_mail_server_incoming_port_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="32dp"
|
|
|
+ android:layout_marginLeft="32dp"
|
|
|
+ android:layout_marginTop="32dp"
|
|
|
+ android:layout_marginEnd="32dp"
|
|
|
+ android:layout_marginRight="32dp"
|
|
|
+
|
|
|
+ android:hint="Incoming Port"
|
|
|
+ app:startIconDrawable="@drawable/ic_baseline_call_received_24"
|
|
|
+
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/custom_mail_server_outgoing_server_layout">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/custom_mail_server_incoming_port_text"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
+ android:id="@+id/custom_mail_server_outgoing_port_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="32dp"
|
|
|
+ android:layout_marginLeft="32dp"
|
|
|
+ android:layout_marginTop="32dp"
|
|
|
+ android:layout_marginEnd="32dp"
|
|
|
+ android:layout_marginRight="32dp"
|
|
|
+
|
|
|
+ android:hint="Outgoing Port"
|
|
|
+ app:startIconDrawable="@drawable/ic_baseline_call_made_24"
|
|
|
+
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/custom_mail_server_incoming_port_layout">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/custom_mail_server_outgoing_port_text"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
+ android:id="@+id/custom_mail_server_username_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="32dp"
|
|
|
+ android:layout_marginLeft="32dp"
|
|
|
+ android:layout_marginTop="32dp"
|
|
|
+ android:layout_marginEnd="32dp"
|
|
|
+ android:layout_marginRight="32dp"
|
|
|
+
|
|
|
+ android:hint="Server Username"
|
|
|
+ app:startIconDrawable="@drawable/ic_mail_outline"
|
|
|
+
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/custom_mail_server_outgoing_port_layout">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/custom_mail_server_username_text"
|
|
|
+ android:inputType="textEmailAddress"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
+ android:id="@+id/custom_mail_server_password_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="32dp"
|
|
|
+ android:layout_marginLeft="32dp"
|
|
|
+ android:layout_marginTop="32dp"
|
|
|
+ android:layout_marginEnd="32dp"
|
|
|
+ android:layout_marginRight="32dp"
|
|
|
+
|
|
|
+ android:hint="Server Password"
|
|
|
+ app:startIconDrawable="@drawable/ic_lock"
|
|
|
+
|
|
|
+ android:paddingBottom="50dp"
|
|
|
+
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/custom_mail_server_username_layout">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/custom_mail_server_password_text"
|
|
|
+ android:inputType="textPassword"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/cancelCustomizeButton"
|
|
|
+
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginStart="42dp"
|
|
|
+ android:layout_marginLeft="42dp"
|
|
|
+ android:text="Save" />
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/saveCustomizeButton"
|
|
|
+
|
|
|
+ android:layout_marginEnd="42dp"
|
|
|
+ android:layout_marginRight="42dp"
|
|
|
+
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignBottom="@+id/cancelCustomizeButton"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:text="Cancel" />
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </ScrollView>
|
|
|
+
|
|
|
+
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|