Focusable spinner

pull/215/head
M66B 6 months ago
parent 105f3fc491
commit 5799a99feb

@ -533,15 +533,6 @@ public class FragmentRule extends FragmentBase {
adapterAction.setDropDownViewResource(R.layout.spinner_item1_dropdown); adapterAction.setDropDownViewResource(R.layout.spinner_item1_dropdown);
spAction.setAdapter(adapterAction); spAction.setAdapter(adapterAction);
spAction.setFocusableInTouchMode(true);
spAction.setOnFocusChangeListener(new View.OnFocusChangeListener() {
@Override
public void onFocusChange(View v, boolean hasFocus) {
if (hasFocus && spAction.getWindowToken() != null)
spAction.performClick();
}
});
btnFolder.setOnClickListener(new View.OnClickListener() { btnFolder.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View v) { public void onClick(View v) {

@ -0,0 +1,76 @@
package eu.faircode.email;
/*
This file is part of FairEmail.
FairEmail is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
FairEmail is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with FairEmail. If not, see <http://www.gnu.org/licenses/>.
Copyright 2018-2024 by Marcel Bokhorst (M66B)
*/
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.widget.Spinner;
import androidx.annotation.Nullable;
public class SpinnerEx extends Spinner {
public SpinnerEx(Context context) {
super(context);
init(context);
}
public SpinnerEx(Context context, int mode) {
super(context, mode);
init(context);
}
public SpinnerEx(Context context, AttributeSet attrs) {
super(context, attrs);
init(context);
}
public SpinnerEx(Context context, AttributeSet attrs, int defStyleAttr) {
super(context, attrs, defStyleAttr);
init(context);
}
public SpinnerEx(Context context, AttributeSet attrs, int defStyleAttr, int mode) {
super(context, attrs, defStyleAttr, mode);
init(context);
}
public SpinnerEx(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes, int mode) {
super(context, attrs, defStyleAttr, defStyleRes, mode);
init(context);
}
public SpinnerEx(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes, int mode, Resources.Theme popupTheme) {
super(context, attrs, defStyleAttr, defStyleRes, mode, popupTheme);
init(context);
}
private void init(Context context) {
this.setFocusableInTouchMode(true);
}
@Override
protected void onFocusChanged(boolean gainFocus, int direction, @Nullable Rect previouslyFocusedRect) {
super.onFocusChanged(gainFocus, direction, previouslyFocusedRect);
if (gainFocus && getWindowToken() != null)
performClick();
}
}

@ -22,7 +22,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spAccount" android:id="@+id/spAccount"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -40,7 +40,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spAccount" /> app:layout_constraintTop_toBottomOf="@id/spAccount" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spFolder" android:id="@+id/spFolder"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -164,7 +164,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/cbTop" /> app:layout_constraintTop_toBottomOf="@id/cbTop" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spFontSize" android:id="@+id/spFontSize"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -22,7 +22,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spAccount" android:id="@+id/spAccount"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -40,7 +40,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spAccount" /> app:layout_constraintTop_toBottomOf="@id/spAccount" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spFolder" android:id="@+id/spFolder"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -155,7 +155,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/cbSeparatorLines" /> app:layout_constraintTop_toBottomOf="@id/cbSeparatorLines" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spFontSize" android:id="@+id/spFontSize"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -173,7 +173,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spFontSize" /> app:layout_constraintTop_toBottomOf="@id/spFontSize" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spPadding" android:id="@+id/spPadding"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -193,7 +193,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spPadding" /> app:layout_constraintTop_toBottomOf="@id/spPadding" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spSubjectLines" android:id="@+id/spSubjectLines"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -96,7 +96,7 @@
app:layout_constraintTop_toBottomOf="@id/rgAction" app:layout_constraintTop_toBottomOf="@id/rgAction"
app:srcCompat="@drawable/twotone_info_24" /> app:srcCompat="@drawable/twotone_info_24" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spResize" android:id="@+id/spResize"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -36,7 +36,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tvCaption" /> app:layout_constraintTop_toBottomOf="@+id/tvCaption" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spAnswerActionSingle" android:id="@+id/spAnswerActionSingle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -57,7 +57,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spAnswerActionSingle" /> app:layout_constraintTop_toBottomOf="@id/spAnswerActionSingle" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spAnswerActionLong" android:id="@+id/spAnswerActionLong"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -36,7 +36,7 @@
app:srcCompat="@drawable/twotone_info_24" app:srcCompat="@drawable/twotone_info_24"
app:tint="?attr/colorAccent" /> app:tint="?attr/colorAccent" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spTarget" android:id="@+id/spTarget"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -46,7 +46,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvGroup" /> app:layout_constraintTop_toBottomOf="@id/tvGroup" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spGroup" android:id="@+id/spGroup"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -55,7 +55,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spTarget" /> app:layout_constraintTop_toBottomOf="@id/spTarget" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spType" android:id="@+id/spType"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -80,7 +80,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tvIssueRemark" /> app:layout_constraintTop_toBottomOf="@+id/tvIssueRemark" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spAccount" android:id="@+id/spAccount"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -17,7 +17,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spType" android:id="@+id/spType"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -50,7 +50,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/etName" /> app:layout_constraintTop_toBottomOf="@id/etName" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spParent" android:id="@+id/spParent"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -32,7 +32,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvIdentity" /> app:layout_constraintTop_toBottomOf="@id/tvIdentity" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spIdentity" android:id="@+id/spIdentity"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -227,7 +227,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/cbNeverAgain" /> app:layout_constraintTop_toBottomOf="@id/cbNeverAgain" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spOpenWith" android:id="@+id/spOpenWith"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -509,7 +509,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/cbAttachments" /> app:layout_constraintTop_toBottomOf="@id/cbAttachments" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spMessageSize" android:id="@+id/spMessageSize"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -401,7 +401,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvReceiptHint" /> app:layout_constraintTop_toBottomOf="@id/tvReceiptHint" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spEncrypt" android:id="@+id/spEncrypt"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -440,7 +440,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spEncrypt" /> app:layout_constraintTop_toBottomOf="@id/spEncrypt" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spPriority" android:id="@+id/spPriority"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -464,7 +464,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spPriority" /> app:layout_constraintTop_toBottomOf="@id/spPriority" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spSensitivity" android:id="@+id/spSensitivity"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -41,7 +41,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tvHint" /> app:layout_constraintTop_toBottomOf="@+id/tvHint" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spLeft" android:id="@+id/spLeft"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -60,7 +60,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/spLeft" /> app:layout_constraintTop_toBottomOf="@+id/spLeft" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spRight" android:id="@+id/spRight"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -40,7 +40,7 @@
app:layout_constraintTop_toTopOf="@id/tvTitle" app:layout_constraintTop_toTopOf="@id/tvTitle"
app:srcCompat="@drawable/twotone_select_all_24" /> app:srcCompat="@drawable/twotone_select_all_24" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spLanguage" android:id="@+id/spLanguage"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -27,7 +27,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spProvider" android:id="@+id/spProvider"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -1036,7 +1036,7 @@
app:barrierDirection="end" app:barrierDirection="end"
app:constraint_referenced_ids="tvDrafts,tvSent,tvArchive,tvTrash,tvJunk,tvLeft,tvRight,tvMove" /> app:constraint_referenced_ids="tvDrafts,tvSent,tvArchive,tvTrash,tvJunk,tvLeft,tvRight,tvMove" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spDrafts" android:id="@+id/spDrafts"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -1057,7 +1057,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spDrafts" /> app:layout_constraintTop_toBottomOf="@id/spDrafts" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spSent" android:id="@+id/spSent"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -1080,7 +1080,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spSent" /> app:layout_constraintTop_toBottomOf="@id/spSent" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spArchive" android:id="@+id/spArchive"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -1091,7 +1091,7 @@
app:layout_constraintStart_toEndOf="@id/barrier_folders" app:layout_constraintStart_toEndOf="@id/barrier_folders"
app:layout_constraintTop_toBottomOf="@id/tvSentWarning" /> app:layout_constraintTop_toBottomOf="@id/tvSentWarning" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spTrash" android:id="@+id/spTrash"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -1102,7 +1102,7 @@
app:layout_constraintStart_toEndOf="@id/barrier_folders" app:layout_constraintStart_toEndOf="@id/barrier_folders"
app:layout_constraintTop_toBottomOf="@id/spArchive" /> app:layout_constraintTop_toBottomOf="@id/spArchive" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spJunk" android:id="@+id/spJunk"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -1122,7 +1122,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spJunk" /> app:layout_constraintTop_toBottomOf="@id/spJunk" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spLeft" android:id="@+id/spLeft"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -1133,7 +1133,7 @@
app:layout_constraintStart_toEndOf="@id/barrier_folders" app:layout_constraintStart_toEndOf="@id/barrier_folders"
app:layout_constraintTop_toBottomOf="@id/vSeparatorSwipe" /> app:layout_constraintTop_toBottomOf="@id/vSeparatorSwipe" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spRight" android:id="@+id/spRight"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -1153,7 +1153,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spRight" /> app:layout_constraintTop_toBottomOf="@id/spRight" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spMove" android:id="@+id/spMove"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -30,7 +30,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spIdentity" android:id="@+id/spIdentity"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -27,7 +27,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spAccount" android:id="@+id/spAccount"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -188,7 +188,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/btnAdvanced" /> app:layout_constraintTop_toBottomOf="@id/btnAdvanced" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spProvider" android:id="@+id/spProvider"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -1004,7 +1004,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/cbEncryptDefault" /> app:layout_constraintTop_toBottomOf="@id/cbEncryptDefault" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spReceiptType" android:id="@+id/spReceiptType"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -1023,7 +1023,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spReceiptType" /> app:layout_constraintTop_toBottomOf="@id/spReceiptType" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spSensitivity" android:id="@+id/spSensitivity"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -587,7 +587,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swCollapseMultiple" /> app:layout_constraintTop_toBottomOf="@id/swCollapseMultiple" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spSeenDelay" android:id="@+id/spSeenDelay"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -649,7 +649,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvAutoCloseHint" /> app:layout_constraintTop_toBottomOf="@id/tvAutoCloseHint" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spOnClose" android:id="@+id/spOnClose"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -707,7 +707,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swCollapseMarked" /> app:layout_constraintTop_toBottomOf="@id/swCollapseMarked" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spUndoTimeout" android:id="@+id/spUndoTimeout"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -125,7 +125,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvMeteredWarning" /> app:layout_constraintTop_toBottomOf="@id/tvMeteredWarning" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spDownload" android:id="@+id/spDownload"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -112,7 +112,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/btnTheme" /> app:layout_constraintTop_toBottomOf="@id/btnTheme" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spStartup" android:id="@+id/spStartup"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -405,7 +405,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvPortrait2cHint" /> app:layout_constraintTop_toBottomOf="@id/tvPortrait2cHint" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spPortraitMinSize" android:id="@+id/spPortraitMinSize"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -482,7 +482,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvLandscapeHint" /> app:layout_constraintTop_toBottomOf="@id/tvLandscapeHint" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spLandscapeMinSize" android:id="@+id/spLandscapeMinSize"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -1353,7 +1353,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/vSeparatorSender" /> app:layout_constraintTop_toBottomOf="@id/vSeparatorSender" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spNameEmail" android:id="@+id/spNameEmail"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -1444,7 +1444,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swReverseAddresses" /> app:layout_constraintTop_toBottomOf="@id/swReverseAddresses" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spFontSizeSender" android:id="@+id/spFontSizeSender"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -1465,7 +1465,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spFontSizeSender" /> app:layout_constraintTop_toBottomOf="@id/spFontSizeSender" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spSenderEllipsize" android:id="@+id/spSenderEllipsize"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -1556,7 +1556,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvHighlightSubjectHint" /> app:layout_constraintTop_toBottomOf="@id/tvHighlightSubjectHint" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spFontSizeSubject" android:id="@+id/spFontSizeSubject"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -1577,7 +1577,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spFontSizeSubject" /> app:layout_constraintTop_toBottomOf="@id/spFontSizeSubject" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spSubjectEllipsize" android:id="@+id/spSubjectEllipsize"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -1703,7 +1703,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swPreviewItalic" /> app:layout_constraintTop_toBottomOf="@id/swPreviewItalic" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spPreviewLines" android:id="@+id/spPreviewLines"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -1931,7 +1931,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvHyphenationHint" /> app:layout_constraintTop_toBottomOf="@id/tvHyphenationHint" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spDisplayFont" android:id="@+id/spDisplayFont"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -230,7 +230,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvCaptionPgp" /> app:layout_constraintTop_toBottomOf="@id/tvCaptionPgp" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spOpenPgp" android:id="@+id/spOpenPgp"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -356,7 +356,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvCaptionSmime" /> app:layout_constraintTop_toBottomOf="@id/tvCaptionSmime" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spSignAlgoSmime" android:id="@+id/spSignAlgoSmime"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -378,7 +378,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spSignAlgoSmime" /> app:layout_constraintTop_toBottomOf="@id/spSignAlgoSmime" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spEncryptAlgoSmime" android:id="@+id/spEncryptAlgoSmime"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -357,7 +357,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swHapticFeedback" /> app:layout_constraintTop_toBottomOf="@id/swHapticFeedback" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spLanguage" android:id="@+id/spLanguage"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -397,7 +397,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swAutoLockNav" /> app:layout_constraintTop_toBottomOf="@id/swAutoLockNav" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spBiometricsTimeout" android:id="@+id/spBiometricsTimeout"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -424,7 +424,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swDiscardDelete" /> app:layout_constraintTop_toBottomOf="@id/swDiscardDelete" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spSendDelayed" android:id="@+id/spSendDelayed"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -446,7 +446,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spSendDelayed" /> app:layout_constraintTop_toBottomOf="@id/spSendDelayed" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spAnswerActionSingle" android:id="@+id/spAnswerActionSingle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -468,7 +468,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spAnswerActionSingle" /> app:layout_constraintTop_toBottomOf="@id/spAnswerActionSingle" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spAnswerActionLong" android:id="@+id/spAnswerActionLong"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -558,7 +558,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvComposeColorHint" /> app:layout_constraintTop_toBottomOf="@id/tvComposeColorHint" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spComposeFont" android:id="@+id/spComposeFont"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -779,7 +779,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swResizePaste" /> app:layout_constraintTop_toBottomOf="@id/swResizePaste" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spSignatureLocation" android:id="@+id/spSignatureLocation"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -1036,7 +1036,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swReceipt" /> app:layout_constraintTop_toBottomOf="@id/swReceipt" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spReceiptType" android:id="@+id/spReceiptType"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -192,7 +192,7 @@
app:layout_constraintTop_toTopOf="@id/tvOptimizeHint" app:layout_constraintTop_toTopOf="@id/tvOptimizeHint"
app:srcCompat="@drawable/twotone_info_24" /> app:srcCompat="@drawable/twotone_info_24" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spPollInterval" android:id="@+id/spPollInterval"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -751,7 +751,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/cbVpnOnly" /> app:layout_constraintTop_toBottomOf="@+id/cbVpnOnly" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spLeft" android:id="@+id/spLeft"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -769,7 +769,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/spLeft" /> app:layout_constraintTop_toBottomOf="@+id/spLeft" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spRight" android:id="@+id/spRight"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -741,7 +741,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/vSeparatorSchedule" /> app:layout_constraintTop_toBottomOf="@id/vSeparatorSchedule" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spScheduleDayStart" android:id="@+id/spScheduleDayStart"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -750,7 +750,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/tvScheduleHourStart" /> app:layout_constraintTop_toTopOf="@+id/tvScheduleHourStart" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spScheduleDayEnd" android:id="@+id/spScheduleDayEnd"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -902,7 +902,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvAction" /> app:layout_constraintTop_toBottomOf="@id/tvAction" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spAction" android:id="@+id/spAction"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -987,7 +987,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvColor" /> app:layout_constraintTop_toBottomOf="@id/tvColor" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spImportance" android:id="@+id/spImportance"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -1121,7 +1121,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/cbMoveThread" /> app:layout_constraintTop_toBottomOf="@+id/cbMoveThread" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spIdent" android:id="@+id/spIdent"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -1139,7 +1139,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/spIdent" /> app:layout_constraintTop_toBottomOf="@+id/spIdent" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spAnswer" android:id="@+id/spAnswer"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -1416,7 +1416,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/btnColorNotes" /> app:layout_constraintTop_toBottomOf="@id/btnColorNotes" />
<Spinner <eu.faircode.email.SpinnerEx
android:id="@+id/spUrlMethod" android:id="@+id/spUrlMethod"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"

Loading…
Cancel
Save