|
@@ -27,19 +27,24 @@
|
|
|
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">
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/textView3"
|
|
|
+ >
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:orientation="vertical">
|
|
|
+ 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"
|
|
@@ -50,6 +55,7 @@
|
|
|
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"
|
|
@@ -62,6 +68,7 @@
|
|
|
</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"
|
|
@@ -72,6 +79,7 @@
|
|
|
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"
|
|
@@ -84,6 +92,7 @@
|
|
|
</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"
|
|
@@ -94,6 +103,7 @@
|
|
|
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"
|
|
@@ -106,6 +116,7 @@
|
|
|
</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"
|
|
@@ -116,6 +127,7 @@
|
|
|
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"
|
|
@@ -128,6 +140,7 @@
|
|
|
</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"
|
|
@@ -138,6 +151,7 @@
|
|
|
android:layout_marginRight="32dp"
|
|
|
|
|
|
android:hint="Server Username"
|
|
|
+ app:startIconDrawable="@drawable/ic_mail_outline"
|
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
@@ -145,10 +159,72 @@
|
|
|
|
|
|
<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>
|