mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 07:01:05 +00:00
Added ignore tag
This commit is contained in:
parent
623bade43e
commit
eb7a02b0bd
2 changed files with 3 additions and 0 deletions
|
@ -760,6 +760,8 @@ public class Helper {
|
|||
static void setViewsEnabled(ViewGroup view, boolean enabled) {
|
||||
for (int i = 0; i < view.getChildCount(); i++) {
|
||||
View child = view.getChildAt(i);
|
||||
if ("ignore".equals(child.getTag()))
|
||||
continue;
|
||||
if (child instanceof Spinner ||
|
||||
child instanceof EditText ||
|
||||
child instanceof CheckBox ||
|
||||
|
|
|
@ -241,6 +241,7 @@
|
|||
android:layout_marginTop="12dp"
|
||||
android:background="?android:attr/selectableItemBackgroundBorderless"
|
||||
android:paddingEnd="12dp"
|
||||
android:tag="ignore"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/etPort"
|
||||
app:srcCompat="@drawable/twotone_settings_24" />
|
||||
|
|
Loading…
Reference in a new issue