AndroidAPS/wear/src/main/res/layout/action_editplusmin_quickrighty.xml

79 lines
2.8 KiB
XML
Raw Normal View History

2017-02-13 16:54:06 +01:00
<?xml version="1.0" encoding="utf-8"?>
2022-06-01 09:45:59 +02:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:gravity="center"
android:orientation="horizontal">
2017-02-13 16:54:06 +01:00
<LinearLayout
2022-06-01 09:45:59 +02:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2017-02-13 16:54:06 +01:00
android:layout_gravity="center"
2022-06-01 09:45:59 +02:00
android:gravity="center"
android:orientation="vertical">
2017-02-13 16:54:06 +01:00
2022-06-01 09:45:59 +02:00
<EditText
2022-06-26 13:17:16 +02:00
android:id="@+id/edit_text"
2017-02-13 16:54:06 +01:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
2022-06-01 09:45:59 +02:00
android:cursorVisible="false"
android:gravity="center_horizontal"
android:inputType="numberDecimal"
android:minWidth="100dp"
android:paddingTop="10dp"
android:textColor="@color/white"
android:textSize="45sp"
tools:text="112" />
2017-02-13 16:54:06 +01:00
2022-06-01 09:45:59 +02:00
<TextView
android:id="@+id/label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
2022-06-26 13:17:16 +02:00
android:labelFor="@+id/edit_text"
2022-06-01 09:45:59 +02:00
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@color/white"
android:textSize="25sp"
tools:ignore="LabelFor"
tools:text="label" />
2022-04-19 13:23:35 +02:00
2022-06-23 20:31:40 +02:00
<androidx.appcompat.widget.AppCompatImageButton
2022-06-28 09:49:39 +02:00
android:id="@+id/min_button"
2017-02-13 16:54:06 +01:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@drawable/circle"
2022-06-01 09:45:59 +02:00
android:backgroundTint="@color/white"
android:contentDescription="@string/decrement"
android:src="@drawable/ic_action_minus"
android:tint="@color/white" />
2022-04-19 13:23:35 +02:00
</LinearLayout>
2022-06-23 20:31:40 +02:00
<LinearLayout
android:layout_width="70dp"
2022-06-01 09:45:59 +02:00
android:layout_height="wrap_content"
android:layout_gravity="center"
2022-06-23 20:31:40 +02:00
android:layout_marginStart="-8dp"
android:orientation="vertical"
tools:visibility="visible">
<androidx.appcompat.widget.AppCompatImageButton
2022-06-26 13:17:16 +02:00
android:id="@+id/plus_button1"
2022-06-23 20:31:40 +02:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@drawable/circle"
android:backgroundTint="@color/white"
android:contentDescription="@string/increment"
android:src="@drawable/ic_action_add"
android:tint="@color/white" />
</LinearLayout>
2022-06-01 09:45:59 +02:00
</LinearLayout>