Small layout improvements

pull/214/head
M66B 12 months ago
parent 4a030ac456
commit cc0e9434be

@ -631,6 +631,7 @@ public class FragmentAccount extends FragmentBase {
// Initialize
Helper.setViewsEnabled(view, false);
FragmentDialogTheme.setBackground(getContext(), view, false);
tvGmailHint.setVisibility(View.GONE);

@ -575,6 +575,7 @@ public class FragmentIdentity extends FragmentBase {
// Initialize
Helper.setViewsEnabled(view, false);
FragmentDialogTheme.setBackground(getContext(), view, false);
btnAutoConfig.setEnabled(false);
pbAutoConfig.setVisibility(View.GONE);

@ -363,6 +363,7 @@ public class FragmentPop extends FragmentBase {
// Initialize
Helper.setViewsEnabled(view, false);
FragmentDialogTheme.setBackground(getContext(), view, false);
if (!SSLHelper.customTrustManager()) {
Helper.hide(cbInsecure);

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:alpha="0.15" android:color="?attr/colorWarning" />
<item android:alpha="0.1" android:color="?attr/colorWarning" />
</selector>

@ -111,7 +111,7 @@
android:layout_height="wrap_content"
android:layout_marginHorizontal="3dp"
android:layout_marginTop="24dp"
app:cardBackgroundColor="@color/background_warning"
app:cardBackgroundColor="?attr/colorCardBackground"
app:cardCornerRadius="6dp"
app:cardElevation="0dp"
app:layout_constraintEnd_toEndOf="parent"
@ -121,7 +121,7 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingHorizontal="6dp"
android:paddingHorizontal="12dp"
android:paddingVertical="12dp">
<TextView
@ -130,6 +130,8 @@
android:layout_height="wrap_content"
android:text="@string/title_imap"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textColor="?android:textColorPrimary"
android:textStyle="bold"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />

@ -261,7 +261,7 @@
android:layout_height="wrap_content"
android:layout_marginHorizontal="3dp"
android:layout_marginTop="24dp"
app:cardBackgroundColor="@color/background_warning"
app:cardBackgroundColor="?attr/colorCardBackground"
app:cardCornerRadius="6dp"
app:cardElevation="0dp"
app:layout_constraintEnd_toEndOf="parent"
@ -271,7 +271,7 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingHorizontal="6dp"
android:paddingHorizontal="12dp"
android:paddingVertical="12dp">
<TextView
@ -280,6 +280,8 @@
android:layout_height="wrap_content"
android:text="@string/title_smtp"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textColor="?android:textColorPrimary"
android:textStyle="bold"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />

@ -54,7 +54,7 @@
android:layout_height="wrap_content"
android:layout_marginHorizontal="3dp"
android:layout_marginTop="24dp"
app:cardBackgroundColor="@color/background_warning"
app:cardBackgroundColor="?attr/colorCardBackground"
app:cardCornerRadius="6dp"
app:cardElevation="0dp"
app:layout_constraintEnd_toEndOf="parent"
@ -64,7 +64,7 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingHorizontal="6dp"
android:paddingHorizontal="12dp"
android:paddingVertical="12dp">
<TextView
@ -73,6 +73,8 @@
android:layout_height="wrap_content"
android:text="@string/title_pop3"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textColor="?android:textColorPrimary"
android:textStyle="bold"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />

Loading…
Cancel
Save