package net.ktnx.mobileledger.ui.templates;
+import android.annotation.SuppressLint;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.LayoutInflater;
(view) -> b.negateAmountSwitch.toggle();
b.templateDetailsNegateAmountLabel.setOnClickListener(negLabelClickListener);
b.templateDetailsNegateAmountText.setOnClickListener(negLabelClickListener);
+ manageAccountLabelDrag();
+ }
+ @SuppressLint("ClickableViewAccessibility")
+ public void manageAccountLabelDrag() {
b.patternAccountLabel.setOnTouchListener((v, event) -> {
if (event.getAction() == MotionEvent.ACTION_DOWN) {
itemTouchHelper.startDrag(this);
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintTop_toTopOf="parent"
+ android:clickable="false"
/>
<TextView
android:id="@+id/template_account_name_source_label"