diff --git a/wear/src/main/java/info/nightscout/androidaps/interaction/utils/EditPlusMinusViewAdapter.kt b/wear/src/main/java/info/nightscout/androidaps/interaction/utils/EditPlusMinusViewAdapter.kt
index a1de3f1e9d..81c343db74 100644
--- a/wear/src/main/java/info/nightscout/androidaps/interaction/utils/EditPlusMinusViewAdapter.kt
+++ b/wear/src/main/java/info/nightscout/androidaps/interaction/utils/EditPlusMinusViewAdapter.kt
@@ -36,8 +36,8 @@ class EditPlusMinusViewAdapter(
val editText =
eD?.editText ?: eDP?.editText ?: eQL?.editText ?: eQLP?.editText ?: eQR?.editText ?: eQRP?.editText ?: eV?.editText
?: throw IllegalArgumentException("Missing require View Binding parameter display")
- val minusButton =
- eD?.minusButton ?: eDP?.minusButton ?: eQL?.minusButton ?: eQLP?.minusButton ?: eQR?.minusButton ?: eQRP?.minusButton ?: eV?.minusButton
+ val minButton =
+ eD?.minButton ?: eDP?.minButton ?: eQL?.minButton ?: eQLP?.minButton ?: eQR?.minButton ?: eQRP?.minButton ?: eV?.minButton
?: throw IllegalArgumentException("Missing require View Binding parameter display")
val plusButton1 =
eD?.plusButton1 ?: eDP?.plusButton1 ?: eQL?.plusButton1 ?: eQLP?.plusButton1 ?: eQR?.plusButton1 ?: eQRP?.plusButton1 ?: eV?.plusButton1
diff --git a/wear/src/main/java/info/nightscout/androidaps/interaction/utils/PlusMinusEditText.kt b/wear/src/main/java/info/nightscout/androidaps/interaction/utils/PlusMinusEditText.kt
index 2430c9e677..f3af7a89eb 100644
--- a/wear/src/main/java/info/nightscout/androidaps/interaction/utils/PlusMinusEditText.kt
+++ b/wear/src/main/java/info/nightscout/androidaps/interaction/utils/PlusMinusEditText.kt
@@ -253,9 +253,9 @@ import java.util.concurrent.TimeUnit
editText.showSoftInputOnFocus = false
editText.setTextIsSelectable(false)
- binding.minusButton.setOnTouchListener(this)
- binding.minusButton.setOnKeyListener(this)
- binding.minusButton.setOnClickListener(this)
+ binding.minButton.setOnTouchListener(this)
+ binding.minButton.setOnKeyListener(this)
+ binding.minButton.setOnClickListener(this)
binding.plusButton1.setOnTouchListener(this)
binding.plusButton1.setOnKeyListener(this)
binding.plusButton1.setOnClickListener(this)
diff --git a/wear/src/main/res/layout/action_editplusminus_item.xml b/wear/src/main/res/layout/action_editplusminus_item.xml
index 75c3b21594..5360d811dd 100644
--- a/wear/src/main/res/layout/action_editplusminus_item.xml
+++ b/wear/src/main/res/layout/action_editplusminus_item.xml
@@ -1,131 +1,67 @@
-
-
-
-
-
-
-
+ android:layout_height="match_parent"
+ android:layout_gravity="center"
+ android:gravity="center"
+ android:orientation="horizontal">
+ android:tint="@color/white" />
-
-
-
-
-
+ android:orientation="vertical">
-
+
+
+
+
+
+ android:tint="@color/white" />
-
+
diff --git a/wear/src/main/res/layout/action_editplusminus_item_plus.xml b/wear/src/main/res/layout/action_editplusminus_item_plus.xml
index 18ea44cc13..2cbf3a620c 100644
--- a/wear/src/main/res/layout/action_editplusminus_item_plus.xml
+++ b/wear/src/main/res/layout/action_editplusminus_item_plus.xml
@@ -18,13 +18,13 @@
android:id="@+id/edit_text"
android:layout_width="0dp"
android:layout_height="wrap_content"
- android:layout_marginTop="-6dp"
android:layout_marginHorizontal="10dp"
+ android:layout_marginTop="-6dp"
android:cursorVisible="false"
+ android:gravity="center"
android:inputType="numberDecimal"
android:textColor="@color/white"
android:textSize="40sp"
- android:gravity="center"
app:layout_constraintEnd_toEndOf="@+id/value_background"
app:layout_constraintStart_toStartOf="@+id/value_background"
app:layout_constraintTop_toTopOf="@+id/value_background"
@@ -34,8 +34,8 @@
android:id="@+id/label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginTop="-10dp"
android:layout_below="@+id/edit_text"
+ android:layout_marginTop="-10dp"
android:gravity="center"
android:labelFor="@+id/edit_text"
android:textColor="@color/white"
@@ -47,7 +47,7 @@
tools:text="label" />
-
@@ -89,26 +89,25 @@
android:textSize="30sp"
app:layout_constraintBottom_toTopOf="@+id/plus_button1"
app:layout_constraintCircle="@+id/center"
- app:layout_constraintCircleAngle="270"
- app:layout_constraintCircleRadius="65dp"
+ app:layout_constraintCircleAngle="90"
+ app:layout_constraintCircleRadius="70dp"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/plus_button3"
tools:text="+5" />
+ app:layout_constraintBottom_toTopOf="@+id/min_button"
+ app:layout_constraintCircle="@+id/center"
+ app:layout_constraintCircleAngle="305"
+ app:layout_constraintCircleRadius="40dp"
+ app:layout_constraintRight_toLeftOf="@id/plus_button1" />
diff --git a/wear/src/main/res/layout/action_editplusminus_item_quickrighty.xml b/wear/src/main/res/layout/action_editplusminus_item_quickrighty.xml
index d2e7950a05..16daa2e8c6 100644
--- a/wear/src/main/res/layout/action_editplusminus_item_quickrighty.xml
+++ b/wear/src/main/res/layout/action_editplusminus_item_quickrighty.xml
@@ -42,7 +42,7 @@
tools:text="label" />
+ android:background="@drawable/circle"
+ android:backgroundTint="@color/gray_700"
+ android:contentDescription="@string/increment"
+ app:layout_constraintBottom_toTopOf="@+id/min_button"
+ app:layout_constraintCircle="@+id/center"
+ app:layout_constraintCircleAngle="305"
+ app:layout_constraintCircleRadius="40dp"
+ app:layout_constraintRight_toLeftOf="@id/plus_button1" />
+ tools:text="label" />
-
-